Announcement

#1 2021-01-07 16:41:52

zxsteve
Member
2021-01-07
1

Symlink not showing

Hello/Hi/Greetings,

I have a network attached USB drive on my TP-Link router.  It is accessible by the Linux box that Piwigo is installed on.
I am mounting the USB drive using "curlftpfs" into "/mnt/photoMount"
I am then trying to symlink the folder using "ln -s /mnt/photoMount/volume(sda1)/Photos  /var/www/html/piwigo/galleries"
The symlink exists and I can navigate the folder at /var/www/html/piwigo..." All this works fine.

I then try and do a "Quick local synchronisation" on the Dashboard but nothing new is found

I have also symlinked another folder that is not in the "/mnt/" folder (actually tried "~/Desktop" and this works.  The new folder appears in piwigo albums list.

I have added edited sites-available / sites-cofigured to follow symlinks which has been tested by symlinking to another folder successfully.

I am stuck for what to try next?
Regards


CONFIG:

Piwigo 2.10.2 Check for upgrade
Operating system: Linux
PHP: 7.2.34-8+ubuntu20.04.1+deb.sury.org+1 (Show info) [2021-01-07 15:35:05]
MySQL: 5.5.5-10.3.25-MariaDB-0ubuntu0.20.04.1 [2021-01-07 15:35:05]
Graphics Library: GD 2.3.0

Offline

 

#2 2021-01-07 18:25:58

jnashpiwigo
Piwigo Team
2014-10-21
254

Re: Symlink not showing

Permissions maybe?  Can the webserver read/see the mounted dir symlink?  (being that ~/Desktop works)

Last edited by jnashpiwigo (2021-01-07 18:27:13)

Offline

 

#3 2021-01-07 21:21:20

erAck
Only trying to help
2015-09-06
2026

Re: Symlink not showing

Specifically,
ls -alL /var/www/html/piwigo/galleries/Photos
must show permissions sufficient for the web server to traverse and read (rx) directories (including the . dot directory) and read (r) files.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact