I am using a Galaxy S10+ with the latest /e/OS as of February 5th 2023 and I have setup the following self hosted ecloud:
A Hetzner VPS CX11 with 1 core and 2 GB RAM and in addition a 2GB swapfile. I know 2 cores and 4 GB are recommended, but I have an old price for the CX11 and would like to keep it and ecloud itself is running fast and reliable enough with that specs and settings. The CX11 has only 20GB storage, so I bought also a Hetzner StorageBox BX11 with 1TB space, mounted it to /mnt/storagebox, moved all data from the default location /mnt/repo-base/volumes/nextcloud/data to /mnt/storagebox/data, umnounted /mnt/storagebox and now I am mounting the storagebox/data folder to the default location, i.e. /mnt/repo-base/volumes/nextcloud/data. Everything works fine, I have full access to the storage, except that it doesn’t sync with the phone. There is no “Device” folder or any other folder created and also photos are not synced.
Is there a relation between the mounted storage and the phone not syncing or is it that totally unrelated?
2GB RAM may not be enough… You could try temporarily stopping the RAM-eater mailserver (you can check with docker stats): docker-compose stop mailserver. Use docker-compose up -d to restart.
Hetzner Volumes are known to work flawlessly, because they are DASD.
What kind of mount do you use to your BX11?
At first, you may enable/install NextCloud Log reader, this will enable access to logs from NextCloud Settings (admin account). Enable Debug & Info+Warnings+Errors.
As an alternative, you may use docker-compose exec -T --user www-data nextcloud php occ log:watch -vvv, then attempt a sync operation.
You may also watch container logs with docker-compose logs nextcloud|less.
Also, you didn’t mention what kind of client you use on your phone.
For debugging, I’d advise to install the official NextCloud client, then watch logs.
whereas both, uid and gid are set to 33. Mounting works just fine, so I am not sure whether this is the issue.
I have the logs enabled and the reader installed, but I am not sure what error message I shall be looking for. Could you give a hint as to that?
I don’t use a specific client on my phone, just the one built in to /e/OS (version 1.8.1-20230205257804-beyond2lte). When I install Nextcloud client on the phone it does sync photos for example. I didn’t try a desktop client, because I am using Ubuntu and I connect to the Nextcloud/eCloud via Online Accounts.
No, I don’t get any file access related error messages. I also did remove the murena.io account several times, but it didn’t sort out the issue either. I also tried connecting the account with http only (not https) because that helped in the past, but also no sync.
Moreover, notes are synced, calendar is synced and contacts are synced as well, I assume as those are davx5-driven. But still no “Devices” folder is created neither do documents or photos sync.
Just another quick question. When I use Nextcloud app on the phone to sync photos I can choose if the photos should be uploaded in folders (one folder per month). Is this also possible with built-in sync?