[digiKam-users] (no subject)

Rob Dueckman duke at dukey.org
Wed Mar 31 14:21:41 BST 2021


Why are you using SMB when you have a linux based machine sharing to
another linux based machine?  NFS is  much simpler if you don't have
windows/Mac's involved.

Having said that, if you don't have some sort of directory services
running, you need to make sure that your user sweetth exists on both
the server and client, and they both have the same UID/GID's for the
user.  

Typically, for Samba based shares, you should just be able to make sure
ownership of the database files is set to "sweetth".   As you're
mounting the share as a user, all files in that share should probably
be owned by the same user.

Alternatively, use  windows to set permissions of your photos folder on
the server  to be full access by your user.

As this isn't a Digikam issue, you might want to seek help with setting
permissions in the Samba forums if you can't get things working.

On Wed, 2021-03-31 at 14:04 +0100, Sweetth Devil wrote:
> Hello all,
> I used Digikam but moved my collection of pictures and my database to
> my newly installed home server. My computer is running Archlinux and
> so is my server.
> 
> The database was SQLite. 
> 
> The Collection & database get mounted using CIFS on a samba share
> using the following mount parameters:
> 
> //192.168.1.90/arch_home_server /mnt/share cifs
> username=sweetth,password=******,rw,user,noauto,nounix,iocharset=utf8
> ,file_mode=0777,dir_mode=0777 0 0
> 
> After a lot of frustration I deleted all traces of DigiKam from my
> install including config files (inc. digikamrc) and database.
> 
> But DigiKam is still complaining of database rights. If I start
> DigiKam without the Samba share mounted it starts without any issue. 
> 
> See below DigiKam debug info: 
> 
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from digikam...
> (No debugging symbols found in digikam)
> (gdb) catch throw
> Catchpoint 1 (throw)
> (gdb) run
> Starting program: /usr/bin/digikam 
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/usr/lib/libthread_db.so.1".
> [New Thread 0x7fffdbbb7640 (LWP 4065)]
> [New Thread 0x7fffd9ecd640 (LWP 4066)]
> [New Thread 0x7fffd96cc640 (LWP 4067)]
> [New Thread 0x7fffd8ecb640 (LWP 4068)]
> [New Thread 0x7fffcbfff640 (LWP 4069)]
> [New Thread 0x7fffca6f9640 (LWP 4070)]
> QCommandLineParser: already having an option named "h"
> QCommandLineParser: already having an option named "help-all"
> QCommandLineParser: already having an option named "v"
> [New Thread 0x7fffc94e8640 (LWP 4071)]
> [New Thread 0x7fffc8ce7640 (LWP 4072)]
> [New Thread 0x7fffb3fff640 (LWP 4073)]
> [Thread 0x7fffb3fff640 (LWP 4073) exited]
> digikam.dbengine: Detected locked database file. There is an active
> transaction. Waited but giving up now.
> digikam.coredb: Core database: cannot process schema initialization
> [New Thread 0x7fffb3fff640 (LWP 4075)]
> [New Thread 0x7fffb3709640 (LWP 4076)]
> [New Thread 0x7fffb2f08640 (LWP 4077)]
> [New Thread 0x7fffb2707640 (LWP 4078)]
> [Thread 0x7fffb3709640 (LWP 4076) exited]
> [Thread 0x7fffb3fff640 (LWP 4075) exited]
> [Thread 0x7fffb2707640 (LWP 4078) exited]
> [Thread 0x7fffb2f08640 (LWP 4077) exited]
> 
> Thread 9 "digikam" received signal SIG32, Real-time event 32.
> [Switching to Thread 0x7fffc8ce7640 (LWP 4072)]
> 0x00007ffff51f9bf3 in pselect () from /usr/lib/libc.so.6
> (gdb) quit
> A debugging session is active.
> 
> Inferior 1 [process 4061] will be killed.
> 
> Should more information are required, please let me know.
> Looking forward to your replies.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20210331/0cbe1d96/attachment.htm>


More information about the Digikam-users mailing list