Open vanillapod-ze opened 2 years ago
btw, I am running docker under Silverblue F36, and run a clean photoview, the auto-gen-folder photos_path is owned by root
instead of current user, is it right?
[cp@fedora photoview]$ stat -c "%U %G" photos_path/
root root
On my operations above, I have already change the folder's owner to my username before moving my photos into photoview/photos
Same problem here. No docker, Yunohost installation, nextcloud folder.
@vanillapod-ze , thanks for your report. To me, it looks like an issue with file permissions on the host and some incompatibility with mounting to docker.
Anyway, we've done a big refactoring of the docker image and compose file. So, please try the config from the master
branch and use the photoview:master
image with it. I think that this issue should be fixed there.
Please let me know the results. If no response is provided soon, this issue will be closed as not planned, because it doesn't look like we still have this issue in the product.
Describe the bug Images cannot be scanned, when clicked
settings/users/scan
, nothing changed until clickingScan all users
, it raised permission denied error.To Reproduce Steps to reproduce the behavior:
docker-compose.yml
, replace- ./photos_path:/photos:ro
with- ./photos:/photos
./photos
docker-compose down && docker-compose up -d
settings/users/scan
andScan all users
buttonExpected behavior Albums is empty but
./photo
is not. Permission denied error was raised, but userphotoview
do haveadmin
permission.Screenshots Browser![image](https://user-images.githubusercontent.com/48322394/167304219-1104ca78-8fdc-4e06-86f9-d7ba52606009.png)
Running![image](https://user-images.githubusercontent.com/48322394/167304684-265dfd28-efe1-44e5-a242-72583c9c2efc.png)
docker-compose logs
Your environment: Feel free to remove and add what you think might be useful.
Additional context I don't understand why, shouldn't I put my photos into
./photos
? I tried to remove:ro
flag, but found/photos
is still Read-only by runningdocker exec -it photoview_photoview_1 /bin/bash
.There are some files in![image](https://user-images.githubusercontent.com/48322394/167304909-b06ecdaf-9939-4376-b547-8fec69f91e33.png)
./photos
But albums is empty![image](https://user-images.githubusercontent.com/48322394/167305054-513ce184-1c37-4807-9afe-ee43a683d6f0.png)