botpress icon indicating copy to clipboard operation
botpress copied to clipboard

Permission denied botpress.config.schema.json

Open jonathborg opened this issue 2 years ago • 1 comments

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  | }

jonathborg avatar Aug 31 '22 14:08 jonathborg

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

henriquebol avatar Sep 04 '22 16:09 henriquebol