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

All UUIDs are recorded in stickylocks.db but majority of usernames are "null" #14

Open
doomnote opened this issue Dec 4, 2018 · 2 comments

Comments

@doomnote
Copy link

doomnote commented Dec 4, 2018

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)

@Brianetta
Copy link
Owner

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 7b748b4, which is in version 1.0.

@Brianetta
Copy link
Owner

e74131b should update all stored names from NULL as players join the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants