Storage Full Despite Cloud Backend


Nextcloud version: 17 in Docker
Operating system and version: Ubuntu 16.04
Apache or nginx version: nginx/1.10.3 (Ubuntu)
PHP version: 7.1

The issue you are facing:

I have an S3 storage backend configured, but the VPS running the application has all of the same data. Is this expected? Can I safely remove the external storage with no impact? If not, is there some way to get Nextcloud to delete local data at some limit?

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

It doesn’t.

Client uploads -> Nextcloud -> S3 and vice versa. Only when the client uploads the entire file must be present on the nextcloud server before the S3 upload begins.

So if you have a 100GB file then nextcloud will need 100GB+ storage until it’s uploaded the file to the S3 backend.

I have 60GB of images in S3. There are also 60GB of images on the compute device running Nextcloud. Everything is fully uploaded and present on both.

I don’t know then. This is docker and not a barebones install. Find the nginx/php/nextcloud/mysql logs and see if you can figure out why it’s not deleting them on the local file system.

We cannot help without knowing the error.

Is there a quick way to see where those logs are being written? I can’t seem to find them on either the host or the container.

sudo docker logs <container-name-id>

# to look around inside the container
sudo docker exec -it <container-name-id> /bin/sh  # maybe /bin/bash