Notice: Undefined variable: post_infos_of in /var/www/piwigo.org/forum/include/functions_parser.php on line 138

#1 2012-10-03 17:27:31

Terry
Guest

Using a cifs share as a gallery - FS error

After a lot of fumbling about, I've finally managed to add (through Site Manager) a remote folder tree (which is actually a symlink to a cifs share on my NAS server).
Initially I was getting the error PWG-UPDATE-1, which I found from this forum was due to spaces in filenames; I changed the configuration to allow these.
Now I get PWG-ERROR-NO-FS (File/directory read error) and I fail to understand why. If the folders cannot be read, how did it know there were spaces in the filenames? And when I click on the gallery name at the top of the page ('Database Synchronization With Files: ./Share/') Cherokee happily lets me browse the folders and view the images inside.
So my questions are (a) what can't read the file/directory? and (b) how can I find out which file/directory is the problem?

 

#2 2012-10-03 19:33:49

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Using a cifs share as a gallery - FS error

Are you sure that your php script can access the ./Share link in your piwigo installation ? (mount / access or permission rights ...)

Offline

 

#3 2012-10-03 19:49:32

Terry
Member
2012-10-03
2

Re: Using a cifs share as a gallery - FS error

Well no, I'm not sure - how can I test this?
The share is owned by http, group http, and every file and folder has permissions rwxr-xr-x. Is that not enough?
Plus of course, if there are insufficient permissions to read, how did I get the PWG-UPDATE-1 error?

I should have said of course I'm using 2.4.4 in Linux.

Offline

 

#4 2012-11-23 15:25:47

nemmeh
Guest

Re: Using a cifs share as a gallery - FS error

Hi there,
after a good deal of trial and error and a whole mess of google action I came across this:
https://bugs.php.net/bug.php?id=51266

Most notably brandonkirsch's comment at the bottom.

in fstab, append 'noserverino' after your provided creds and viola, no more inode errors with php.

Mad props to brandonkirsch for the fix.

Hope this helps :)

 

#5 2012-12-22 02:06:00

Terry
Member
2012-10-03
2

Re: Using a cifs share as a gallery - FS error

Thanks for that - I'll give it a try.

Offline

 

#6 2012-12-24 05:37:27

JJF
Member
2011-10-06
121

Re: Using a cifs share as a gallery - FS error

Hi, I successfully use what you find in post:5 of [Forum, topic 20880] Change photos folder

Offline

 

Board footer

Powered by FluxBB

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