You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Runner seems to be getting reset on launch #4917
I tried to reproduce this on Bottles 67.5 (Flathub) with a bottle whose runner wasn't installed, like yours. Opening it showed "Missing Runner" and switched the bottle to the first installed runner. I then picked ge-proton11-11, restarted Bottles and opened the bottle again: it kept ge-proton11-11, and the log showed the change was written to bottle.yml.
In your video, both changes are gone after the restart: the automatic switch to soda-11.0-10 and your choice of ge-proton10-33. So it looks like Bottles can't save bottle.yml on your system, or saves it somewhere other than where it reads it from. A failed save isn't shown in the UI; it only appears in the log. Could you check these?
Start Bottles from a terminal with flatpak run com.usebottles.bottles, change the runner, and paste the output. Look especially for a traceback right after Setting Key Runner=….
Is the bottle stored in a custom location? Please post the output of:
cd ~/.var/app/com.usebottles.bottles/data/bottles/bottles/
ls -la "Mass Effect Legendary Edition"
cat "Mass Effect Legendary Edition/placeholder.yml"
If placeholder.yml exists, also post the Path:, Custom_Path: and Runner: lines from the bottle.yml in the folder it points to.
So bottles updates the bottle.yml in my SSD, but on restart it gets overriden by the local copy. All the folders in ~/.var/app/com.usebottles.bottles/data/bottles/bottles are empty. (just a bottle.yml and an empty drive_c`.
This is most likely the issue - but I'm not exactly sure if the issue is on the bottle side or my side.
Thanks, that's the cause, and I can reproduce it now. A bottle in a custom location should have only a placeholder.yml in ~/.var/app/com.usebottles.bottles/data/bottles/bottles/<name>/, pointing at the real folder. Yours has a bottle.yml there instead. So at startup Bottles reads that old copy (soda-9.0-1), while every change is saved to the Path it contains, on /mnt/Storage. The change works until the next restart, and then the old copy is read again.
To fix this bottle, add the missing placeholder.yml:
Do the same for your other bottles, using the Path: from each one's bottle.yml. The old bottle.yml is then ignored, so you can leave it in place.
I tested this in Bottles 67.5 with a test bottle in the same state (custom path, stale local bottle.yml, missing runner, no placeholder). Without the placeholder I got your result: after a restart it was back on the old runner with "Missing Runner". With the placeholder, the runner I picked was still there after a restart, with no dialog.
One thing to check afterwards: Bottles saves the whole config, so while the old copy is loaded, any save also overwrites the real bottle.yml on /mnt/Storage with the old values. In my test, just opening the bottle replaced the runner I had picked. You'll probably have to pick the runner again, and it's worth checking each bottle's other settings and programs.
Do you remember how these folders were created? For example, restoring a backup, copying your data from another install, or moving the bottles by hand. They're named after the bottle (with spaces), while Bottles would name the placeholder folder Mass-Effect-Legendary-Edition, so they don't look like what Bottles creates for a custom location. Knowing that would show whether something in Bottles produces this state. Either way, Bottles could detect it: when a bottle.yml has Custom_Path set and points to a folder with its own bottle.yml, it could read that one instead of the stale copy.
It's been a while since I installed them - but pretty sure all i did was import each bottle - so i did a backup in my old system (to my SSD) and then imported each of them to the new one.
I was thinking that maybe I could've created the bottles locally first then imported? but I assume only having an empty drive_c and bottle.yml would rule that out.
Regardless - It works now thanks! Feel free to close the issue - seeing as no one else has reported this issue - it might be fair to assume that it's either a rare bug - or there was something i did that was hacky.
Glad it works now, and thanks for the details. They were enough to find where those folders came from.
Importing a configuration backup on Bottles before 65.0 (August 2026) created exactly this: a folder named after the bottle with an empty drive_c, and a bottle.yml that still pointed at the original custom path, but no placeholder.yml. Your bottles kept working because the data was still on /mnt/Storage, so nothing looked wrong until a setting had to survive a restart. So it wasn't anything hacky on your side, assuming that's the kind of backup you used. I ran that old import code here with a config backup from a custom-path bottle and got the same folder.
65.0 changed that import (21055ba), so new imports shouldn't end up like this, but bottles imported earlier stay in this state until they get a placeholder.yml.
The loader now reads the external bottle's current configuration instead of the stale local copy, even when placeholder.yml is missing. If the external location is unavailable, it leaves it alone. Fixed in 4a3611d and available in the latest cpak.
Activity
nuknes commentedon Oct 29, 2026
cannot seem to reproduce this issue.
cpuccino commentedon Oct 29, 2026
Screencast.From.2026-10-30.05-36-58.mp4
let me know if there's any other deets you need.
mirfalltnixein commentedon Nov 2, 2026
I tried to reproduce this on Bottles 67.5 (Flathub) with a bottle whose runner wasn't installed, like yours. Opening it showed "Missing Runner" and switched the bottle to the first installed runner. I then picked
ge-proton11-11, restarted Bottles and opened the bottle again: it keptge-proton11-11, and the log showed the change was written tobottle.yml.In your video, both changes are gone after the restart: the automatic switch to
soda-11.0-10and your choice ofge-proton10-33. So it looks like Bottles can't savebottle.ymlon your system, or saves it somewhere other than where it reads it from. A failed save isn't shown in the UI; it only appears in the log. Could you check these?flatpak run com.usebottles.bottles, change the runner, and paste the output. Look especially for a traceback right afterSetting Key Runner=….placeholder.ymlexists, also post thePath:,Custom_Path:andRunner:lines from thebottle.ymlin the folder it points to.cpuccino commentedon Nov 3, 2026
Found something odd -
/home/cpuccino/.var/app/com.usebottles.bottles/data/bottles/bottles/Mass Effect Legendary Edition/bottle.ymlso this is not being updated.
The one being updated is
/mnt/Storage/BottlesLibrary/Mass Effect Legendary Edition/Pfx/Mass-Effect-Legendary-Edition/bottle.ymlSo bottles updates the bottle.yml in my SSD, but on restart it gets overriden by the local copy. All the folders in
~/.var/app/com.usebottles.bottles/data/bottles/bottlesare empty. (just a bottle.yml and an empty drive_c`.This is most likely the issue - but I'm not exactly sure if the issue is on the bottle side or my side.
mirfalltnixein commentedon Nov 3, 2026
Thanks, that's the cause, and I can reproduce it now. A bottle in a custom location should have only a
placeholder.ymlin~/.var/app/com.usebottles.bottles/data/bottles/bottles/<name>/, pointing at the real folder. Yours has abottle.ymlthere instead. So at startup Bottles reads that old copy (soda-9.0-1), while every change is saved to thePathit contains, on/mnt/Storage. The change works until the next restart, and then the old copy is read again.To fix this bottle, add the missing
placeholder.yml:Do the same for your other bottles, using the
Path:from each one'sbottle.yml. The oldbottle.ymlis then ignored, so you can leave it in place.I tested this in Bottles 67.5 with a test bottle in the same state (custom path, stale local
bottle.yml, missing runner, no placeholder). Without the placeholder I got your result: after a restart it was back on the old runner with "Missing Runner". With the placeholder, the runner I picked was still there after a restart, with no dialog.One thing to check afterwards: Bottles saves the whole config, so while the old copy is loaded, any save also overwrites the real
bottle.ymlon/mnt/Storagewith the old values. In my test, just opening the bottle replaced the runner I had picked. You'll probably have to pick the runner again, and it's worth checking each bottle's other settings and programs.Do you remember how these folders were created? For example, restoring a backup, copying your data from another install, or moving the bottles by hand. They're named after the bottle (with spaces), while Bottles would name the placeholder folder
Mass-Effect-Legendary-Edition, so they don't look like what Bottles creates for a custom location. Knowing that would show whether something in Bottles produces this state. Either way, Bottles could detect it: when abottle.ymlhasCustom_Pathset and points to a folder with its ownbottle.yml, it could read that one instead of the stale copy.cpuccino commentedon Nov 4, 2026
It's been a while since I installed them - but pretty sure all i did was import each bottle - so i did a backup in my old system (to my SSD) and then imported each of them to the new one.
I was thinking that maybe I could've created the bottles locally first then imported? but I assume only having an empty
drive_candbottle.ymlwould rule that out.Regardless - It works now thanks! Feel free to close the issue - seeing as no one else has reported this issue - it might be fair to assume that it's either a rare bug - or there was something i did that was hacky.
mirfalltnixein commentedon Nov 4, 2026
Glad it works now, and thanks for the details. They were enough to find where those folders came from.
Importing a configuration backup on Bottles before 65.0 (August 2026) created exactly this: a folder named after the bottle with an empty
drive_c, and abottle.ymlthat still pointed at the original custom path, but noplaceholder.yml. Your bottles kept working because the data was still on/mnt/Storage, so nothing looked wrong until a setting had to survive a restart. So it wasn't anything hacky on your side, assuming that's the kind of backup you used. I ran that old import code here with a config backup from a custom-path bottle and got the same folder.65.0 changed that import (21055ba), so new imports shouldn't end up like this, but bottles imported earlier stay in this state until they get a
placeholder.yml.fix: handle startup and imported bottle regressions
mirkobrombin commentedon Nov 4, 2026
The loader now reads the external bottle's current configuration instead of the stale local copy, even when
placeholder.ymlis missing. If the external location is unavailable, it leaves it alone. Fixed in 4a3611d and available in the latest cpak.cpuccino commentedon Nov 4, 2026
Awesome, thanks!