Bug 413422 - No access of photo collection via digiKam
Summary: No access of photo collection via digiKam
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Collections (show other bugs)
Version: unspecified
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: accessibility, usability
Depends on:
Blocks:
 
Reported: 2019-10-25 07:43 UTC by MR
Modified: 2019-10-27 10:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments
Explanation of problem by non-nerd regarding problems with access of collection of photos on external drive (139 bytes, text/plain)
2019-10-25 07:43 UTC, MR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MR 2019-10-25 07:43:22 UTC
Created attachment 123471 [details]
Explanation of problem by non-nerd regarding problems with access of collection of photos on external drive

SUMMARY


STEPS TO REPRODUCE
1. try to access data on external drive in any way via digikam
2. 
3. 

OBSERVED RESULT

error

EXPECTED RESULT

access photos, manage collection

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Mint 19.2 Cinnamon
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2019-10-25 08:04:57 UTC
A few more infos are nice. Access to external media is possible without any problems. What have you tried? Has the external collection been added to the digiKam setup? Was there an error message? Screenshots? Please post the log when you start digiKam in the console.

Maik
Comment 2 MR 2019-10-25 08:53:06 UTC
Thank you for your quick response.
First I switch database to USB - Photo, but nothing happens. No files no pictures found. Then I set the path of the collection either as "local storage" or as "removable external disc". It then tells me that "for the following path no collection can be added". I have to translate this from german, by the way.
I want to keep collection and database on removable drive, because I will be using it on different computers.
When I open Digikam it stops on examining the collection at 16% and tells me that no base path was found. Trying to fix does not work.

qt5ct: using qt5ct plugin
digikam.general: AlbumWatch use QFileSystemWatcher
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/media/mr/ADATA HD720/- PHOTO -/digikam4.db"
   DB Thumbs Name:           "/media/mr/ADATA HD720/- PHOTO -/thumbnails-digikam.db"
   DB Face Name:             "/media/mr/ADATA HD720/- PHOTO -/recognition.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  1
digikam.coredb: Core database: makeUpdates  1  to  8
digikam.coredb: Core database : running updateV4toV7
digikam.coredb: Core database: moved tables
digikam.coredb: Core database: dropped triggers
digikam.coredb: Core database: Album library path from config file is empty. Aborting update.
digikam.coredb: Core database: cannot process schema initialization
Comment 3 Maik Qualmann 2019-10-25 09:15:10 UTC
First of all the database stays where it always was. Under the path where trying to open the database is a very very old database with version 1.

"/media/mr/ADATA HD720/- PHOTO -/digikam4.db"

Attempting to upgrade from version 1 to version 8 will fail - not possible anymore. Here is the next problem, version 8 is also old, your digiKam version is also very old. First correct the path of the database or delete the digikamrc file to start a new setup.

Maik
Comment 4 MR 2019-10-25 21:09:52 UTC
Erasing did the trick!

Thanks a lot Maik.

Got another 111.000 photos to sort, and there is just no alternative to 
digikam.

Regards




Am 25.10.19 um 11:15 schrieb Maik Qualmann:
> https://bugs.kde.org/show_bug.cgi?id=413422
>
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> First of all the database stays where it always was. Under the path where
> trying to open the database is a very very old database with version 1.
>
> "/media/mr/ADATA HD720/- PHOTO -/digikam4.db"
>
> Attempting to upgrade from version 1 to version 8 will fail - not possible
> anymore. Here is the next problem, version 8 is also old, your digiKam version
> is also very old. First correct the path of the database or delete the
> digikamrc file to start a new setup.
>
> Maik
>
Comment 5 Maik Qualmann 2019-10-27 10:47:41 UTC
I understand the answer so that it works now. I close the bug, if necessary reopen again.

Maik