Skip to content

[Bug]: wrong mount path makes bottles disappear #4375

@wankelbauer

Description

@wankelbauer

Describe the bug

Dear community,

System: Linux Arch
Bottles Installation: flatpak
Case: I installed a bottle/game on a external SSD.
Problem: It disappeared after two weeks/updates because of the wrong temporary mount path
Wrong Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
At all its my mistake that i havent choosen the correct static mount path /media/SSD...
BUT it would be a lot more user friendly, if there would be some sign if the bottle path isnt "online" anymore
instead of just dissapearing and inform no nothing.

Solution was to change the path in two files:
=internal bottle directory, placeholder.yml pointing at the external SSD with the actual bottle/game on it
/.var/app/com.usebottles.bottles/data/bottles/bottles/SSD256GB_rockstar/placeholder.yml
Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
to /media/SSD_256GB/SSD256GB_rockstar

and
in the external SSD with the actual bottle/game on
/media/SSD_256GB/SSD256GB_rockstar/bottle.yml
Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
to
Path: /media/SSD_256GB/SSD256GB_rockstar

Thanks, in advance.

To Reproduce

Dear community,

System: Linux Arch
Bottles Installation: flatpak
Case: I installed a bottle/game on a external SSD.
Problem: It disappeared after two weeks/updates because of the wrong temporary mount path
Wrong Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
At all its my mistake that i havent choosen the correct static mount path /media/SSD...
BUT it would be a lot more user friendly, if there would be some sign if the bottle path isnt "online" anymore
instead of just dissapearing and inform no nothing.

Solution was to change the path in two files:
=internal bottle directory, placeholder.yml pointing at the external SSD with the actual bottle/game on it
/.var/app/com.usebottles.bottles/data/bottles/bottles/SSD256GB_rockstar/placeholder.yml
Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
to /media/SSD_256GB/SSD256GB_rockstar

and
in the external SSD with the actual bottle/game on
/media/SSD_256GB/SSD256GB_rockstar/bottle.yml
Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
to
Path: /media/SSD_256GB/SSD256GB_rockstar

Thanks, in advance.

Package

Flatpak from Flathub

Distribution

CachyOS

Debugging Information

Dear community,

System: Linux Arch
Bottles Installation: flatpak
Case: I installed a bottle/game on a external SSD.
Problem: It disappeared after two weeks/updates because of the wrong temporary mount path
Wrong Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
At all its my mistake that i havent choosen the correct static mount path /media/SSD...
BUT it would be a lot more user friendly, if there would be some sign if the bottle path isnt "online" anymore
instead of just dissapearing and inform no nothing.

Solution was to change the path in two files: 
=internal bottle directory, placeholder.yml pointing at the external SSD with the actual bottle/game on it 
/.var/app/com.usebottles.bottles/data/bottles/bottles/SSD256GB_rockstar/placeholder.yml
Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
to /media/SSD_256GB/SSD256GB_rockstar


and
in the external SSD with the actual bottle/game on
 /media/SSD_256GB/SSD256GB_rockstar/bottle.yml
Path: /run/user/1000/doc/9c1f3901/SSD_256GB/SSD256GB_rockstar
to
Path: /media/SSD_256GB/SSD256GB_rockstar

Thanks, in advance.

Troubleshooting Logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions