Closed supertakeru closed 3 months ago
Are you encountering errors? Latest ProtocolLib is required but it should be fully supported.
[14:06:36] [Server thread/INFO]: Plugins (2): ProtocolLib, DynamicLights
>version
[14:06:37] [Server thread/INFO]: This server is running CraftBukkit version 4293-Spigot-ca58122-5060d1a (MC: 1.21.1) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
[14:06:37] [Server thread/INFO]: Checking version, please wait...
[14:06:37] [Thread-16/INFO]: You are running the latest version
Latest ProtocolLib: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/
I get this error, what do you think of it?
[16:15:51] [Server thread/INFO]: [DynamicLights] Enabling DynamicLights v1.0.7
[16:15:51] [Server thread/ERROR]: Error occurred while enabling DynamicLights v1.0.7 (Is it up to date?)
com.shaded._100.org.h2.mvstore.MVStoreException: The write format 1 is smaller than the supported format 3 [2.3.230/5]
at DynamicLights-1.0.7.jar/com.shaded._100.org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996) ~[DynamicLights-1.0.7.jar:?]
at DynamicLights-1.0.7.jar/com.shaded._100.org.h2.mvstore.FileStore.getUnsupportedWriteFormatException(FileStore.java:943) ~[DynamicLights-1.0.7.jar:?]
at DynamicLights-1.0.7.jar/com.shaded._100.org.h2.mvstore.FileStore.processCommonHeaderAttributes(FileStore.java:547) ~[DynamicLights-1.0.7.jar:?]
at DynamicLights-1.0.7.jar/com.shaded._100.org.h2.mvstore.RandomAccessStore.readStoreHeader(RandomAccessStore.java:227) ~[DynamicLights-1.0.7.jar:?]
at DynamicLights-1.0.7.jar/com.shaded._100.org.h2.mvstore.FileStore.start(FileStore.java:916) ~[DynamicLights-1.0.7.jar:?]
at DynamicLights-1.0.7.jar/com.shaded._100.org.h2.mvstore.MVStore.
Thanks for the error log. There appears to be some breaking changes by the flat file database provider (h2store) that I chose that I need to address. I will publish an update to address this soon.
Work has been completed to address this issue and merged to main. Pending release. I have to do a bit more testing for compatibility as I made quite a few fundamental changes.
This issue has been resolved in v1.1.0. Due to backend the above noted backend changes, I had to add some additional logic to resolve this issue.
You will receive a message "Failed to load h2store. Database corrupted or v1 database format was provided." on the next boot that can be safely disregarded.
https://www.spigotmc.org/resources/dynamiclights.110707/update?update=558010 https://github.com/xCykrix/DynamicLights/releases/tag/v1.1.0
There are guides you can follow to migrate, but I would just leave it as-is as the database in this case is only used for player settings and is non-critical.
Plugin needs an update to 1.21.1