Replies: 1 comment 1 reply
-
Hello, can you check your folder permissions. For example: docker compose exec bar-assistant ls -al storage/bar-assistant All files should be owned by 33:33 (www-data:www-data) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have bar-assistant running on Docker windows. I changed this line to bind mount to local-folder so I don't lose bar_data, which I've confirmed does create local-folder\bar_data\ - backups/uploads/database.ba3q.sqlite and populates it with pre-loaded images.
However, when I attempt to upload new images or edit and save the pre-loaded images I get this error, and the images are broken.
2025/03/17 16:05:05 [error] 201#201: *196 open() "/var/www/cocktails/public/uploads/cocktails/1/tokyo-mule-recipe-1_1h2nz4.webp" failed (2: No such file or directory), client: 172.23.0.6, server: _, request: "GET /uploads/cocktails/1/tokyo-mule-recipe-1_1h2nz4.webp HTTP/1.0", host: "bar-assistant:8080", referrer: "http://192.168.0.108:3000/cocktails/tokyo-mule-recipe-1";
I can see that it created a new image what looks like the correct path : "G:\barassistant\local-folder\bar_data\uploads\cocktails\1\tokyo-mule-recipe-1_1h2nz4.webp"
I also can't run docker compose exec bar-assistant php artisan bar:full-backup - I get this error: [2025-03-17 16:09:11] production.ERROR: ZipArchive::addGlob(): No such file or directory
These issues don't happen when I use the default configuration of
I'm a beginner with docker. Did I make a mistake in the configuration somewhere? I'll include my docker compose yml below.
Additional Context / Logs
Beta Was this translation helpful? Give feedback.
All reactions