Posted April 27, 2022

musqueteer
New User
Registered: Apr 2012
From Netherlands

woytazGOG
GOG GALAXY Team
GOG.com Team
Registered: May 2016
From Poland
Posted April 27, 2022
high rated

1. Shutdown all instances of any GOG application or service
2. Copy/backup %ProgramData%\GOG.com\Galaxy\storage\galaxy-2.0.db > galaxy-2.0 Copy.db
3. Download and install a SQLite IDE (I used HeidiSQL)
4. Connect to galaxy-2.0.db
5. Run the recommended SQL query below
6. Launch GOG
7. Profit!
INSERT INTO ProductConfiguration(ProductID,createdAt)
SELECT productID, CURRENT_TIMESTAMP
FROM InstalledBaseProducts
WHERE NOT EXISTS (SELECT 1 FROM ProductConfiguration WHERE InstalledBaseProducts.productID = ProductConfiguration.productID);
As always, though, be careful with such things (that point about backing the DB up is very good) as it may screw things up for GOG GALAXY.

wh1tepointer
New User
Registered: Dec 2014
From Australia
Posted April 27, 2022

If you are affected by this bug, please download the GOG GALAXY installer. It will allow you to install the hotfix (2.0.49) on top of your existing installation, preserving all your local data (so you don't have to re-import the games).

dupahh
New User
Registered: Apr 2013
From Germany
Posted April 27, 2022
Where can I find this galaxy-2.0.db file? It is not in the GOG Folder

GJohnny
New User
Registered: Apr 2012
From United Kingdom
Posted April 27, 2022
Updated today and got this error, judging from the fix posted I'm just going to uninstall Galaxy, aint nobody got time for that, I wanna come home from work and spend what limited time I have free playing games not attempting to hack into the matrix because of some crap update that wasn't QC'd properly before being pushed onto me.
Edit: I see it was recently fixed by downloading and reinstalling the launcher... honestly not something I should need to do but okay I guess...
Edit: I see it was recently fixed by downloading and reinstalling the launcher... honestly not something I should need to do but okay I guess...
Post edited April 27, 2022 by GJohnny

brunzo
New User
Registered: Aug 2015
From Italy

wh1tepointer
New User
Registered: Dec 2014
From Australia

FiatLux
Fiat Lux
Registered: Feb 2011
From Denmark

Hobbun
New User
Registered: May 2016
From United States
Posted April 27, 2022

Thank you to everyone in forum for their fix for the problem or for trying to fix it , Thank you all !!!!
Also thank you to GOG for a speedy fix of their huge screw-up !
Official GOG post here :
https://www.gog.com/forum/general_beta_gog_galaxy_2.0/the_failed_to_load_game_database_error/post134
and
https://www.gog.com/forum/general_beta_gog_galaxy_2.0/the_failed_to_load_game_database_error/post137
(Just download the newest Galaxy client from the link on the bottom right at the front-page , then install that.
That should fix the problem. at least it did so for me. I had *NOT* started messing with the installation myself and had not attempted any of the fix suggested as I did not want to risk screwing up anything. )

Gummiel
New User
Registered: Jan 2015
From Denmark
Posted April 27, 2022
Well I had this issue earlier, didn't mess with any files manually, and I actually didn't have to manually download and install anything, when I got home today and booted up my PC it all works again by itself :)

Hobbun
New User
Registered: May 2016
From United States
Posted April 27, 2022
I applied the hotfix (another update came up), but my games are still gone.
Is it because I removed the galaxy-2.0 file originally to fix it? Do I need to rescan each of my games still to bring them back even with the hotfix installed?
Is it because I removed the galaxy-2.0 file originally to fix it? Do I need to rescan each of my games still to bring them back even with the hotfix installed?

Equ
New User
Registered: May 2015
From Estonia
Posted April 27, 2022
New 2.0.49 Hotfix update available. Do i dare to update? :D

Catel1
New User
Registered: Sep 2012
From France
Posted April 27, 2022

If you are affected by this bug, please download the GOG GALAXY installer. It will allow you to install the hotfix (2.0.49) on top of your existing installation, preserving all your local data (so you don't have to re-import the games).

FiatLux
Fiat Lux
Registered: Feb 2011
From Denmark
Posted April 27, 2022

Thank you to everyone in forum for their fix for the problem or for trying to fix it , Thank you all !!!!
Also thank you to GOG for a speedy fix of their huge screw-up !
Official GOG post here :
https://www.gog.com/forum/general_beta_gog_galaxy_2.0/the_failed_to_load_game_database_error/post134
and
https://www.gog.com/forum/general_beta_gog_galaxy_2.0/the_failed_to_load_game_database_error/post137
(Just download the newest Galaxy client from the link on the bottom right at the front-page , then install that.
That should fix the problem. at least it did so for me. I had *NOT* started messing with the installation myself and had not attempted any of the fix suggested as I did not want to risk screwing up anything. )

Original advice that you appear to refer to (in another thread) I have found is here :
https://www.gog.com/forum/general/gog_galaxy_failed_to_load_game_database/post113
https://www.gog.com/forum/general/gog_galaxy_failed_to_load_game_database/post119
For scanning it says :
launch Galaxy, from there just click the cog icon at the top left and select "Add games & friends" and after that just click "Scan folder for GOG games"
Nut I am not sure if it can help you when you deleted files , someone else will have to advice you on that one !
For the record then :
They have fixed the problem !
Just download the newest Galaxy client from the link on the bottom right at the front-page , then install that.
That should fix the problem. at least it did so for me. I had *NOT* started messing with the installation myself and had not attempted any of the fix suggested as I did not want to risk screwing up anything.
Thank you to everyone in forum for their fix for the problem or for trying to fix it , Thank you all !!!!
Also thank you to GOG for a speedy fix of their huge screw-up !
Official GOG post here :
https://www.gog.com/forum/general_beta_gog_galaxy_2.0/the_failed_to_load_game_database_error/post134
and
https://www.gog.com/forum/general_beta_gog_galaxy_2.0/the_failed_to_load_game_database_error/post137

SomeKittyCat
Big UwU
Registered: Dec 2013
From Austria
Posted April 27, 2022

If you are affected by this bug, please download the GOG GALAXY installer. It will allow you to install the hotfix (2.0.49) on top of your existing installation, preserving all your local data (so you don't have to re-import the games).