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

Errors while startup #1536

Closed
kFxDaKing opened this issue Oct 5, 2020 · 10 comments
Closed

Errors while startup #1536

kFxDaKing opened this issue Oct 5, 2020 · 10 comments
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug

Comments

@kFxDaKing
Copy link

Description

Describe the bug

Errors while server startup - https://imgur.com/a/rur4xdW (include server.cfg)

Steps to reproduce the behavior

Yesterday i transferen json2mariadb, then i used cmd /bb migrate.
After that i changed config "JSON2MARIADB" to MARIADB.
WHen i startup server there is those errors, but everything looks working.

Environment

Output of /bbox version (Mandatory)
Běžím na: Paper
Verze BentoBox: 1.15.0
Databáze: MARIADB
Worlds: Oneblock_world, world, world_nether

Addons:
Aoneblock 1.4.0
Border: 2.0.0
Chat: 1.0.5
Level: 2.4.1
Warps: 1.10.0
@BONNe
Copy link
Member

BONNe commented Oct 6, 2020

@tastybento this is the github issue where are old and new tables in database.
Could it be an issue with migration from json to mariadb?

@kFxDaKing
Copy link
Author

https://cdn.discordapp.com/attachments/310623455462686720/763002234933346324/unknown.png
On discord you told me to delete that long names, so i did it.

But after server start one of that long names recreated again.
https://cdn.discordapp.com/attachments/310623455462686720/763005055870959636/unknown.png

So i it will throw error again after restart.

But everything seems to be working with short db tables, players didnt report any missing things.

@tastybento
Copy link
Member

@BONNe Yes, the migration command is a problem. I don’t think it is using the latest short names. I’ll check it.
@kFxDaKing can you share the full name of the remaining long table because the graphic cut it off? Some addons still use long names, so it’s okay, but I would like to know what it is.

@tastybento tastybento self-assigned this Oct 6, 2020
@tastybento tastybento added Status: Under investigation Investigating the interest and the feasability of the issue. Type: Bug labels Oct 6, 2020
@BONNe
Copy link
Member

BONNe commented Oct 6, 2020

It is oneblock:
BentoBoxWorld/AOneBlock#122

@kFxDaKing
Copy link
Author

Hello, thanks for reply.

https://i.imgur.com/VtKPH1u.png

@tastybento
Copy link
Member

@kFxDaKing https://ci.codemc.io/job/BentoBoxWorld/job/AOneBlock/126/ uses the shorter named table. When used, it should migrate directly over. Take backups, and let me know if you see any issue.

@kFxDaKing
Copy link
Author

Ill test it tomorow, thank you.

@kFxDaKing
Copy link
Author

https://imgur.com/a/xTIkRpd
Cant load

tastybento added a commit that referenced this issue Oct 8, 2020
@tastybento
Copy link
Member

Well, there was a longstanding bug in BentoBox where the tables were not being renamed. I do not understand how or why that happened so this is the root cause. You will need to use the latest BentoBox build.

If you do get an error, please share the full console log from start up (the zip file) so I can see what other errors are happening.

@Poslovitch
Copy link
Member

I'm closing this issue since it seems the bug has been solved.
@kFxDaKing Feel free to reopen/answer it if needed.

@Poslovitch Poslovitch added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants