Problem with database
Anonymous
TRIALOP

2 years ago

I have the main files of the bot and a folder with the database in github, but when I turn on the bot, it turns out that the bot does not see the database, everything is cleared, and if I run commands to save something, it saves, but after a reboot, everything resets again, that is, it does not read or write to the database. Why?

7 Replies

Anonymous
TRIALOP

2 years ago

I'm not at the computer right now. Where to copy the project ID from the phone?


brody
EMPLOYEE

2 years ago

you would be storing your sqlite database in the empherial container storage, you need to store the database in a persistent volume


brody
EMPLOYEE

2 years ago

it's okay, it doesn't matter in this case as your question does not pertain to a platform issue


Anonymous
TRIALOP

2 years ago

Ok, I'll read and try to figure it out. If anything else I will write in this post. Thank you for now!


Anonymous
TRIALOP

2 years ago

I don't really understand what to enter in this field. the path to the database folder on the git hub?

1228337305970802700


brody
EMPLOYEE

2 years ago

that's the service you want to attach your volume to


brody
EMPLOYEE

2 years ago

what is the path that you currently read the database from?


Loading...