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

Game Database fails to load after Playnite App restart #3801

Open
rocket1138 opened this issue Aug 17, 2024 · 15 comments
Open

Game Database fails to load after Playnite App restart #3801

rocket1138 opened this issue Aug 17, 2024 · 15 comments
Labels

Comments

@rocket1138
Copy link

Bug Description

Playnite fails to load the database after a restart
Themes and addons work fine but games disappear from the application after doing a library update and then a restart

To Reproduce

No response

Diagnostics ID

3857908e-fb3c-498d-aba3-979506eba2b5

Screenshots

image_2024-08-17_022433305
Library before update

image_2024-08-17_022723247
Library after update and restart

@rocket1138 rocket1138 added the bug label Aug 17, 2024
@Jeshibu
Copy link
Contributor

Jeshibu commented Aug 17, 2024

Does this still happen if you disable SuccessStory?

@JosefNemec
Copy link
Owner

I see some errors in the logs related to library data handling, but I would guess this is indeed caused by the latest SuccessStory update since people are having similar issues after they installed it.

@rocket1138
Copy link
Author

just tried with SS disabled still happening

@JosefNemec
Copy link
Owner

Does it happen with all plugins disabled?

You have ton of other plugins installed that could be messing breaking this, like installation status updater, given that you have installed filter enabled, it might be setting all games to uninstalled state.

@rocket1138
Copy link
Author

Yes still happening with all addons disabled

I restore my backup, playnite restarts games are there i update the library and restart games are gone

@JosefNemec
Copy link
Owner

Playnite never removes games on its own, so it's most likely just game states being changed for some reason and games being filtered out. Disable all filters to see if those games are really gone.

@JosefNemec
Copy link
Owner

Also please attach library\games.db file from install folder.

@rocket1138
Copy link
Author

image_2024-08-17_035408339
heres a screenshot game arent there even with filters disabled

@JosefNemec
Copy link
Owner

Please attach library\games.db file from install folder.

@rocket1138
Copy link
Author

games.zip

@JosefNemec
Copy link
Owner

I'm afraid the file is corrupted beyond repair. Do you have the original backup file from before games go missing? Can you attach that one? Also during that backup restore you mentioned, did you have plugins enabled? My only guess is that some plugin might be corrupting it.

@rocket1138
Copy link
Author

Yes i have an old backup of my database
backup_games.zip
I tried to restore it both with plugins enabled and disabled and games still keep despairing after trying to update the library and restarting the app

@JosefNemec
Copy link
Owner

Try with this file: games.zip

There's definitely something fishy going on with your games file. It's around 34MB while it should be just around 4MB.

@rocket1138
Copy link
Author

Doesn't seem to work Playnite does its thing with the backup but no games show

At this point would you recommend starting from scratch with a new installation?

I really don't want to waste development time on something that was most likely my fault.

@JosefNemec
Copy link
Owner

Yeah I have no idea what's going on, db files must be messed up in some specific way. I'm out of ideas if rebuilt file I attached doesn't work.

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

No branches or pull requests

4 participants
@JosefNemec @Jeshibu @rocket1138 and others