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

[Bug]: "Failed to create a placeholder directory file" on /media/something, max Flatseal permissions #3756

Open
mrmatteastwood opened this issue Feb 14, 2025 · 0 comments

Comments

@mrmatteastwood
Copy link

mrmatteastwood commented Feb 14, 2025

Describe the bug

Flatseal settings:

Image

When attempting to create a new bottle in /Media/Mattland/Wine Bottles, this happens:

Image

Background:

I set up Bottles a few months ago and ran a few games with it, they were all working fine after some tinkering. I tried 2 games yesterday and they no longer ran properly, Rayman Redemption wouldn't run in 16:9 (squished to 4:3 in full screen) and the Blake Stone source port, "Bstone" wouldn't start at all or it would crash when attempting to enter gameplay. I tried with different launchers than the default Soda, which just made matters worse.

I deleted the bottle and tried to set up a new one, which led to the issue above.

Other things I've tried:

Uninstalled Bottles, then ran flatpak uninstall --unused, flatpak repair --user and sudo flatpak repair, re-installed Bottles, double-checked Flatseal settings. Same result.

Tried installing the bottle in my home folder, works like a charm.

My system info:

https://termbin.com/7msw

To Reproduce

  1. Open Bottles
  2. Try to create a bottle on /media/something

Package

Flatpak from Flathub

Distribution

Linux Mint 22.1 Cinnamon

Debugging Information

Official Package: true
Version: '51.18'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-560-35-03/extra/nvidia/wine
        intel: &id001
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.8.0-53-generic
Disk:
    Total: 16628346880
    Free: 16628158464
RAM:
    MemTotal: 31.0GiB
    MemAvailable: 22.7GiB
Bottles_envs: null

Troubleshooting Logs

~$ flatpak run com.usebottles.bottles
11:34:26 (INFO) Launching with URI: None 
11:34:26 (INFO) [Activate] request received. 
11:34:26 (INFO) Bottles Started! 
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:782: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:814: FINISHME: support more multi-planar formats with DRM modifiers
11:34:26 (INFO) Performing Bottles checks… 
11:34:26 (INFO) Dxvks found:
	 - dxvk-2.5.1
 
11:34:26 (INFO) Vkd3ds found:
	 - vkd3d-proton-2.13
 
11:34:26 (INFO) Nvapis found:
	 - dxvk-nvapi-v0.7.1
 
11:34:26 (INFO) Latencyflexs found:
	 - latencyflex-v0.1.1
 
11:34:26 (INFO) Runners found:
	 - soda-9.0-1
	 - caffe-9.7
	 - vaniglia-8.6
	 - lutris-ge-lol-p8-12
	 - wine-ge-proton8-26
	 - kron4ek-wine-9.22-amd64
	 - sys-wine-9.0
 
11:34:26 (INFO) Temp directory cleaned successfully! 
11:34:26 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
11:34:26 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
11:34:26 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
11:34:26 (INFO) Catalog installers loaded 
11:34:26 (INFO) Catalog dependencies loaded 
11:34:26 (INFO) Catalog components loaded 
Wine Bottles
11:35:05 (ERROR) Failed to create placeholder directory/file at: /media/Mattland/Wine Bottles/MyLittleBottle

Additional context

No response

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

No branches or pull requests

1 participant