Owncloudcmd sync problem

Hi, i try sync folder by terminal and i have problem:

 owncloudcmd /root/Projekt/ http://127.0.0.1/owncloud/remote.php/webdav/Projekt

i have anser

10-13 15:36:01:311 Passing NO proxy to csync for "http://127.0.0.1/owncloud/remote.php/webdav/Projekt"
10-13 15:36:01:314 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
10-13 15:36:01:315 Transaction Start  "checkConnect"
10-13 15:36:01:398 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
10-13 15:36:01:399 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
10-13 15:36:01:400 #### Update start #################################################### >>
10-13 15:36:01:400 csync_update: Journal: /root/Projekt/.csync_journal.db
10-13 15:36:01:402 csync_memstat_check: Memory: 122428K total size, 24360K resident, 21464K shared
10-13 15:36:01:402 csync_update: No exclude file loaded or defined!
10-13 15:36:01:402 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:36:01:402 csync_walker: file: /root/Projekt/.Metallica - Nothing Else Matters [Official Music Video].avi.~1c69fb81 [file_id=]
10-13 15:36:01:403 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:36:01:403 _csync_detect_update: Checking for rename based on inode # 1052674
10-13 15:36:01:403 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE inode=?1: 0
10-13 15:36:01:403 _csync_detect_update: file: .Metallica - Nothing Else Matters [Official Music Video].avi.~1c69fb81, instruction: INSTRUCTION_NEW <<=
10-13 15:36:01:403 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:36:01:403 csync_walker: file: /root/Projekt/.Metallica - Nothing Else Matters [Official Music Video].mp3.~46b52dfb [file_id=]
10-13 15:36:01:403 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:36:01:403 _csync_detect_update: Checking for rename based on inode # 1052675
10-13 15:36:01:404 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE inode=?1: 0
10-13 15:36:01:404 _csync_detect_update: file: .Metallica - Nothing Else Matters [Official Music Video].mp3.~46b52dfb, instruction: INSTRUCTION_NEW <<=
10-13 15:36:01:404 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:36:01:404 csync_walker: file: /root/Projekt/.asdfs.txt.~1e23ef54 [file_id=]
10-13 15:36:01:404 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:36:01:404 _csync_detect_update: Checking for rename based on inode # 1052676
10-13 15:36:01:404 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE inode=?1: 0
10-13 15:36:01:404 _csync_detect_update: file: .asdfs.txt.~1e23ef54, instruction: INSTRUCTION_NEW <<=
10-13 15:36:01:404 csync_ftw:  <= Closing walk for /root/Projekt with read_from_db 0
10-13 15:36:01:405 csync_update: Update detection for local replica took 0,00 seconds walking 3 files.
10-13 15:36:01:405 csync_memstat_check: Memory: 122428K total size, 24484K resident, 21464K shared
10-13 15:36:01:405 oc_module: opendir method called on owncloud://127.0.0.1/owncloud/remote.php/webdav/Projekt
10-13 15:36:01:405 oc_module: * scheme owncloud
10-13 15:36:01:405 oc_module: * host 127.0.0.1
10-13 15:36:01:405 oc_module: * port 0
10-13 15:36:01:405 oc_module: * path /owncloud/remote.php/webdav/Projekt
10-13 15:36:01:405 oc_module: * user
10-13 15:36:01:405 oc_module: Timeout set to 300 seconds
10-13 15:36:01:405 oc_module: No proxy configured.
10-13 15:36:01:405 oc_module: fetch_resource_list_recursive Starting recursive propfind owncloud://127.0.0.1/owncloud/remote.php/webdav/Projekt /owncloud/remote.php/webdav/Projekt
10-13 15:36:01:502 oc_module: Authentication required
10-13 15:36:01:502 oc_module: Call the csync callback for ownCloud
** Authentication required:
Enter your username:

i give login next:

** Authentication required:
Enter your password:

i give password next:

10-13 15:38:32:828 oc_module: Recursive propfind result code 207.
10-13 15:38:32:828 oc_module: fill_recursive_propfind_cache /owncloud/remote.php/webdav/Projekt Server maybe did not give us an 'infinity' depth result
10-13 15:38:32:828 oc_module: get_listdir_context_from_recursive_cache No element /owncloud/remote.php/webdav/Projekt in cache found
10-13 15:38:32:828 oc_module: clear_propfind_recursive_cache Invalidating..
10-13 15:38:33:110 oc_module: Simple propfind result code 207.
10-13 15:38:33:110 oc_module: opendir returning handle 0xb002b768 (count=4)
10-13 15:38:33:110 csync_walker: file: owncloud://127.0.0.1/owncloud/remote.php/webdav/Projekt/asdfs.txt [file_id=00000514ocnupo5p8ron]
10-13 15:38:33:110 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:38:33:111 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE fileid=?1: 1000000
10-13 15:38:33:111 _csync_detect_update: file: asdfs.txt, instruction: INSTRUCTION_NEW <<=
10-13 15:38:33:111 csync_walker: file: owncloud://127.0.0.1/owncloud/remote.php/webdav/Projekt/Metallica - Nothing Else Matters [Official Music Video].mp3 [file_id=00000519ocnupo5p8ron]
10-13 15:38:33:111 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:38:33:111 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE fileid=?1: 0
10-13 15:38:33:111 _csync_detect_update: file: Metallica - Nothing Else Matters [Official Music Video].mp3, instruction: INSTRUCTION_NEW <<=
10-13 15:38:33:111 csync_walker: file: owncloud://127.0.0.1/owncloud/remote.php/webdav/Projekt/Metallica - Nothing Else Matters [Official Music Video].avi [file_id=00000518ocnupo5p8ron]
10-13 15:38:33:111 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
10-13 15:38:33:111 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE fileid=?1: 0
10-13 15:38:33:111 _csync_detect_update: file: Metallica - Nothing Else Matters [Official Music Video].avi, instruction: INSTRUCTION_NEW <<=
10-13 15:38:33:111 csync_ftw:  <= Closing walk for owncloud://127.0.0.1/owncloud/remote.php/webdav/Projekt with read_from_db 0
10-13 15:38:33:111 csync_update: Update detection for remote replica took 5,03 seconds walking 3 files.
10-13 15:38:33:111 csync_memstat_check: Memory: 122436K total size, 24028K resident, 20972K shared
10-13 15:38:33:112 <<#### Update end ####################################################  5032
10-13 15:38:33:112 _csync_merge_algorithm_visitor: INSTRUCTION_NEW      file: .asdfs.txt.~1e23ef54
10-13 15:38:33:112 _csync_merge_algorithm_visitor: INSTRUCTION_NEW      file: .Metallica - Nothing Else Matters [Official Music Video].mp3.~46b52dfb
10-13 15:38:33:112 _csync_merge_algorithm_visitor: INSTRUCTION_NEW      file: .Metallica - Nothing Else Matters [Official Music Video].avi.~1c69fb81
10-13 15:38:33:112 csync_reconcile: Reconciliation for local replica took 0,00 seconds visiting 3 files.
10-13 15:38:33:112 _csync_merge_algorithm_visitor: INSTRUCTION_NEW      file: asdfs.txt
10-13 15:38:33:112 _csync_merge_algorithm_visitor: INSTRUCTION_NEW      file: Metallica - Nothing Else Matters [Official Music Video].avi
10-13 15:38:33:112 _csync_merge_algorithm_visitor: INSTRUCTION_NEW      file: Metallica - Nothing Else Matters [Official Music Video].mp3
10-13 15:38:33:112 csync_reconcile: Reconciliation for remote replica took 0,00 seconds visiting 3 files.
10-13 15:38:33:113 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
10-13 15:38:33:114 Transaction Start  "checkConnect"
10-13 15:38:33:206 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid")
10-13 15:38:33:208 Using QNAM/HTTP parallel code path
10-13 15:38:33:208 void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
10-13 15:38:33:218 !!! Mirall::PUTFileJob created for  QUrl( "http://127.0.0.1/owncloud/" )  querying "Projekt/.Metallica - Nothing Else Matters [Official Music Video].avi.~1c69fb81"
10-13 15:38:33:219 void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
10-13 15:38:33:219 !!! Mirall::PUTFileJob created for  QUrl( "http://127.0.0.1/owncloud/" )  querying "Projekt/.Metallica - Nothing Else Matters [Official Music Video].mp3.~46b52dfb"
10-13 15:38:33:220 void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
10-13 15:38:33:220 !!! Mirall::PUTFileJob created for  QUrl( "http://127.0.0.1/owncloud/" )  querying "Projekt/.asdfs.txt.~1e23ef54"
10-13 15:38:33:458 void Mirall::AbstractNetworkJob::slotFinished() 204 "Host requires authentication"
10-13 15:38:33:458 void Mirall::PropagateUploadFileQNAM::slotPutFinished()  QUrl( "http://127.0.0.1/owncloud/remote.php/webdav/Projekt/.asdfs.txt.~1e23ef54" )  FINISHED WITH STATUS 204 "Host requires authentication" QVariant(int, 401) QVariant(QString, "Unauthorized")
10-13 15:38:33:458 "<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:o="http://owncloud.org/ns">
  <s:exception>OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden</s:exception>
  <s:message/>
  <o:hint xmlns:o="o:">password login forbidden</o:hint>
</d:error>
"
10-13 15:38:33:460 void Mirall::SyncEngine::slotJobCompleted(const Mirall::SyncFileItem&) ".asdfs.txt.~1e23ef54" 2 "Host requires authentication"
10-13 15:38:33:460 Object::connect: No such slot QCoreApplication::slotCredentialsFetched()
10-13 15:38:33:460 Error: User is emty!
10-13 15:38:33:460 InvalidateToken: User is empty, bailing out!
10-13 15:38:33:460 Error: User is emty!
10-13 15:38:33:462 Strange: User is empty!
10-13 15:38:33:462 Error: User is emty!
10-13 15:38:33:462 virtual void Mirall::PropagateDownloadFileQNAM::start() "Metallica - Nothing Else Matters [Official Music Video].avi" 2
10-13 15:38:33:463 "INSERT OR REPLACE INTO downloadinfo (path, tmpfile, etag, errorcount) VALUES ( ? , ?, ? , ? )" "Metallica - Nothing Else Matters [Official Music Video].avi" ".Metallica - Nothing Else Matters [Official Music Video].avi.~1c69fb81" "15b8eed6aa6ed96fc0b9730f6a2b171c" 0
10-13 15:38:33:463 Transaction Start  "download file start"
10-13 15:38:33:565 void Mirall::AbstractNetworkJob::setTimeout(qint64) 300000
10-13 15:38:33:565 !!! Mirall::GETFileJob created for  QUrl( "http://127.0.0.1/owncloud/" )  querying "Projekt/Metallica - Nothing Else Matters [Official Music Video].avi"
10-13 15:38:33:566 Strange: User is empty!
10-13 15:38:33:566 QWidget: Cannot create a QWidget when no GUI is being used
Przerwane

and :frowning: what is wrong ??

I found solution in this topic:

https://forum.owncloud.org/viewtopic.php?t=37316

But where i can find owncloudcmd in version 2.1.
I install my owncloudcmd from repo, and i cant even check what version i have

root@TestServer:~# owncloudcmd --version
owncloudcmd - command line ownCloud client tool.
Usage: owncloudcmd <sourcedir> <owncloudurl>
A proxy can either be set manually using --httpproxy or it
uses the setting from a configured sync client.
Options:
  --silent               Don't be so verbose
  --confdir = configdir: Read config from there.
  --httpproxy = proxy:   Specify a http proxy to use.
                         Proxy is http://server:port
  --trust                Trust the SSL certification.

owncloudcmd has the same version like the owncloud-client package installed at your system.

ok i have version 1.7, but where i can find version 2.1

I found owncloud-client 2.1 here :

http://www.2daygeek.com/install-upgrade-owncloud-desktop-sync-client-on-ubuntu-centos-debian-fedora-mint-rhel-opensuse/

but this repo not include owncloudcmd ;(

The desktop client packages provided here are including a recent version of owncloudcmd:

https://owncloud.org/install/#install-clients

I guess you are using that wrong:

owncloudcmd --trust /home/mrow4a/ownCloud http[s]://[user]:[password]@[localhost:8080]/remote.php/webdav

This is proper usage. What do you obtain from that?

someting is wrong

root@TestServer:~# owncloudcmd --trust /root/Projekt/ https://admin:password@localhost:8080/remote.php/webdev/Projekt
01-01 01:18:54:884 Passing NO proxy to csync for "http://admin:6329030@localhost:8080/remote.php/webdev/Pr  ojekt/remote.php/webdav/"
01-01 01:18:54:888 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "m  ode", "modtime", "type", "md5", "fileid")
01-01 01:18:54:889 Transaction Start  "checkConnect"
01-01 01:18:54:980 Columns in the current journal:  ("phash", "pathlen", "path", "inode", "uid", "gid", "m  ode", "modtime", "type", "md5", "fileid")
01-01 01:18:54:982 =====sync DB has only 0 items, enable recursive PROPFIND if csync supports it
01-01 01:18:54:982 #### Update start #################################################### >>
01-01 01:18:54:982 csync_update: Journal: /root/Projekt/.csync_journal.db
01-01 01:18:54:984 csync_memstat_check: Memory: 122428K total size, 23024K resident, 20156K shared
01-01 01:18:54:984 csync_update: No exclude file loaded or defined!
01-01 01:18:54:985 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
01-01 01:18:54:985 csync_walker: file: /root/Projekt/.Metallica - Nothing Else Matters [Official Music Vid  eo].avi.~1c69fb81 [file_id=]
01-01 01:18:54:985 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
01-01 01:18:54:985 _csync_detect_update: Checking for rename based on inode # 1052674
01-01 01:18:54:985 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE inode=?1: 0
01-01 01:18:54:986 _csync_detect_update: file: .Metallica - Nothing Else Matters [Official Music Video].av  i.~1c69fb81, instruction: INSTRUCTION_NEW <<=
01-01 01:18:54:986 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
01-01 01:18:54:986 csync_walker: file: /root/Projekt/.Metallica - Nothing Else Matters [Official Music Vid  eo].mp3.~46b52dfb [file_id=]
01-01 01:18:54:986 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
01-01 01:18:54:986 _csync_detect_update: Checking for rename based on inode # 1052675
01-01 01:18:54:986 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE inode=?1: 0
01-01 01:18:54:986 _csync_detect_update: file: .Metallica - Nothing Else Matters [Official Music Video].mp  3.~46b52dfb, instruction: INSTRUCTION_NEW <<=
01-01 01:18:54:987 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 1000000
01-01 01:18:54:987 csync_walker: file: /root/Projekt/.asdfs.txt.~1e23ef54 [file_id=]
01-01 01:18:54:987 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE phash=?1: 0
01-01 01:18:54:987 _csync_detect_update: Checking for rename based on inode # 1052676
01-01 01:18:54:987 sqlite_profile: _SQL_ SELECT * FROM metadata WHERE inode=?1: 0
01-01 01:18:54:987 _csync_detect_update: file: .asdfs.txt.~1e23ef54, instruction: INSTRUCTION_NEW <<=
01-01 01:18:54:987 csync_ftw:  <= Closing walk for /root/Projekt with read_from_db 0
01-01 01:18:54:987 csync_update: Update detection for local replica took 0,00 seconds walking 3 files.
01-01 01:18:54:987 csync_memstat_check: Memory: 122428K total size, 23212K resident, 20220K shared
01-01 01:18:54:988 oc_module: opendir method called on owncloud://admin:6329030@localhost:8080/remote.php/  webdev/Projekt/remote.php/webdav
01-01 01:18:54:988 oc_module: * scheme owncloud
01-01 01:18:54:988 oc_module: * host localhost
01-01 01:18:54:988 oc_module: * port 8080
01-01 01:18:54:988 oc_module: * path /remote.php/webdev/Projekt/remote.php/webdav
01-01 01:18:54:988 oc_module: * user admin
01-01 01:18:54:988 oc_module: Timeout set to 300 seconds
01-01 01:18:54:988 oc_module: No proxy configured.
01-01 01:18:54:988 oc_module: fetch_resource_list_recursive Starting recursive propfind owncloud://admin:6  329030@localhost:8080/remote.php/webdev/Projekt/remote.php/webdav /remote.php/webdev/Projekt/remote.php/we  bdav
01-01 01:18:54:990 oc_module: Neon error code was 5
01-01 01:18:54:990 oc_module: WRN: propfind named failed with 5, request error: Could not connect to serve  r: Połączenie odrzucone
01-01 01:18:54:990 oc_module: fill_recursive_propfind_cache /remote.php/webdev/Projekt/remote.php/webdav S  erver maybe did not give us an 'infinity' depth result
01-01 01:18:54:990 oc_module: get_listdir_context_from_recursive_cache No cache
01-01 01:18:54:991 oc_module: Neon error code was 5
01-01 01:18:54:991 oc_module: Neon error code was 5
01-01 01:18:54:991 oc_module: WRN: propfind named failed with 5, request error: Could not connect to serve  r: Połączenie odrzucone
01-01 01:18:54:991 oc_module: Errno set to 7
01-01 01:18:54:991 csync_ftw: opendir failed for owncloud://admin:password@localhost:8080/remote.php/webdev  /Projekt/remote.php/webdav - errno 7
01-01 01:18:54:991  #### ERROR during  csync_update :  "An internal error number 1060 happened. Could not   connect to server: Połączenie odrzucone"
01-01 01:18:54:992 CSync run took  9
01-01 01:18:54:992 No database Transaction to commit
01-01 01:18:54:992 "/root/.local/share/data//owncloudcmd//cookies.db"

Your version is too old.

Please use at least 2.2.4.

Where i can download version 2.2.4, i have installed from repo :

deb http://download.owncloud.org/download/repositories/stable/Debian_8.0/ /

when i add clients repo:

deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0/ /

then i have dependency problem

root@TestServer:~# aptitude inatall owncloud-client-cmd
Następujące NOWE pakiety zostaną zainstalowane:
  gstreamer1.0-plugins-base{a} libasound2{a} libasound2-data{a} libaudio2{a} libcdparanoia0{a} libdrm-intel1{a} libdrm-nouveau2{a}
  libdrm-radeon1{a} libdrm2{a} libelf1{a} libgl1-mesa-dri{a} libgl1-mesa-glx{a} libglapi-mesa{a} libglu1-mesa{a}
  libgstreamer-plugins-base1.0-0{a} libgstreamer1.0-0{a} libice6{a} libllvm3.5{a} libmng1{a} libneon27-gnutls{a} libogg0{a} liborc-0.4-0{a}
  libowncloudsync0{a} libpciaccess0{a} libqt4-dbus{a} libqt4-network{a} libqt4-opengl{a} libqt4-sql{a} libqt4-sql-sqlite{a} libqt4-xml{a}
  libqt4-xmlpatterns{a} libqtcore4{a} libqtdbus4{a} libqtgui4{a} libqtkeychain1{a} libqtwebkit4{a} libsm6{a} libtheora0{a} libtxc-dxtn-s2tc0{a}
  libvisual-0.4-0{a} libvisual-0.4-plugins{a} libvorbis0a{a} libvorbisenc2{a} libx11-xcb1{a} libxcb-dri2-0{a} libxcb-dri3-0{a} libxcb-glx0{a}
  libxcb-present0{a} libxcb-sync1{a} libxshmfence1{a} libxt6{a} libxxf86vm1{a} owncloud-client{a} owncloud-client-cmd{b}
  owncloud-client-l10n{a} qdbus{a} qtchooser{a} qtcore4-l10n{a} x11-common{a}
0 pakietów aktualizowanych, 59 instalowanych, 0 do usunięcia i 0 nieaktualizowanych.
Do pobrania 0 B/41,3 MB archiwów. Zajęte po rozpakowaniu: 146 MB.
Następujące pakiety mają niespełnione zależności:
 owncloud-client-cmd : Wymaga: libowncloudsync0 (= 1.7.0~beta1+really1.6.4+dfsg-1+deb8u1) ale zaplanowana jest instalacja wersji 2.2.4-1.3.
Następujące działania rozwiążą problemy z zależnościami:
     Zatrzymanie bieżących wersji następujących pakietów:
1)     owncloud-client-cmd [niezainstalowany]

HI all,

I have the same problem on debian 8.
I'm using client version 2.2.4 (installed by jessie-backports repo)

When I try to sync a folder, and after entring my credentials, I receive this message

Set proxy configuration to use system configuration
Cannot load system exclude list or list supplied via --exclude
Abandon

Thanks for your help;
Regards,
Yannick

Hi all,

Any change to fix this issue ?

Thanks,
Yannick