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

Updating Item Metadata database to data version 3578 - Errors #569

Closed
4 tasks done
andrewkm opened this issue Oct 1, 2023 · 6 comments
Closed
4 tasks done

Updating Item Metadata database to data version 3578 - Errors #569

andrewkm opened this issue Oct 1, 2023 · 6 comments
Labels
server issue Issues caused by the used server (Spigot/Paper/etc.)

Comments

@andrewkm
Copy link

andrewkm commented Oct 1, 2023

What is happening?

Did a test run for 1.20.2 to check out the damage on various plugins, lo and behold, ChestShop go nuts lol.
https://gist.githubusercontent.com/andrewkm/97d01a23d35315eb9bde317a5d2f7e2b/raw/031072bc925e34dbc2cf960ea0028c417382f3b3/gistfile1.txt

Any ideas what could be happening here?

What did you expect to happen?

Something more sane lol.

Plugin Version

Compiled against 53aa75d

Plugin Config

On Request.

Server Version

Paper 1.20.2 Build 207

Server Log

On Request.

What other plugins are you running?

On Request.

Agreements

Additional context

On Request.

@andrewkm
Copy link
Author

andrewkm commented Oct 1, 2023

Getting a few other errors in console as well:

https://pastebin.com/raw/diV4fAna
https://pastebin.com/raw/WTxX90ct

@Phoenix616
Copy link
Member

https://gist.githubusercontent.com/andrewkm/97d01a23d35315eb9bde317a5d2f7e2b/raw/031072bc925e34dbc2cf960ea0028c417382f3b3/gistfile1.txt

You seem to have player skulls which are now considered invalid. Not sure if that is actually the case or just a bug in the server but realistically nothing ChestShop can do about and errors on item upgrades are kinda expected. Either re-create the the affected items or wait until there is a fix in the server (if that ever happens)

Getting a few other errors in console as well:

https://pastebin.com/raw/diV4fAna https://pastebin.com/raw/WTxX90ct

Different issue which should be in a different ticket and is happening due to an SQLite driver update removing functionality without proper deprecation. Unfortunately the library used to access the databese has no fix for that yet. md might downgrade the driver though until it's clear that the driver continues to use that breaking behaviour so we will see. Otherwise I will have to find a workaround once 1.20.2 is considered stable.

@Phoenix616 Phoenix616 added the server issue Issues caused by the used server (Spigot/Paper/etc.) label Oct 2, 2023
@andrewkm
Copy link
Author

andrewkm commented Oct 5, 2023

Regarding player skulls, are these skulls found inside of chest-shop chests? Can I safely ignore these and simply tell players to remake their chest shops if they are experiencing issues with skulls inside them?

Regarding SQLite, I believe md_5 reverted it via https://hub.spigotmc.org/jira/projects/SPIGOT/issues/SPIGOT-7491 now, so it should be fixed, will test shortly.

@Phoenix616
Copy link
Member

Phoenix616 commented Oct 5, 2023

Yeah, I discussed it with md to revert that until libraries had time to update and it was clear that the change was there to stick. We will most likely update that with 1.21.

As for the skulls issue: Yes, they would basically need to recreate the shops that rely on such skulls in order for the IDs still matching up with the item. Nothing else should break due to that. I suspect that there is an actual bug with skulls though which could be fixed so if you can wait maybe do so until that is potentially fixed.

@andrewkm
Copy link
Author

andrewkm commented Oct 5, 2023

Can confirm the SQLite thing is fixed.

And yup, will wait, this is all just on my 1.20.2 test clone, that isn't yet in production. :)

@andrewkm
Copy link
Author

andrewkm commented Oct 6, 2023

As for the skulls issue: Yes, they would basically need to recreate the shops that rely on such skulls in order for the IDs still matching up with the item. Nothing else should break due to that. I suspect that there is an actual bug with skulls though which could be fixed so if you can wait maybe do so until that is potentially fixed.

So decided to actually go ahead and run my update just moments ago.
Weirdly enough I didn't see the skull errors anymore.

Either something updated in Paper, or perhaps it was our HeadDatabase update but who knows.
I'll assume all is functional as it should be now and close out the ticket. :)

@andrewkm andrewkm closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server issue Issues caused by the used server (Spigot/Paper/etc.)
Projects
None yet
Development

No branches or pull requests

2 participants