Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart = Lost All. #5

Open
ThisDudeBoy opened this issue Nov 14, 2020 · 8 comments
Open

Restart = Lost All. #5

ThisDudeBoy opened this issue Nov 14, 2020 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed selfhost The probem happened while trying to selfhost wontfix This will not be worked on

Comments

@ThisDudeBoy
Copy link

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
			}
		}
	],
@chaun14
Copy link
Owner

chaun14 commented Nov 14, 2020

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?

@ThisDudeBoy
Copy link
Author

Any errors, the bot work well.

i use mariadb

@ThisDudeBoy
Copy link
Author

`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.

@chaun14 chaun14 added bug Something isn't working selfhost The probem happened while trying to selfhost labels Nov 14, 2020
@Kazzox-web
Copy link

i have the same proble, no errors, mariadb unsave on restart

@chaun14
Copy link
Owner

chaun14 commented Nov 14, 2020

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.

@chaun14
Copy link
Owner

chaun14 commented Nov 14, 2020

Can i know your mariadb version?

@ThisDudeBoy
Copy link
Author

For me, Server version: 10.3.25-MariaDB-0+deb10u1 Debian 10

@chaun14
Copy link
Owner

chaun14 commented Nov 14, 2020

the bot can't work with mariadb. Use mysql community server instead

--> 49d9d1a

@chaun14 chaun14 added help wanted Extra attention is needed wontfix This will not be worked on labels Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed selfhost The probem happened while trying to selfhost wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants