leepeuker / movary

Self hosted web app to track and rate your watched movies
MIT License
388 stars 14 forks source link

Volume mount permission #563

Open bunkerman opened 8 months ago

bunkerman commented 8 months ago

Description

docker volume works as expected, but bind mounts can not create the app folder. Also the permissions are not suffcient. If I create the app folder in the bind mount with chmod -R 777 the app storage can be used

Version

0.6

Steps to Reproduce

docker compose: -volumes:

Screenshots

grafik

Logs

2024/01/05 07:04:43 [warn] 81#81: *6 a client request body is buffered to a temporary file /var/lib/nginx/tmp/client_body/0000000002, client: 172.19.32.1, server: _, request: "POST /jobs/schedule/letterboxd-diary-sync HTTP/1.1", host: "movary", referrer: "movary/settings/integrations/letterboxd"
NOTICE: PHP message: PHP Warning:  move_uploaded_file(/app/storage/app/letterboxd-diary-1-1704438283.csv): Failed to open stream: No such file or directory in /app/src/HttpController/Web/JobController.php on line 67
NOTICE: PHP message: PHP Warning:  move_uploaded_file(): Unable to move "/tmp/phpCkncjG" to "/app/storage/app/letterboxd-diary-1-1704438283.csv" in /app/src/HttpController/Web/JobController.php on line 67
[2024-01-05T08:04:43.692160+01:00] movary.EMERGENCY: `/app/storage/app/letterboxd-diary-1-1704438283.csv`: failed to open stream: No such file or directory. {"exception":"[object] (League\\Csv\\UnavailableStream(code: 0): `/app/storage/app/letterboxd-diary-1-1704438283.csv`: failed to open stream: No such file or directory. at /app/vendor/league/csv/src/UnavailableStream.php:25)"} []
[php-fpm:access] 127.0.0.1 -  05/Jan/2024:07:04:43 +0000 "POST /index.php" 500 /app/public/index.php 46.980 2048 85.14%
172.19.32.1 - - [05/Jan/2024:07:04:43 +0000] "POST /jobs/schedule/letterboxd-diary-sync HTTP/1.1" 500 11472 "movary/settings/integrations/letterboxd" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"
172.19.32.1 - - [05/Jan/2024:07:04:44 +0000] "GET /serviceWorker.js HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"

Server OS

Open Media Vault Debian 11

Client Platform

None

Client Device

No response

Client OS

No response

Client Browser

No response

Additional Context

No response