DigitalOcean Droplet Issue with hard drive and sharing Owncloud

July 30, 2015 551 views

We're having major major issues with the Owncloud system on DigitalOceans droplet.

Everything works fine with just 1 user. But as soon as a file directory becomes shared, mayhem happens!

Here's whats happening:

Computer 1 (the primary) has a folder called Shared1 on the users hard drive. When Owncloud is attached to it, it uploads the whole folder to the owncloud system. When the user makes changes or adds/removes items/folders inside the Shared1 folder, it auto updates the owncloud. (so working as intended.)

However, when Computer2 user is added to the mix. Computer1 shares the Shared1 folder with Computer2. On Computer2, the user Syncs with Owncloud and proceeds to download the Shared1 folder content. However, someone happens before it gets completed. Then suddenly Computer2 is uploading their version of Shared1 back into Owncloud, and it re-writes the files.

If Computer2 is missing folders in Shared1, it will delete it from the folder on Owncloud, which in turn gets updated on Computer1, and the files get removed from Computer1.

So when testing this, we originally had a Shared1 folder with thousands of items, 8.4GB. Now its 4.6GB and half the files have vanishes from the original source.

Not only that, but in Owncloud interface (desktop APP) it shows 1.7 of 4.6GB in use (for Computer1) - the Owncloud size is 20GB.... its saying disk full.

On Computer2, it says 2..4 of 3.2GB used.......

Why can't it read that the Droplet is 20GB?

1 Answer


Your first issues seems intended, as you are syncing to a folder that has contents. This means that OwnCloud has to compare and determine which is the most recent. In my experience this can be a bit inaccurate.

I would recommend syncing the shared1 folder to a new folder on computer2 after computer1 has fully uploaded it. Then move files locally on computer2 from their version of shared1 to the new shared1 folder. This will sync everything up locally, then OwnCloud just receives what's left. This also allows you to handle any conflicts on the computer2 machine locally.

Sadly, if comptuer1 has synced the new shared1 folder down, with the missing files, then those files are likely lost as OwnCloud has synced and removed them.

As for your second issue, this is a bit odd and I'm not sure what to suggest as I'm not sure what's going on. Have you tried restarting everything to ensure there aren't any caches holding up? Restart the owncloud server, or even the droplet; as well as the clients.

With file size and storage sometimes space can be used up while a process is running even after it's removed. With the complex situation in your first question, it's possible something wonky is going on and I would try restarting everything to get a good start and help get rid of any of these quirks.

Have another answer? Share your knowledge.