And then whenever I went on http://localhost:8000/files I had the following error:
An error occurred during route handling or page rendering.
With this in the logs: website-1 | 2025-02-21T14:40:01.285Z - [303] GET http://localhost:8000/
website-1 | 2025-02-21T14:40:01.316Z - [200] GET http://localhost:8000/dashboard
website-1 | 2025-02-21T14:40:01.465Z - [200] GET http://localhost:8000/styles.css
website-1 | An error occurred during route handling or page rendering.
website-1 | PermissionDenied: Permission denied (os error 13): mkdir '/app/data-files/e5f69a80-249a-4845-a6d4-2a4911f9e249/.Trash/'
website-1 | at async Object.mkdir (ext:deno_fs/30_fs.js:200:3)
website-1 | at async getPathEntries (file:///app/lib/data/files.ts:73:9)
website-1 | at async getDirectories (file:///app/lib/data/files.ts:13:29)
website-1 | at async GET (file:///app/routes/files.tsx:33:29)
website-1 | at async handleLogging (file:///app/routes/_middleware.tsx:66:22)
website-1 | at async handleContextState (file:///app/routes/_middleware.tsx:60:22)
website-1 | at async handleCors (file:///app/routes/_middleware.tsx:25:22)
website-1 | at async handler (https://deno.land/x/fresh@1.7.3/src/server/context.ts:295:14)
website-1 | at async mapped (ext:deno_http/00_serve.ts:391:18) {
website-1 | name: "PermissionDenied",
website-1 | code: "EACCES"
website-1 | }
I tried to chown it, didn't help. I tried other things within the container (docker compose run -it website /bin/sh), see this discussion to see what I tried:https://chatgpt.com/share/67b890cb-0574-800d-a0ac-470e408917...