botpress
botpress copied to clipboard
Permission denied botpress.config.schema.json
Describe the bug Permission denied when botpress-server starts
To Reproduce
Path: botpress/examples/docker-compose Try to start with docker compose up -d using docker-compose-community.yml
Environment:
- OS: Ubuntu
- Botpress Version: v12_30_0
Error starting botpress
botpress-server | VError: [Disk Storage] Error upserting file "data/botpress.config.schema.json": EACCES: permission denied, open '/botpress/data/botpress.config.schema.json'
botpress-server | at DiskStorageDriver.upsertFile (/snapshot/botpress/packages/bp/dist/core/bpfs/drivers/disk-driver.js) {
botpress-server | jse_shortmsg: '[Disk Storage] Error upserting file "data/botpress.config.schema.json"',
botpress-server | jse_cause: [Error: EACCES: permission denied, open '/botpress/data/botpress.config.schema.json'] {
botpress-server | errno: -13,
botpress-server | code: 'EACCES',
botpress-server | syscall: 'open',
botpress-server | path: '/botpress/data/botpress.config.schema.json'
botpress-server | },
botpress-server | jse_info: {}
botpress-server | }
I had the same error, but it worked here. I just followed the guidelines of release 12.30.0
https://github.com/botpress/botpress/releases/tag/v12.30.0