Running both a Linux and Windows versions of Digikam

Greetings,

Currently, I have a Digikam running on an Elementary OS v7.1 (Ubuntu v22.04 variant) using MySQL internal.

Is it possible to run a copy of Digikam on a Windows 10 box and use the same database? Resilio Sync synchronizes local folders on my various boxes. Yes, I realize that only one instance of Digikam should be running at a time, lest really bad things occur.

If not, is there a method to migrate the database to a Windows version?

Thank you

The issue is the difference in path naming between linux and Windows.
So using the same database with both is probably not possible.

I’ve no idea if you can migrate the database to Windows, but what is possible is to write sidecar files, and scan your collections to create a new database on Windows. But that’s not something you want to do regularly (as it can be very time-consuming).

And of course, you will have to ensure synchronisation between the different installations. And tell digikam to scan for new/changed items on startup (can also be rather slow, although it is a background process: as you also want to pick up changed items, you can’t use the “fast scan” option.)

1 Like

Thank you.

I believe it is possible to use the same database, but you need to do some fiddling to set up the paths in the DB (if I remember correctly). But, at least back when I tried (several years ago), you will likely get some complaints about wrong character encodings when switching OS.

Those can be avoided if you stick to old conventions for file and path names (as an extreme, no spaces, and only ASCII characters). But that would mean Windows is still not using UTF-8?

It’s been several years now, but I seem to remember that it was the database encoding that depended on the OS. A bit silly to not normalise encoding in the DB, but maybe that has been fixed since.

Pretty sure it still uses some bastard version of UTF-16.

I regularly use the same database on Mint and Windows 10. The only change I had to make was changing the disk names to match the operating system I’m using. However, I find the Windows version much slower.

1 Like

My work laptop running Windows 11 is still rocking Code Page 1152 for a lot of things :grimacing: