* Tony Arnold <[email protected]> [08-14-20 11:46]:
> I've not used DT for while and now when I try to run it I get asked if
> I want to upgrade the database, but this fails.
> 
> Running DT from a terminal, I get the following messages:
> 
> $ darktable
> [init] can't rename i to images
> [init]   error in view empty_film_rolls: no such table: main.images
> [init] database `library.db' couldn't be upgraded from version 21 to
> 30. aborting
> ERROR : cannot open database
> 
> I have DT version 3.2.1 installed.

guessing here but perhaps someone more knowledgeable will responed.

you have skipped several versions of dt?

make a backup of your library.db
run
   sqlite3 ./library.db "PRAGMA integrity_check"
   sqlite3 ./library.db "VACUUM"

and try again with the new library.db

else you might try to install an earlier version dt which is later than
your previous version.
  ie: previous was 2.6.x, install 3.0
and try with your library before 3.2.1

gud luk,  
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo               paka @ IRCnet freenode
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to