Closed genya1 closed 3 years ago
hi @genya1, old data was not wiped, it was you was using an old version of simplebot which used ~/.config/simplebot/
as default folder for the bot account, now the bot has a accounts
folder, you just have to move all data in that old ~/.config/simplebot/
folder to ~/.config/simplebot/accounts/bot%40example.com
or manually passing:
simplebot -a ~/.config/simplebot/ serve
I had Simplebot running on a host and uninstalled it, then pulled in the new changes and installed Simplebot again. This created a new key-pair, wiped all previous email configurations, and wiped all old Sqlite plugins databases.
Steps I did:
pip3 uninstall simplebot
git pull
pip3 setup.py install
I was able to re-store the original key-pair from
~/.config/simplebot/account.db
in keypairs table, I understand this bot is still not in release, but just wanted to start the conversation if it is possible to utilize the old configurations rather than creating new ones since all the messages would be encrypted after upgrade.