I want to put nas photos into piwigo, nas support nfs connect.
mount -t nfs 192.168.1.10:/photo /mnt/photo
I try use ln and mount, synchronize can't find the photo, if I cp the nfs data to the galleries folder, it can be work.
ln -s /mnt/photo/test_photo1 /mnt/piwigo/galleries #synchronize can't found photo
mount --bind /mnt/photo/test_photo2 /mnt/piwigo/galleries/test_photo2 #synchronize can't found photo
cp -r /mnt/photo/test_photo3 /mnt/piwigo/galleries/ #can be work
I want to put nas photos into piwigo, nas support nfs connect.
```
mount -t nfs 192.168.1.10:/photo /mnt/photo
```
I try use `ln` and `mount`, synchronize can't find the photo, if I `cp` the nfs data to the galleries folder, it can be work.
```
ln -s /mnt/photo/test_photo1 /mnt/piwigo/galleries #synchronize can't found photo
mount --bind /mnt/photo/test_photo2 /mnt/piwigo/galleries/test_photo2 #synchronize can't found photo
cp -r /mnt/photo/test_photo3 /mnt/piwigo/galleries/ #can be work
```
<!-- github-sync-id:240448506 -->
check with a php file browser if that's php (so server related) or Piwigo itself ; https://github.com/marekrei/encode-explorer seems appropriate to test that point
<!-- github-comment-id:312906297 -->
I test ln and mount in encode-explorer. ln folder don't have permission mount folder can be enter, but display nothing.
Not just nfs, lnmount from the local folder is the same problem.
Is this the php problem? What can be set up?
my php version is php/7.1/apache
I test `ln` and `mount` in encode-explorer.
`ln` folder don't have permission
`mount` folder can be enter, but display nothing.
Not just nfs, `ln` `mount` from the local folder is the same problem.
Is this the php problem? What can be set up?
my php version is php/7.1/apache
<!-- github-comment-id:312910346 -->
Is this problem fixed or does anyone have a solution? I have the same problem here. I tried also this solution: https://stackoverflow.com/questions/21878647/allow-apache-php-a-read-write-access-to-a-mounted-directory
Nothing worked sofar ...
<!-- github-comment-id:449726709 -->
I have the same problem. My solution was to use /etc/fstab to mount the nfs folder, and then the galleries would find my nfs folder.
`/etc/fstab`
```
192.168.0.XX:/mnt/mainpool/mainDataSet/Piwigo_galleries /var/www/piwigo/galleries nfs defaults,_netdev 0 0
```
<!-- github-comment-id:1250225013 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I want to put nas photos into piwigo, nas support nfs connect.
I try use
lnandmount, synchronize can't find the photo, if Icpthe nfs data to the galleries folder, it can be work.and the permissions?
lnandmountfolder have more permissionsphoto folder:
ln photo permissions:
cp photo permissions:
synchronize result:
check with a php file browser if that's php (so server related) or Piwigo itself ; https://github.com/marekrei/encode-explorer seems appropriate to test that point
I test
lnandmountin encode-explorer.lnfolder don't have permissionmountfolder can be enter, but display nothing.Not just nfs,
lnmountfrom the local folder is the same problem.Is this the php problem? What can be set up?
my php version is php/7.1/apache
Is this problem fixed or does anyone have a solution? I have the same problem here. I tried also this solution: https://stackoverflow.com/questions/21878647/allow-apache-php-a-read-write-access-to-a-mounted-directory
Nothing worked sofar ...
I have the same problem. My solution was to use /etc/fstab to mount the nfs folder, and then the galleries would find my nfs folder.
/etc/fstab