Internal Server Error under Externeral Storages Menu

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


Or for longer, use three backticks above and below the code snippet:


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 :heart:

Nextcloud version: 22.0.0
Operating system and version: Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version : PHP 8.0.8

The issue you are facing:
After i made a fresh installalltion and moved my Data and Databases to the new vServer i receive a “Internal Server Error” after klicking on the Tab “Settings → External Storages”.

I tried to wipe the external “oc_storages_credentials” Table but after that the whole Cloud gave me a internal Server Error.

Is this the first time you’ve seen this error?: Yes

Steps to replicate it:

  1. Install a fresh vServer with a LAMP Stack
  2. Move the Data and Database to the new System

The output of your Nextcloud log in Admin > Logging:

Error	index	Exception: HMAC does not match.
Error	PHP	Error: disk_free_space(): No such file or directory at /var/www/daten/lib/private/Files/Storage/Local.php#381

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

Nothing special inside

The output of your Apache/nginx/system log in /var/log/____:

Got error 'Primary script unknown'