Nextcloud version (eg, 29.0.5): 29.0.4.1
Operating system and version (eg, Ubuntu 24.04): raspbian (Debian 12 - Bookworm)
Apache or nginx version (eg, Apache 2.4.25): nginx 1.27.0
PHP version (eg, 8.3): 8.2.22
The issue you are facing:
Can’t connect external storage. I’ve installed nextcloud following these steps:
In the compose.yml file I’ve changed the volumes directory from his directory to a personal directory at ~/nextcloud/extstor where I also mounted my external storage. This directory has full permissions for both root and www-data.
Everything configured just fine until I add the external storage as this nextcloud guide from the GUI. What happens is that the directory shows up in the nextcloud files at the web GUI but I’am unable to add anything there and the directory does not get downloaded when I sync with my devices. It returns service unavailable error 503.
The command to check the mounting directory permissions output:
drwxrwx--- 3 www-data www-data 4096 Aug 14 10:26 .
drwxr-xr-x 4 ace ace 4096 Aug 19 17:13 ..
drwxrwx--- 2 www-data www-data 16384 Aug 14 10:26 lost+found
Also in spite of what it says in the config.php file there is no ‘/var/www/html/’ or ‘/etc/nginx’ directory in my system.
Is this the first time you’ve seen this error? (Y/N): yes, total noob here
Steps to replicate it:
- Set up nextcloud within a docker container in a raspberry pi 4b like this
- Add external storage like this
- Try to download it to a device or paste any file to it.
The output of your Nextcloud log in Admin > Logging:
Currently out of my home nextwork and can’t access my dashboard or Nextcloud log in
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'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,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'cache',
'password' => '',
'port' => 6379,
),
'upgrade.disable-web' => true,
'instanceid' => 'ocrc59h1w8m3',
'passwordsalt' => 'V1bTvMaiiKqaona0zahwIqresekGo6',
'secret' => 'H2yODzf7ye72nk4c4WzqoxXwhnenJtfd/UKKg3p1D9Am8xgi',
'trusted_domains' =>
array (
0 => '192.168.1.232:8443',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '29.0.4.1',
'overwrite.cli.url' => 'https://192.168.1.232:8443',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_ace',
'dbpassword' => '0lY4Q5Nr9Xg4Ulygj5ac5dEIO3WOAf',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
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.
PASTE HERE