Open doomnote opened 5 years ago
Writing to the database file while the server is running can lock the file for exclusive write access. If quitting the sqlite client doesn't allow the server to write to the database, the server will need to be restarted.
The problem that caused the usernames to be blank was itself solved in 7b748b47d298419d2e73307dc5c8d9e320459281, which is in version 1.0.
e74131bedd93883bef20499e04837e0fa5cfbcd3 should update all stored names from NULL as players join the server.
For some reason only about 6 of 22 players have both their UUID and username recorded in the .db file. Everyone else is "null" so they can't be added as users to other people's locked blocks. I opened the .db file and added in the missing usernames but now it's saying:
03.12 18:47:19 [Server] INFO [StickyLocks] org.sqlite.SQLiteException: [SQLITE_READONLY_DBMOVED] The database file has been moved since it was opened (attempt to write a readonly database)