Nextcloud Files App shows path twice like /files/files

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): 28.0.5
Operating system and version (eg, Ubuntu 29.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 8.3): PHP 8.1

The issue you are facing:

After Updating from 28.0.3 to 28.0.5 the URL Path for Files App looks wrong:
When i remove the second “/files” it redirects me to “/files/files” again

Is this normal or how can i fix this?

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Update to 28.0.5
  2. Check App Paths (Calendar, Photos, Files)
  3. see that files path is “duplicated”?

The output of your Nextcloud log in Admin > Logging:

No Errors since one month

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

extcloud configuration
passwordsalt	*********
secret	*********
0	localhost
7	nextcloudpi
5	nextcloudpi.local
8	nextcloudpi.lan
11	2a02:168:*********
1	192.168.*********
20	*********
21	nextcloud.xm*********
14	nextcloudpi
3	same as 20
22	*********
datadirectory	/media/ssd/ncdata/data
dbtype	mysql
overwrite.cli.url	https://*********
dbname	nextcloud
dbhost	localhost
dbtableprefix	oc_
mysql.utf8mb4	1
dbuser	*********
dbpassword	*********
installed	1
instanceid	*********
memcache.local	\OC\Memcache\Redis
memcache.locking	\OC\Memcache\Redis
host	/var/run/redis/redis.sock
port	0
timeout	0
password	*********
tempdirectory	/media/ssd/ncdata/data/tmp
mail_smtpmode	sendmail
mail_smtpauthtype	LOGIN
mail_from_address	admin
mail_domain	*********
preview_max_x	2048
preview_max_y	2048
jpeg_quality	60
overwriteprotocol	https
logfile	/media/ssd/ncdata/data/nextcloud.log
12	::1
loglevel	2
log_type	file
htaccess.RewriteBase	/
mail_sendmailmode	smtp
mail_smtpsecure	ssl
mail_smtpauth	1
mail_smtphost	smtp-mail.*********
mail_smtpport	587
mail_smtpname	*********
mail_smtppassword	*********
default_phone_region	DE
enable_previews	1
0	OC\Preview\PNG
1	OC\Preview\JPEG
2	OC\Preview\GIF
3	OC\Preview\BMP
4	OC\Preview\XBitmap
5	OC\Preview\MP3
6	OC\Preview\TXT
7	OC\Preview\MarkDown
8	OC\Preview\OpenDocument
9	OC\Preview\Krita
10	OC\Preview\HEIC
data-fingerprint	*********

The output of your Apache/nginx/system log in /var/log/____:


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


It’s normal. Not a problem.
It’s the URL for what happens to be the first/default section of the Files app: the “All files” section (see the left).

thank you @jtr

i just checked a public nextcloud demo and it looks like this:

here you can see /apps/files

In my instance it looks like this

are you sure that /files/files is normal?

I can reproduce the issue on my instance and on the demo instance, as you can se in the image below:

Steps to reproduce it:

  1. Login
  2. Click on the Files icon on the header
  3. Click on All files on the left pane
  4. After clicking on All files on the left pane, the URL will always contain /files/files/ on it

Unsure if this is a bug, but it’s easily triggered.

It’s not a bug. You’re comparing against v27 from the looks of it.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.