Page 1 of 1

New path for files.app

Posted: 15 Jun 2026, 13:25
by metallissimus
Hi,

a while ago I successfully set up an instance of files.app within my X3 installation for some file sharing. Now I wanted to use it again, but with a different URL. Because I don't need the old one anymore (and can't remember everything I did to set it up) I  renamed the corresponding folder in my webspace's root as well as the folder inside the ../content/ and changed the root path in _filesconfig.php and in _files/config/config.php.
When I try to access the new URL I get an error "root dir ../content/old_url does not exist." Did I miss another place where I need to change the path?

Re: New path for files.app

Posted: 16 Jun 2026, 00:28
by mjau-mjau
metallissimus wrote: Hi,

a while ago I successfully set up an instance of files.app within my X3 installation for some file sharing. Now I wanted to use it again, but with a different URL. Because I don't need the old one anymore (and can't remember everything I did to set it up) I  renamed the corresponding folder in my webspace's root as well as the folder inside the ../content/ and changed the root path in _filesconfig.php and in _files/config/config.php.
When I try to access the new URL I get an error "root dir ../content/old_url does not exist." Did I miss another place where I need to change the path?
A bit difficult to understand the full context, especially since using "_filesconfig.php" is considered advanced usage, mostly for when you have multiple installations that share the same cache and common configs. If you have edited both those configs in the correct paths, then the only possible remaining default config is directly in the "index.php" file that you are trying to access. This "default" config should normally never be edited, but it would be possible.

If the system is returning a reference to "../content/old_url" then of course it must be stored somewhere ;) Unless you have some nginx varnish caching going on, but this seems highly unlikely.

Re: New path for files.app

Posted: 16 Jun 2026, 05:07
by metallissimus
Thank you Karl. I don't know what went wrong yesterday, but when I checked everything again today, the path in _filesconfig.php was still the old one. I am sure I changed it, but maybe the connection between my FTP software and the editor didn't work out. After changing the path (again) everything is working fine.