Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5273

Advanced users • owncloudcmd on same machine hosting owncloud server

$
0
0
Hi all,
I'd like to sync a folder with my owncloud on a headless raspi. I'd like to do so using the owncloud CLI tool owncloudcmd. The folder resides on the very same raspi that is also hosting the owncloud instance.
What I did:
1) Log in into the owncloud webinterface with user name Solderdot
2) Create a folder "Folder" in the root directory.
3) Set-up a sync from my smartphone to that folder. Works fine. Data from smartphone is copied into that folder
4) In the web interface I see the following WebDav-path: https://192.168.2.200/owncloud/remote.p ... Solderdot/

Looking into https://doc.owncloud.com/desktop/next/a ... lient.html I conclude that the following command should work:

Code:

owncloudcmd --user Solderdot --password Secret --trust --logdebug /mnt/nas_raid/Solderdot/Folder https://192.168.2.200/owncloud/remote.php/dav/files/Solderdot/ /Folder
However, nothing is synced, instead I get the following message:

Code:

Source dir 'https://192.168.2.200/owncloud/remote.php/dav/files/Solderdot/' does not exist.
I guess something's wrong with my paths but I cannot see what.

The actual storage of the files on the Raspi is here:
/var/www/html/owncloud/data/Solderdot/files

Any ideas how I can sync a folder on my Raspi using a CLI tool? Need not necessarily be owncloudcmd.

Thanks in advance and best regards
-- Solderdot

Statistics: Posted by solderdot — Thu Mar 14, 2024 4:29 pm



Viewing all articles
Browse latest Browse all 5273

Trending Articles