Install AIO docker with alternate data storage

  • Nextcloud Server version: Nextcloud Hub 9 (30.0.5)
  • Operating system and version : Debian 6.1.124-1 (Bookworm)
  • Web server and version _(e.g, Apache 2.4.25) : Don’t know how to retrieve.
  • Reverse proxy and versionDon’t jknow how to retrieve.
  • PHP version : Don’t know how to retrieve.
  • Is this the first time you’ve seen this error? (Yes / No): Yes.
  • When did this problem seem to first start? At install
  • Installation method : AIO
  • Are you using CloudfIare, mod_security, or similar? No

Summary of the issue you are facing:

Attemp to install with alternate data location.

Steps to replicate it:

docker run
–init
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 80:80
–publish 8080:8080
–publish 8443:8443
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
-e SKIP_DOMAIN_VALIDATION=true
–env NEXTCLOUD_DATADIR=“/mnt/ncdata/nextcloud”
–volume /var/run/docker.sock:/var/run/docker.sock:ro
nextcloud/all-in-one:latest

After install, did: chown -R www-data:www-data /mnt/ncdata/nextcloud

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

Not sure how to issue ooc commands, nor do I know where to find config.php, as I don't even know what the path to nextcloud is. I am new with Docker and Containers.

#### Apps

The output of `occ app:list` (if possible).
![ScreenCap|690x121](upload://xWcgx0f9QG8cUJcX2ayscllwmno.jpeg)

Hi, what exactly is the error you are running into?

Hello, thank you for the response.

It’s not so much that I am getting an error, it’s moreso that I don’t think the storage space is there, nor allocated.

Have you already opened the AIO interface and started the installation? See How to Install the Nextcloud All-in-One on Linux - Nextcloud

I did, all this:
docker run
–init
–sig-proxy=false
–name nextcloud-aio-mastercontainer
–restart always
–publish 80:80
–publish 8080:8080
–publish 8443:8443
–volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config
–volume /var/run/docker.sock:/var/run/docker.sock:ro
-e SKIP_DOMAIN_VALIDATION=true
–env NEXTCLOUD_DATADIR=“/mnt/ncdata/nextcloud”
–volume /var/run/docker.sock:/var/run/docker.sock:ro
nextcloud/all-in-one:latest

After install, did: chown -R www-data:www-data /mnt/ncdata/nextcloud

However, I am not seeing the disk in the system/administration.

Yes, you are not seeing any files in there because you did not finish the installation yet. See the guide I’ve sent.

I went through the guide completely, I don’t understanmd what I am missing???

After doing that, did you open AIO, by navigating to https://<nextcloud’s_privateIP>:8080 ???

Hello, yes, I did, but now I have moved to a bare metal install, so this is no longer an issue.