Hello Nextcloud Community,
I hope this message finds you well. I am currently facing an issue with Nextcloud and would appreciate your assistance in resolving it. When attempting to upload a file using a shared link. Everything was ok , until I move to the 28.0.0 version,
as a user I got : Could not upload “quizz_1.png”
Nextcloud version (eg, 20.0.5): 28.0.0
Operating system and version (eg, Ubuntu 20.04): dockerised nextcloud:28.0.0 on ubuntu focal
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- go to Things
- try to put a file using drag and drop
The output of your Nextcloud log in Admin > Logging:
{"reqId":"ivDsxUIaXaMpfTW28iq9","level":0,"time":"2023-12-21T09:05:12+00:00","remoteAddr":"82.66.55.61","user":"--","app":"webdav","method":"PUT","url":"/public.php/webdav/quizz_1.png","message":"Exception thrown: Sabre\\DAV\\Exception\\NotAuthenticated","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0","version":"28.0.0.11","exception":{"Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Message":"","Code":0,"Trace":[{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/ServerFactory.php","line":133,"function":"{closure}","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connector\\Sabre\\ServerFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:PUT",["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v1/publicwebdav.php","line":124,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/public.php","line":81,"args":["/var/www/html/apps/dav/appinfo/v1/publicwebdav.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/appinfo/v1/publicwebdav.php","Line":81,"message":"","exception":{},"CustomMessage":"Exception thrown: Sabre\\DAV\\Exception\\NotAuthenticated"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'overwrite.cli.url' => 'https://things.thinkr.fr',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => 'redis',
'port' => 6379,
),
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'ocwcnmggvgle',
'passwordsalt' => 'XXX',
'secret' => 'XXXX',
'trusted_domains' =>
array (
0 => 'things.thinkr.fr',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '28.0.0.11',
'overwriteprotocol' => 'https',
'dbname' => 'ncdb',
'dbhost' => 'maria-db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'XXXX',
'dbpassword' => 'XXXX',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
...
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
...
),
'twofactor_enforced_excluded_groups' =>
array (
...
),
'loglevel' => 0,
'maintenance' => false,
'bulkupload.enabled' => false,
'theme' => '',
'updater.secret' => 'XXXX',
'app_install_overwrite' =>
array (
0 => 'ocdownloader',
1 => 'impersonate',
),
'mail_from_address' => 'XXX',
'mail_domain' => 'XXX',
);