Hey Guys. Very new to NextCloud/Docker/Linux… everything.
I’ve got my NextCloud up and running and everything works great. I can access remotely from other PCs and smart phones. Everything seems to be great. The only problem I am having is that my NextCloud says there’s only 15GB available, but I’ve got a 2TB NvME that the server is running on. I’m not sure how to get the rest of the space available for use in my environment.
I used portainer to deploy and the script that I used said to store data in /var/www/html which appears to be why it’s not showing the entire SSD… but that said, none of the items in that list show the full 2TB SSD. I only have 1 storage device in the server currently. Any assistance would be greatly appreciated!
Does anyone have any ideas on this? I’m really hoping I don’t have to start over. But even if I did start over, I’m not sure where I went wrong and the data folder went on the smaller partition so I wouldn’t know how to avoid it happening again.
However, it sounds like the issue is this: the Docker Engine stores all named volumes in /var/lib/docker/volumes on the underlying host. There are numerous ways to tackle your situation, but if the large drive (or a partition on it) can be dedicated to storing your Docker volumes you can simply mount that partition as /var/lib/docker/volumes.
You will need to migrate your existing data on the underlying host that already exists in /var/lib/docker/volumes to the new drive/partition. All of this happens outside of Nextcloud. It’s an OS level issue.