Hello,
I’m new to Piwigo and trying to configure it on my TrueNAS Core server. Here is my setup: the Piwigo is installed on Ubuntu VM with LAMP.
I’ve pointed the upload directory to the mounted TrueNAS SMB network share. I’ve changed local/config/config.inc.php adding:
$conf['upload_dir'] = '/mnt/piwigo_lib/';
The /etc/fstab file has the following code:
//192.168.x.x/piwigo /mnt/piwigo_lib cifs username=userName,password=psw,rw,uid=33,gid=33,nounix,sec=ntlmssp,dir_mode=0777,file_mode=0666 0 0
After mounting this share the permissions are shown as:
ls -l /mnt/
drwxrwxrwx 2 www-data www-data 0 Aug 12 21:21 piwigo_lib
ls -l /mnt/piwigo_lib/
drwxrwxrwx 2 www-data www-data 0 Aug 12 21:21 buffer
With this configuration, I can create albums but when I upload files from the browser, they are missing. I didn't try the mobile app yet.
Can you please help me to figure out what is wrong?
When I change the local/config/config.inc.php back everything is working fine.
Thanks
Offline
I've found this post that helped me to solve the problem: https://piwigo.org/forum/viewtopic.php?id=26079
Offline
I was going to suggest the symlink route. Glad you got it working.
Offline