Closed quick-tutoriel closed 5 months ago
Hello,
here is the error message I get when I deploy serpbear with docker-compose. I used the example docker-compose file, I don't understand.
2024-06-16T18:58:02.183778225Z 2024-06-16T18:58:02.184941073Z Sequelize CLI [Node: 20.11.1, CLI: 6.6.2, ORM: 6.37.1] 2024-06-16T18:58:02.185170304Z 2024-06-16T18:58:02.262340009Z Loaded configuration file "database/config.js". 2024-06-16T18:58:02.263236161Z Using environment "production". 2024-06-16T18:58:02.381153909Z **2024-06-16T18:58:02.381518040Z ERROR: SQLITE_CANTOPEN: unable to open database file 2024-06-16T18:58:02.381773343Z 2024-06-16T18:58:02.982488556Z [1] node:internal/process/promises:289 2024-06-16T18:58:02.982532930Z [1] triggerUncaughtException(err, true /* fromPromise */); 2024-06-16T18:58:02.982543699Z [1] ^ 2024-06-16T18:58:02.982551282Z | 0=1 2024-06-16T18:58:02.982558850Z [1] [Error: EACCES: permission denied, open '/app/data/settings.json'] { 2024-06-16T18:58:02.982579831Z [1] errno: -13, 2024-06-16T18:58:02.982587003Z [1] code: 'EACCES', 2024-06-16T18:58:02.982595006Z [1] syscall: 'open', 2024-06-16T18:58:02.982603542Z [1] path: '/app/data/settings.json'** 2024-06-16T18:58:02.982614431Z [1] } 2024-06-16T18:58:02.982624309Z | 0=1 2024-06-16T18:58:02.982633903Z [1] Node.js v20.11.1 2024-06-16T18:58:03.004178380Z [1] node cron.js exited with code 1 2024-06-16T18:58:03.379383347Z [0] Listening on port 3000
Can you help me? Thank you
Hello, I solved my problem by setting the right rights in the docker-compose file with the keyword: user:0:0
Hello,
here is the error message I get when I deploy serpbear with docker-compose. I used the example docker-compose file, I don't understand.
Can you help me? Thank you