<div class="gmail_quote">2012/6/26 Jim Householder <span dir="ltr"><<a href="mailto:nofixed@westnet.com.au" target="_blank">nofixed@westnet.com.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 06/25/12 06:10, Jean-François Rabasse wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Thomas,<br>
<br>
On Sun, 24 Jun 2012, Thomas wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So, now my question is, how do I get this all up and running again<br>
with the collection in the new location and digikam on a new computer?<br>
<br>
I see that the SQL dump of digikam4.db has this line:<br>
INSERT INTO "AlbumRoots"<br>
VALUES(8,'photos',0,1,'<u></u>volumeid:?path=%2Fphotodisk%<u></u>2Ftdn-photos%2Fphotos','/');<br>
<br>
<br>
Should I just change this to:<br>
INSERT INTO "AlbumRoots"<br>
VALUES(8,'photos',0,1,'<u></u>volumeid:?path=%2Fnet%2Fphoto%<u></u>2Fphotos','/');<br>
And then restore the digikam db?<br>
</blockquote>
<br>
Seems good. That kind of tweak works for me, I have similar problems<br>
when replicating (rsync) DK database between two computers, a desktop<br>
and a laptop, and yes, I have to change the path of the collection<br>
base directory.<br>
A simple command line SQL command can do "UPDATE TABLE ... " etc.<br>
<br>
One more thing you should check is the location of your DB file, the<br>
digikam4.db, because it's stored into the DK runtime configuration<br>
file, $HOME/.kde4/share/config/<u></u>digikamrc<br>
If your DB file is stored at the root of your collection, you'll<br>
also have to change the "Database Name=" parameter from, e.g.<br>
/photodisk/photos to /net/photo/photos, so that DK can find your new DB<br>
upon next startup.<br>
<br>
And if your DB file is on your local computer, not on a USB drive or<br>
network drive, of course nothing to change in rc configuration.<br>
<br>
<br>
<br>
Regards,<br>
Jean-François<br>
</blockquote>
<br></div></div>
I'm not sure about the latest version of digiKam, but I think if you want the database on NAS you need to use mysql.<br>
<br>
______________________________<u></u>_________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org" target="_blank">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/digikam-users</a><br>
</blockquote></div><br><br>Why is that?<br>I see that I get extremely many errors such as these:<br>digikam(12860)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is locked. Waited 1240<br>
digikam(12860)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is locked. Waited 1250<br>digikam(12860)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is locked. Waited 1260<br>
digikam(12860)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is locked. Waited 1270<br>digikam(12860)/digikam (core) Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database is locked. Waited 1280<br>
<br><br>However, the *database* (digikam4.db) is *not* located on network filesystem. Only the photos are.<br>I do not understand why this should be a problem.<br><br><br>Regards,<br>Thomas<br><br>