Albums disappeared

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Albums disappeared

Rainer Dorsch
Hello,

I moved my digikam Albums dir on another disk and replaced it with a symbolic
link to the other disk (Debian Linux, 6.0, digiKam 1.2.0). After starting
DigiKam, it started with empty albums.

The digiKam database and all the files are still there and accessible through
the symlink:

rd@blackbox:~/tmp.nobackup/flashbench$ file
/home/rd/Rohdaten/digiKam/digikam4.db
/home/rd/Rohdaten/digiKam/digikam4.db: SQLite 3.x database
rd@blackbox:~/tmp.nobackup/flashbench$

Any comment what I could check or what could have gone wrong are very welcome.

Thanks,
Rainer

--
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: [hidden email]
jabber: [hidden email]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Albums disappeared

Rinus
If you moved the databases.
You might give this a try:

go to /home/your_user_dir/.kde/share/config and open digikamrc in gedit

change the two rows with ¨Database Name¨ to the new place of your databases

Dont forget to make a copy of digikamrc first and watch carefully upper/lowercase

save the file and you might be lukky.

If you ment you moved the photos itself, you should do that within digikam to avoid problems.

regards
Rinus

Op 11-05-11 12:56, Rainer Dorsch schreef:
Hello,

I moved my digikam Albums dir on another disk and replaced it with a symbolic 
link to the other disk (Debian Linux, 6.0, digiKam 1.2.0). After starting 
DigiKam, it started with empty albums.

The digiKam database and all the files are still there and accessible through 
the symlink:

[hidden email] file 
/home/rd/Rohdaten/digiKam/digikam4.db 
/home/rd/Rohdaten/digiKam/digikam4.db: SQLite 3.x database
[hidden email] 

Any comment what I could check or what could have gone wrong are very welcome.

Thanks,
Rainer

_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Albums disappeared

Rinus
Sorry, you are talking about digikam 1.2.0. I know nothing about that, my answer might be useless.
Op 11-05-11 13:41, sleepless schreef:
If you moved the databases.
You might give this a try:

go to /home/your_user_dir/.kde/share/config and open digikamrc in gedit

change the two rows with ¨Database Name¨ to the new place of your databases

Dont forget to make a copy of digikamrc first and watch carefully upper/lowercase

save the file and you might be lukky.

If you ment you moved the photos itself, you should do that within digikam to avoid problems.

regards
Rinus

Op 11-05-11 12:56, Rainer Dorsch schreef:
Hello,

I moved my digikam Albums dir on another disk and replaced it with a symbolic 
link to the other disk (Debian Linux, 6.0, digiKam 1.2.0). After starting 
DigiKam, it started with empty albums.

The digiKam database and all the files are still there and accessible through 
the symlink:

[hidden email] file 
/home/rd/Rohdaten/digiKam/digikam4.db 
/home/rd/Rohdaten/digiKam/digikam4.db: SQLite 3.x database
[hidden email] 

Any comment what I could check or what could have gone wrong are very welcome.

Thanks,
Rainer

_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Albums disappeared

Rainer Dorsch
In reply to this post by Rinus
Rinus,

thanks for you quick reply.

The data you mention look good for me:

rd@blackbox:~$ grep -i path /home/rd/.kde/share/config/digikamrc
Album Path[$e]=$HOME/Rohdaten/digiKam                                                                                                                      
Database File Path=/home/rd/Rohdaten/digiKam/                                                                                                              
rd@blackbox:~$ ls -l /home/rd/Rohdaten/digiKam
lrwxrwxrwx 1 rd rd 39  8. Mai 15:04 /home/rd/Rohdaten/digiKam ->
/mnt/disk/home/rd.disk/Rohdaten/digiKam                                                    
rd@blackbox:~$ ls -l /home/rd/Rohdaten/digiKam/digikam4.db                                                                                                  
-rw-r--r-- 1 rd rd 3770368 11. Mai 13:53 /home/rd/Rohdaten/digiKam/digikam4.db                                                                              
rd@blackbox:~$

The interesting thing though is when I start on the cmd line, I get a message:

digikam(18489)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder
does not exist or is not readable:  "/mnt/disk/home/rd/Rohdaten/digiKam"

Digikam uses rd instead of rd.disk(!)

In fact the symlink pointed to that directory some time before. Seems digiKam
did resolve that link and stored the real path instead of the one I specified
(including symlinks). Now that I change the symlinks, digiKam is in trouble
(and with that me or other users).

Do you know, where digiKam stores this information?

rd@blackbox:~$ grep -i mnt /home/rd/.kde/share/config/digikamrc
rd@blackbox:~$

rd@blackbox:~$ grep -iR mnt /home/rd/.kde/share/apps/digikam
rd@blackbox:~$

This worked for me as workaround:

Added temporary link
rd@blackbox:/mnt/disk/home/rd$ ln -s ../rd.disk/Rohdaten/ .

Start digiKam
rd@blackbox:/mnt/disk/home/rd$ digikam

What is strange that digiKam starts up with the Album structure shown in the
appended screenshot i.e. /mnt/disk/home/rd/Rohdaten/digiKam somehow got into
the album structure... (?)

Does anybody know how I can get rid of that?

Thanks,
Rainer

Am Mittwoch, 11. Mai 2011 schrieb sleepless:

> If you moved the databases.
> You might give this a try:
>
> go to /home/your_user_dir/.kde/share/config and open digikamrc in gedit
>
> change the two rows with ¨Database Name¨ to the new place of your databases
>
> Dont forget to make a copy of digikamrc first and watch carefully
> upper/lowercase
>
> save the file and you might be lukky.
>
> If you ment you moved the photos itself, you should do that within
> digikam to avoid problems.
>
> regards
> Rinus
>
> Op 11-05-11 12:56, Rainer Dorsch schreef:
> > Hello,
> >
> > I moved my digikam Albums dir on another disk and replaced it with a
> > symbolic link to the other disk (Debian Linux, 6.0, digiKam 1.2.0).
> > After starting DigiKam, it started with empty albums.
> >
> > The digiKam database and all the files are still there and accessible
> > through the symlink:
> >
> > rd@blackbox:~/tmp.nobackup/flashbench$ file
> > /home/rd/Rohdaten/digiKam/digikam4.db
> > /home/rd/Rohdaten/digiKam/digikam4.db: SQLite 3.x database
> > rd@blackbox:~/tmp.nobackup/flashbench$
> >
> > Any comment what I could check or what could have gone wrong are very
> > welcome.
> >
> > Thanks,
> > Rainer
> >
> >
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users

--
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: [hidden email]
jabber: [hidden email]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

screenshot-albums.png (45K) Download Attachment
signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Albums disappeared

Rinus
Op 11-05-11 14:14, Rainer Dorsch schreef:

Most of your story is way to complex to be understood by me.

But according to this:
> What is strange that digiKam starts up with the Album structure shown in the
> appended screenshot i.e. /mnt/disk/home/rd/Rohdaten/digiKam somehow got into
> the album structure... (?)
>
> Does anybody know how I can get rid of that?
If I got your point right than:

You could make a folder with the desired name (mein album o.s.e.) for
your album in dolpin or console or whatever.  I would put a couple of
pictures in it (not sure if thats neceserey)

Than in dk 2.0 I would go to Settings-> Configure Digikam -> Collections
-> add collection and point to the freshly made album(folder)


Than go back to album view and move the folders(albums) one by one to
the new folder (Try one ¨test¨ folder first, to see if it works like you
want)

If all done go back to: Settings-> Configure Digikam -> Collections ->
and remove album ¨/mnt/disk/home/rd/Rohdaten/digiKam¨

Rinus

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users