Closed epaminond closed 4 years ago
I'm experimenting the same issue, I had to migrate the entire database from environment to environment, the Ghost service is not working
Once /data
is synced to the database, you're only option to edit it is pull it back to your filesystem with the bp pull
command. See https://botpress.io/docs/manage/versions/
Now about /bots
not getting synced, I'm not sure how it can happen. We'll have to verify.
Same issue here on 11.7.1, while using ./bp -p
. I am deploying it on Heroku.
@rndlaine this issue is still happening on every version you release, is it possible to try to reproduce it and fix it ? If you want I can prepare a example to reproduce it
There was a bunch of changes to BPFS and sync recently, and we fixed an issue with desynchronized data https://github.com/botpress/botpress/releases/tag/v12.1.4. Closing issue
When setting environment variable
BP_PRODUCTION=true
bots disappear from my admin panel (even though they are there):And I'm getting a warning in the console:
It seems the reason is in ghost-syncing not working correctly:
global
directory which doesn't make much sense to me. Users can't change actions and files there from the admin interface except maybe for some settingsbots
directory doesn't get synced which also doesn't make sense to me. Flows and content are there so they should be syncedAnd since
bots
directory doesn't get synced, system won't know about them. But if I set up syncing of the bot, it takes very long for system to start and it takes a lot of disk space, so I can't see a quick fix for that and I think ghost syncing needs to be refined.P.S. This might be connected to botpress/v12#638
I am running:
official binary 11.7.2
. My OS is:ubuntu
. NodeJS version is10.15
.