Getting the following error after changing next cloud storage location to a new virtual drive

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

After changing the data storage location to a new virtual drive mounted to my vm.
‘/media/nextcloud/data’ im getting this error when trying to logon now.

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:

[/details]

Nextcloud version _(eg, 18.0.2)_: 
Operating system and version _(eg, Ubuntu 20.04)_:
snap
PHP version _(eg, 7.1)_:

The issue you are facing:


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

Steps to replicate it:

1. change the config.php data storage location.
2. move original storage location to new drive.
3. 

The output of your Nextcloud log in **Admin > Logging**:

PASTE HERE


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

PASTE HERE


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

PASTE HERE

have you checked permissions of your new virtual drive?
Pls avoid ntfs-formatted drives as there might occur problems due to sometimes failing permission settings.