Gallery on external HDD - storage location is unavailable (403)


#1

Hi

Trying to turn on Gallery view on Files on external (local hard drive) where jpegs are stored results with following error message:

The owner has placed a restriction or the storage location is unavailable (403)

Shell user on what httpd server is running on (in my case: nobody:nogroup) can create/modify files (permissions: 755 for dirs, 644 for files, owned by: nobody:nogroup).
When moving files to 'internal' storage where onwcloud is placed, Gallery works fine (slow but works).

Log:

{"reqId":"6qcbXhtRBL+PVCBk2A1N","remoteAddr":"x.x.x.x","app":"gallery","message":
"Exception: The owner has placed a restriction or the storage location is unavailable","
level":3,"time":"2016-12-15T12:17:18+00:00","method":"GET","url":"\/owncloud\/index.php\
/apps\/gallery\/files\/list?location=Dane%252FParyz&mediatypes=image%2Fpng%3Bimage%2Fjpe
g%3Bimage%2Fgif%3Bimage%2Fx-xbitmap%3Bimage%2Fbmp&features=&etag","user":"xxxx"}

Owncloud 9.1.2
Help appreciated !

BR
Janusz


#2

Moreover,
I moved data/ directory to external storage (same one) and the Gallery works fine.
The only difference is a path within OC.


#3

Got it !
I missed checkbox in external storage configuration :slight_smile: