invite-manager-bot
invite-manager-bot copied to clipboard
Restart = Lost All.
Hi @chaun14,
I use your fork and i have somes problem. When i restart your bot all configs are deleted.
Config :
"dbPrefix": "im",
"databases": [
{
"host": "localhost",
"port": 3306,
"user": "root",
"password": "c",
"range": {
"from": 0,
"to": 0
}
},
{
"host": "localhost",
"port": 3306,
"user": "root",
"password": "passroot",
"range": {
"from": 1,
"to": 1
}
}
],
hello, Do you see some errors or weird things in the console. And if you run the !help command?
If possible can you send a hastebin (https://haste.chaun14.fr) link of your console?
Do you use mariadb or mysql community server?
Any errors, the bot work well.
i use mariadb
`3|index | {
3|index | "url": "POST:/channels/:id/messages",
3|index | "stats": {
3|index | "total": 1,
3|index | "succeeded": 1,
3|index | "errors": 0
3|index | }
3|index | }
3|index | ],
3|index | "httpRequestsQueued": []
3|index | }
3|index | }
3|index |
3|index | [SHARD1] syncDB: 3.161ms
3|index | `
There is no errors.
i have the same proble, no errors, mariadb unsave on restart
it's a known issue with mariadb but it should be patched with the sequelize upgrade in previous commits.
If you don't want any problem use mysql community server.
I'm trying to search for a fix.
Can i know your mariadb version?
For me, Server version: 10.3.25-MariaDB-0+deb10u1 Debian 10
the bot can't work with mariadb. Use mysql community server instead
--> https://github.com/chaun14/invite-manager-bot/commit/49d9d1a7bd6cc6751f2b1b4cec09eba56cf2bc21