Error when adding a second USB drive

[details=“Support intro”]

Nextcloud version (eg, 12.0.2): 15.0.5
Operating system and version (eg, Ubuntu 17.04): Raspbian
Apache or nginx version (eg, Apache 2.4.25): 2.5.2
PHP version (eg, 7.1): 7.1

The issue you are facing:

Issue:
Receive error 500 on Nextcloud website after attaching a second USB drive. Using NextCloudPi v. 15.0.5.

I’m currently on a Raspberry Pi 2 with a single USB drive attached to a USB 3.0 splitter hub. I am attempting to attach a second USB drive to the hub for use as a backup device. As soon as the second drive is connected, the website immediately begins throwing a 500 Internal Server Error and I am unable to continue.

Note that the app is unaffected.

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

Steps to replicate it:

  1. Plug in external drive.
  2. Open browser to URL.

The output of your Nextcloud log in Admin > Logging:
https://pastebin.com/v158rsHm