Invalid wine prefix error when trying to update witcher 3 after changing the way I mount my drive

So I changed the way I mount the drive and its path where my games and prefixes and now I get this error when updating witcher 3. (its still the same drive and location, just under different name)

I can run the game without the update. It recognizes the new path and runs fine. It just doesn’t update.

Current runner options:

Error when trying to update game:

Logs:
pedro@Flamengo:~$ flatpak run net.lutris.Lutris -d
Gtk-Message: 16:03:08.057: Failed to load module “xapp-gtk3-module”
INFO 2026-10-17 16:03:08,599 [application.do_command_line:468]:Starting Lutris 0.5.22
ERROR 2026-10-17 16:03:08,600 [system.read_process_output:192]:[‘/usr/bin/vulkaninfo’, ‘–summary’] command failed: [Errno 2] No such file or directory: ‘/usr/bin/vulkaninfo’
DEBUG 2026-10-17 16:03:08,601 [system._execute:108]:Executing lspci
INFO 2026-10-17 16:03:09,009 [startup.run_all_checks:120]:“card1” is No GPU (10de:2709 1043:8993 nvidia) Driver 595.99.02
ERROR 2026-10-17 16:03:09,009 [system.read_process_output:192]:[‘/usr/bin/vulkaninfo’, ‘–summary’] command failed: [Errno 2] No such file or directory: ‘/usr/bin/vulkaninfo’
DEBUG 2026-10-17 16:03:09,010 [system._execute:108]:Executing lspci
INFO 2026-10-17 16:03:09,255 [startup.run_all_checks:120]:“card2” is No GPU (1002:13c0 1043:8877 amdgpu) Driver None

(net.lutris.Lutris:2): libayatana-appindicator-WARNING **: 16:03:09.259: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
DEBUG 2026-10-17 16:03:09,287 [xrandr.get_resolutions:91]:Retrieving resolution list
DEBUG 2026-10-17 16:03:09,399 [xrandr._get_vidmodes:18]:Retrieving 33 video modes from XrandR
DEBUG 2026-10-17 16:03:09,435 [path_cache._update_missing_games:114]:Checking for missing games
DEBUG 2026-10-17 16:03:09,627 [api.check_stale_runtime_versions:52]:Modified at Sat 17 Oct 2026 10:34:54 AM , will update after Sat 17 Oct 2026 04:34:54 PM
DEBUG 2026-10-17 16:03:09,628 [lutriswindow.create_runtime_updater_cb:1460]:Runtime up to date
DEBUG 2026-10-17 16:03:10,436 [http._request:119]:POST https://lutris.net/api/users/library?since=1792248935
DEBUG 2026-10-17 16:03:10,649 [game.save:470]:Saving The Witcher 3: Wild Hunt — Remastered (wine) with config ID the-witcher-3-wild-hunt-remastered-1791924950
DEBUG 2026-10-17 16:03:10,649 [config.save:255]:Saving LutrisConfig(level=game, game_config_id=the-witcher-3-wild-hunt-remastered-1791924950, runner=wine) config to /home/pedro/.var/app/net.lutris.Lutris/data/lutris/games/the-witcher-3-wild-hunt-remastered-1791924950.yml
DEBUG 2026-10-17 16:03:10,673 [path_cache.add_to_path_cache:47]:Adding The Witcher 3: Wild Hunt — Remastered (wine) to path cache
INFO 2026-10-17 16:03:13,248 [gog.get_game_details:289]:Getting game details for 1495134320
DEBUG 2026-10-17 16:03:13,253 [http._request:119]:GET https://api.gog.com/products/1495134320?expand=downloads&locale=en-US
DEBUG 2026-10-17 16:03:14,895 [xrandr._get_vidmodes:18]:Retrieving 33 video modes from XrandR
DEBUG 2026-10-17 16:03:14,915 [gog.get_extras:340]:Download extras for GOG ID 1495134320 and its DLCs
INFO 2026-10-17 16:03:14,915 [gog.get_game_details:289]:Getting game details for 1495134320
DEBUG 2026-10-17 16:03:14,918 [http._request:119]:GET https://api.gog.com/products/1495134320?expand=downloads&locale=en-US
INFO 2026-10-17 16:03:15,039 [gog.get_game_details:289]:Getting game details for 1495134320
DEBUG 2026-10-17 16:03:15,043 [http._request:119]:GET https://api.gog.com/products/1495134320?expand=downloads&locale=en-US
DEBUG 2026-10-17 16:03:15,197 [http._request:119]:GET https://api.gog.com/products?ids=1445276764,1878029410&expand=downloads
DEBUG 2026-10-17 16:03:15,474 [installerwindow.present_extras_page:582]:Showing extras page
INFO 2026-10-17 16:03:16,312 [installer.prepare_game_files:185]:Getting files for gogpatch_500c
DEBUG 2026-10-17 16:03:16,313 [gog.get_patch_files:486]:Getting patches for GOG 5.00c
INFO 2026-10-17 16:03:16,313 [gog.get_game_details:289]:Getting game details for 1495134320
DEBUG 2026-10-17 16:03:16,317 [http._request:119]:GET https://api.gog.com/products/1495134320?expand=downloads&locale=en-US
INFO 2026-10-17 16:03:16,411 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch10
DEBUG 2026-10-17 16:03:16,415 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch10
INFO 2026-10-17 16:03:16,835 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch2
DEBUG 2026-10-17 16:03:16,839 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch2
INFO 2026-10-17 16:03:17,169 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch3
DEBUG 2026-10-17 16:03:17,173 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch3
INFO 2026-10-17 16:03:17,474 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch4
DEBUG 2026-10-17 16:03:17,479 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch4
INFO 2026-10-17 16:03:17,768 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch5
DEBUG 2026-10-17 16:03:17,772 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch5
INFO 2026-10-17 16:03:18,194 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch6
DEBUG 2026-10-17 16:03:18,198 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch6
INFO 2026-10-17 16:03:18,685 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch7
DEBUG 2026-10-17 16:03:18,690 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch7
INFO 2026-10-17 16:03:18,971 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch8
DEBUG 2026-10-17 16:03:18,975 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch8
INFO 2026-10-17 16:03:19,349 [gog.get_download_info:296]:Getting download info for https://api.gog.com/products/1495134320/downlink/patch/en1patch9
DEBUG 2026-10-17 16:03:19,353 [http.request:119]:GET https://api.gog.com/products/1495134320/downlink/patch/en1patch9
DEBUG 2026-10-17 16:03:19,705 [installerwindow.on_files_prepared:669]:Game files prepared.
DEBUG 2026-10-17 16:03:19,711 [installerwindow.present_installer_files_page:684]:Presenting installer files page
DEBUG 2026-10-17 16:03:20,561 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)8.bin is available
INFO 2026-10-17 16:03:20,562 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-8.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,562 [files_box.on_file_available:108]:gogpatch_500c is available
INFO 2026-10-17 16:03:20,562 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232).exe is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,562 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)1.bin is available
INFO 2026-10-17 16:03:20,562 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-1.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,563 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)2.bin is available
INFO 2026-10-17 16:03:20,563 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-2.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,563 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)3.bin is available
INFO 2026-10-17 16:03:20,563 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-3.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,563 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)4.bin is available
INFO 2026-10-17 16:03:20,563 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-4.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,564 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)5.bin is available
INFO 2026-10-17 16:03:20,564 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-5.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,564 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)6.bin is available
INFO 2026-10-17 16:03:20,564 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-6.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
DEBUG 2026-10-17 16:03:20,564 [files_box.on_file_available:108]:patch_the_witcher_3_wild_hunt___game_of_the_year_edition_5.00b
(94161)to_5.00c(94232)7.bin is available
INFO 2026-10-17 16:03:20,564 [files_box.on_file_available:114]:All files available
INFO 2026-10-17 16:03:20,564 [installerwindow.on_files_available:714]:All files are available, continuing install
INFO 2026-10-17 16:03:20,564 [cache.save_to_cache:113]:File /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog/patch_the_witcher_3_wild_hunt
-game_of_the_year_edition_5.00b(94161)to_5.00c(94232)-7.bin is already cached in /media/pedro/Backup/lutris cache/the-witcher-3-wild-hunt-remastered/gog
INFO 2026-10-17 16:03:20,567 [installerwindow.launch_installer_commands:722]:Launching installer commands
DEBUG 2026-10-17 16:03:20,567 [interpreter._iter_commands:321]:Installer command: {‘task’: {‘name’: ‘wineexec’, ‘executable’: ‘gogpatch-500c’}}
INFO 2026-10-17 16:03:20,573 [wine.create_prefix:109]:Creating a win64 prefix in /media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered
INFO 2026-10-17 16:03:20,573 [wine.create_prefix:121]:Winepath: /home/pedro/.var/app/net.lutris.Lutris/data/lutris/runners/wine/Proton-CachyOS Latest/files/bin/wine
Started initial process 4386 from /home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run createprefix
Start monitoring process.
INFO: umu-launcher version 1.4.4 (3.13.15 (main, Nov 10 2011, 15:00:00) [GCC 15.2.0])
/app/lib/python3.13/site-packages/requests/init.py:109: RequestsDependencyWarning: urllib3 (2.7.0) or chardet (None)/charset_normalizer (2.1.1) doesn’t match a supported version!
warnings.warn(
INFO: steamrt4 is up to date
ERROR: [Errno 13] Permission denied: ‘/media/pedro/Games’
Traceback (most recent call last):
File “/usr/lib/python3.13/pathlib/_local.py”, line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3.13/pathlib/_local.py”, line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/media/pedro/Games/gog’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run/main.py”, line 95, in
sys.exit(main())
~~~~^^
File “/home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run/main.py”, line 90, in main
return umu_run(args)
File “/home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run/umu/umu_run.py”, line 1024, in umu_run
compat_path.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/pathlib/_local.py”, line 726, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/pathlib/_local.py”, line 726, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/pathlib/_local.py”, line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘/media/pedro/Games’
Monitored process exited.
Initial process has exited (return code: 0)
All processes have quit
Exit with return code 0
DEBUG 2026-10-17 16:03:21,140 [monitored_command.on_stop:232]:Process 4384 has terminated with code 0
ERROR 2026-10-17 16:03:21,576 [wine.create_prefix:177]:Umu exited unexpectedly during prefix creation (return code: 0)
WARNING 2026-10-17 16:03:21,577 [wine.prelaunch:1117]:No valid prefix detected in /media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered, creating one…
INFO 2026-10-17 16:03:21,577 [wine.create_prefix:109]:Creating a win64 prefix in /media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered
INFO 2026-10-17 16:03:21,577 [wine.create_prefix:121]:Winepath: /home/pedro/.var/app/net.lutris.Lutris/data/lutris/runners/wine/Proton-CachyOS Latest/files/bin/wine
Started initial process 4390 from /home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run createprefix
Start monitoring process.
INFO: umu-launcher version 1.4.4 (3.13.15 (main, Nov 10 2011, 15:00:00) [GCC 15.2.0])
/app/lib/python3.13/site-packages/requests/init.py:109: RequestsDependencyWarning: urllib3 (2.7.0) or chardet (None)/charset_normalizer (2.1.1) doesn’t match a supported version!
warnings.warn(
INFO: steamrt4 is up to date
ERROR: [Errno 13] Permission denied: ‘/media/pedro/Games’
Traceback (most recent call last):
File “/usr/lib/python3.13/pathlib/_local.py”, line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3.13/pathlib/_local.py”, line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/media/pedro/Games/gog’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run/main.py”, line 95, in
sys.exit(main())
~~~~^^
File “/home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run/main.py”, line 90, in main
return umu_run(args)
File “/home/pedro/.var/app/net.lutris.Lutris/data/lutris/runtime/umu/umu-run/umu/umu_run.py”, line 1024, in umu_run
compat_path.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/pathlib/_local.py”, line 726, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/pathlib/_local.py”, line 726, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.13/pathlib/_local.py”, line 722, in mkdir
os.mkdir(self, mode)
~~~~~~~~^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘/media/pedro/Games’
Monitored process exited.
Initial process has exited (return code: 0)
All processes have quit
Exit with return code 0
DEBUG 2026-10-17 16:03:22,244 [monitored_command.on_stop:232]:Process 4388 has terminated with code 0
ERROR 2026-10-17 16:03:22,578 [wine.create_prefix:177]:Umu exited unexpectedly during prefix creation (return code: 0)
ERROR 2026-10-17 16:03:22,579 [registry.init:85]:No registry file at /media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered/user.reg
ERROR 2026-10-17 16:03:22,579 [jobs.target:64]:Error while completing task <bound method CommandsMixin.task of <interpreter.ScriptInterpreter object at 0x75f9a8597400 (lutris+installer+interpreter+ScriptInterpreter at 0x64da026f0b90)>>: <class ‘OSError’> Invalid Wine prefix path /media/pedro/Games/gog/the-witcher-3-wild-hunt-remastered, make sure to create the prefix before saving to a registry
File “/app/lib/python3.13/site-packages/lutris/util/jobs.py”, line 62, in target
result = self.function(*a, **kw)
File “/app/lib/python3.13/site-packages/lutris/installer/commands.py”, line 430, in task
command = task(**data)
File “/app/lib/python3.13/site-packages/lutris/runners/commands/wine.py”, line 376, in wineexec
runner.prelaunch()
~~~~~~~~~~~~~~~~^^
File “/app/lib/python3.13/site-packages/lutris/runners/wine.py”, line 1126, in prelaunch
self.set_regedit_keys()
~~~~~~~~~~~~~~~~~~~~~^^
File “/app/lib/python3.13/site-packages/lutris/runners/wine.py”, line 1062, in set_regedit_keys
prefix_manager.clear_registry_subkeys(path, key)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File “/app/lib/python3.13/site-packages/lutris/util/wine/prefix.py”, line 137, in clear_registry_subkeys
registry.save()
~~~~~~~~~~~~~^^
File “/app/lib/python3.13/site-packages/lutris/util/wine/registry.py”, line 156, in save
raise OSError(
“Invalid Wine prefix path %s, make sure to create the prefix before saving to a registry” % prefix_path
)
ERROR 2026-10-17 16:03:22,580 [interpreter._iter_commands:306]:Last install command failed, show error

This line indicates that it’s still looking for the game in what I assume is the old location. I don’t know if/how one would point it to the new directory; I don’t know where lutris keeps this info. Only thing I can think to try, as a bandaid solution, is making a simlink from ex. /mnt/Games to /media/pedro/Games:

sudo ln -s /mnt/Games/ /media/pedro/ (it needs sudo cos /media/username isn’t normally writable)
or, if you only want it for this specific game:

sudo ln -s /mnt/Games/the-witcher-3-wild-hunt-remastered /media/pedro/Games/

This will likely be undone on reboot. So it’s more of a once-off solution so you can update the game. I hope someone more knowlegeable chimes in for a permanent fix.

The second screenshot indicates something which is saved in the windows registry must be present at the time of install or it will fail. If now a name of a folder has changed, that would be the same thing as not existing. From that it would make me look into registry settings under wine, and might be as easy as searching for entries with the previous directory name and replacing it with the new one. Worth a try, and can’t hurt anything if the old path no longer exists.

Another thing to try which is more or less benign, is to run
sudo restorecon -Rv /home/pedro
as well as the same command on the folders where your games are stored. This resets hidden selinux permissions which can cause all manner of errors on filesystems.

you can run
restorecon -Rnv /home/pedro
in order to see what it will do without doing it. (Dry run)

This was a good shout, however nothing in wine registry points to the place where my files were or are. Only reference to any path its to the actual folder inside the prefix

Thanks this helped me as you said for one boot than it got undone. but thanks for giving me a bandaid

1 Like

this didnt work unfortunately.

My guess is you’ll have to run restorecon on the /mnt/Games which I assume used to be /media/pedro. Selinux attaches hidden permissions to every file and folder which are no longer valid when the location of that file or folder changes. It’s possible it needs fixed for every file and folder on that drive, and perhaps /mnt/Games is the root of that drive so that will work.

Any place The Witcher stores files, I’d say re-run restorecon just as I said above. Again, -Rvn for a dry run, -Rv for the real thing.
-R = recursive (I think -r is the same)
-v = Verbose, meaning show all the changes.
-n = Don’t change any tags.

I’m specifically thinking /mnt/Games as the place to start if you didn’t do that already.
And to save the output since it’ll be way more than your scrollback buffer in terminal, use
restorecon /mnt/Games -Rvn > restoreconlogfile.txt and now you can actually go back and see all the changes it will make. It will take some time to run that if there’s a lot of files on the drive. I just ran it on 15K files on an NVME and that took some time.

If that doens’t solve it, I’m out of ideas. It sure seems like it’s selinux unhappy about you renaming that volume.

Another fix might be to save all your config files and savegames and reinstall from scratch. If you have the space, backup the entire mess somewhere else and then you have all your modified files to put back.

In the end the solution was easier than I thought.
Just click on remove game in lutris.
Since the path didn’t exist, nothing happen besides whatever lutris config was creating this was removed.

I then just added Witcher back manually by going inside the gog store and clicking on "Locate installed “game”

1 Like