Share links break SMB external storage

Anytime I use a share link to external storage I get the errors (listed in the pastebin link) and the server states its in maintenance mode. Users are unable to upload and get random errors stating file “x” cant be found, or “storage is unavailable”. I’m not gonna bother adding the rest of the logs as they show nothing of value to this issue. Server is configured to long timeouts and PHP has been configured for big file uploads via the docs. I have also posted to Reddit with no luck.


Nextcloud version: 25.10
Operating system and version: 22.04
Apache or nginx version: 2.4.52
PHP version: 8.1

The issue you are facing:

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

Steps to replicate it:

  1. Set up external storage via the App
  2. Create share link
  3. Upload via link

The output of your Nextcloud log in Admin > Logging:

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

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.