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: 25.0.4
Operating system and version: CentOS Stream 8
Apache or nginx version: Apache 2.4.37
PHP version: REMI PHP 8.1.16
The issue you are facing:
New clean install, and when editing/viewing md files, Apache spams a bunch of 404 errors. This happens on any file I edit. I’ve ran the proper file scans and repairs.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Install clean new version
- Create New Text file
- Edit text file, close it
- Open the Details for the file
- tail the Apache logs
The output of your Nextcloud log in Admin > Logging:
No errors in Nextcloud logging, only the 404s in Apache logging
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
'instanceid' => 'aspcokapdockadpockadp',
'passwordsalt' => 'aa0c9iad0c9ida0c',
'trusted_domains' =>
array (
0 => 'nextcloud.domain.lan',
1 => 'nextcloud-01.domain.lan',
2 => 'nextcloud-02.domain.lan',
),
'datadirectory' => '/data/nextcloud/data',
'dbtype' => 'mysql',
'version' => '25.0.4.1',
'overwrite.cli.url' => 'https://nextcloud.domain.lan/',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'db.domain.lan',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'ascas09cia0s9cias0c9i',
'installed' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\APCu',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'mail_from_address' => 'nextcloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'domain.lan',
'mail_smtphost' => 'localhost',
'mail_smtpport' => '25',
'default_phone_region' => 'US',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'updater.secret' => 'as-c0oas-c0oas-cas0c8uasc8u',
The output of your Apache system log in /var/log/____
:
10.10.10.1 - - [17/Mar/2023:12:21:37 +0000] "GET /.well-known/nodeinfo HTTP/1.1" 404 36 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"
10.10.10.1 - - [17/Mar/2023:13:12:24 +0000] "GET /ocs/v2.php/apps/text/workspace?path=%2FNotes HTTP/1.1" 404 142 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"
10.10.10.1 - - [17/Mar/2023:13:12:45 +0000] "GET /apps/files_versions/preview?file=%2FNotes%2FDanny%27s%20Notes%2FLinux.md&version=1676550016 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"
10.10.10.1 - - [17/Mar/2023:13:13:01 +0000] "GET /apps/files_versions/preview?file=%2FNotes%2FDanny%27s%20Notes%2FToDo.md&version=1677594540 HTTP/1.1" 404 2 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"