singularityhub / sregistry

server for storage and management of singularity images
https://singularityhub.github.io/sregistry
Mozilla Public License 2.0
103 stars 42 forks source link

Missing stylesheets #390

Closed kkaftan-old closed 2 years ago

kkaftan-old commented 2 years ago

I have set up a sregistry with podman. The registry itself is local while the minio-image-directory (where the .sif images will be saved) is linked to NFS. So far so good. But when accessing the registry via web browser, the stylesheets in the file static arent loaded. pic1

While debugging the nginx container with podman, It seems that something prevents the loading of the files. logs

And in the inspector mode of firefox it shows an error 403 (same with curl). I assumed it might be the proxy but with the same configuration and docker instead of podman was loaded perfectly. image(1)

With the same setup and podman on another machine, I set up another sregistry. Surprisingly I hadn't any issues while loading stylesheets. podman-priv

Back to first machine: In the container (nginx) itself, I have fully access to all files, the permissions seems to be working. image(2)

I cannot figure out why the stylesheets arent loading. If you have any ideas or question please feel free to comment below. I will update as quick as possble.

FYI: I dont use docker because of permissions rights and used it only to check if I messed up the configuration. @hashkeks for notification

kkaftan-old commented 2 years ago

update

Had to chown 755 static Don't know why the permissions got changed but works now!