Nextcloud version (eg, 29.0.5): 29.0.6snap1
Operating system and version (eg, Ubuntu 24.04): Ubuntu 22.04.4 LTS
The issue you are facing:
All uploads result in a 500 error now. I can’t seem to see the 500 error in any of the logs so i don’t know whats causing it. This instance has been around for several years. Its snap install was moved to this particular server about 6 months ago and was working fine until the 8th. I did try snap reverting it and it didn’t help.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Try and upload something.
The output of your Nextcloud log in Admin > Logging:
Log is empty
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'log_type' => 'file',
'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
'logfilemode' => 416,
'instanceid' => 'ocqlvvkmsixa',
'passwordsalt' => 'nope.jpg',
'secret' => 'nope.jpg',
'trusted_domains' =>
array (
0 => 'nextcloud.mydomain.com',
),
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
'dbtype' => 'mysql',
'version' => '29.0.6.1',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'nope.jpg',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'encryption.legacy_format_support' => true,
'encryption.key_storage_migrated' => false,
'app_install_overwrite' =>
array (
0 => 'integration_dilingual',
),
'maintenance_window_start' => 1,
);
The output of your Apache/nginx/system log in /var/log/____
:
Only thing that stands out here is when things try and auto upload from the app they get a 404 error.
"HEAD /remote.php/dav/files/username/Photos/Auto%20upload/2023/08/PXL_20230820_184516300.jpg HTTP/1.0" 404 559 "-" "Mozilla/5.0 (Android) Nextcloud-android/3.29.2