Bambu Studio (Linux) doesn't start after power outage

I was setting up a print job in Studio when there was a power outage in the area. Instant off for everything. Now two hours later the power’s back on but Studio won’t open. Not via the main menu nor via the app manager.

Uninstalled, reinstalled, nothing. Version 2.6.0 installed via the app manager. Can’t start it via the terminal either.

Any ideas on how to get it running again.

In the Terminal one can see it is already installed. But running it from the terminal throws up errors.

This looks like something else (besides the actual Studio binaries) got corrupted during the power loss.

My first guess would be something in the Studio user configuration itself, perhaps the main settings file, BambuStudio.conf. Critically, these configs are not removed/replaced when re-installing Studio, so they’d remain corrupted afterwards.

IIRC, in Linux the configs are stored in ~/BambuStudio/ (root of user home directory). If you rename that folder, Studio should re-create it on next startup (assuming it can start).

Note there’s typically also a BambuStudio.conf.bak file alongside the current config, created each time the live config changes, so the settings may still be recoverable if one cares about them.

If it’s not the Studio configs, then probably something more system-wide, like a library that Studio depends on, or even things like video driver. This will need to be diagnosed more carefully…

Actually if one Googles “glib gobject critical null pointer after power loss” the bot comes up with a nice summary (and provides reference links). Not sure I could summarize better, and certainly not as quickly :slight_smile: Verifying bot answers is usually a good idea, of course. It may help to add the specific Linux distro/version in there as well.

HTH,
-Max

1 Like

I also reckon something got corrupted and someone else also mentioned the Bambu folder too, however this doesn’t exist on my system, neither in Home nor in .config. I contacted Bambu and opened a support ticket, they’ve requested some more info so hopefully it’ll be sorted soon.

Most of the Bambu stuff on my linux system seems to be in this folder:
/home/USERNAME/.var/app/com.bambulab.BambuStudio and it’s subfolders.
Perhaps the location varies by distro?

1 Like

You’re right. That’s where they are.

Have you tried running chkdsk? You can check to see if the disk data has been corrupted and maybe fix it. You have the option to fix or not. It can work wonders and has brought corrupted drives with important data back.

Depending on the kind of filesystem you set up, there is likely a journal that can play back changes to the drive.

If you run it, there is also the chance you could make things worse. I’d recommend backing up anything else on the drive that is important before running chkdsk. IIRC you have to run it as superuser/root to actually let it make changes to the drive.

But it’s very powerful and has fully fixed some basket cases for me.