New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 3.0 cmd client no longer accepts legacy urls in the form of https://demo.owncloud.com/remote.php/webdav/ #279
Comments
While using 2.11 (base Ubuntu20.04)✔️ server root url/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core Works fine! ✔️ old webdav/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core/remote.php/webdav Works fine! ❌ new webdav/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core/remote.php/dav/files/admin Error (appended url): Log10-11 12:08:17:499 [ info sync.accessmanager ]: 2 "" "http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "a04ddebb-b325-4730-8f8a-7400610cd096"
10-11 12:08:17:499 [ info sync.networkjob ]: Created OCC::JsonApiJob("http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json", "a04ddebb-b325-4730-8f8a-7400610cd096", "a04ddebb-b325-4730-8f8a-7400610cd096") for QObject(0x0)
10-11 12:08:17:606 [ warning sync.networkjob ]: OCC::JsonApiJob("http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json", "a04ddebb-b325-4730-8f8a-7400610cd096", "a04ddebb-b325-4730-8f8a-7400610cd096", "Error transferring http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json - server replied: Not Found") QNetworkReply::ContentNotFoundError "Server replied \"404 Not Found\" to \"GET http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json\"" 404
10-11 12:08:17:606 [ info sync.networkjob.jsonapi ]: JsonApiJob of QUrl("http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS "ContentNotFoundError Server replied \"404 Not Found\" to \"GET http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json\""
10-11 12:08:17:606 [ warning sync.networkjob.jsonapi ]: Network error: OCC::JsonApiJob("http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json", "a04ddebb-b325-4730-8f8a-7400610cd096", "a04ddebb-b325-4730-8f8a-7400610cd096", "Error transferring http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json - server replied: Not Found") "Server replied \"404 Not Found\" to \"GET http://localhost/core/remote.php/dav/files/admin/ocs/v1.php/cloud/capabilities?format=json\"" 404
10-11 12:08:17:606 [ debug default ] [ main(int, char**)::<lambda ]: Server capabilities QJsonObject()
10-11 12:08:17:606 [ fatal default ]: Error connecting to server
Aborted (core dumped) CoredumpExcess command line arguments ignored. (full)
[New LWP 1450]
[New LWP 1451]
[New LWP 1452]
[New LWP 1453]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f52b0bf1800 (LWP 1450))]
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f52b4585859 in __GI_abort () at abort.c:79
#2 0x00007f52b49c52dd in QMessageLogger::fatal(char const*, ...) const () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x000056473053e6f0 in ?? ()
#4 0x00007f52b4bfff78 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007f52b50ef077 in OCC::JsonApiJob::jsonReceived(QJsonDocument const&, int) () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0
#6 0x00007f52b513f696 in OCC::JsonApiJob::finished() () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0
#7 0x00007f52b513b4ad in OCC::AbstractNetworkJob::slotFinished() () from /opt/ownCloud/ownCloud/lib/x86_64-linux-gnu/libowncloudsync.so.0
#8 0x00007f52b4bfff78 in QMetaObject::activate(QObject*, int, int, void**) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#9 0x00007f52b4fadbcc in ?? () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Network.so.5
#10 0x00007f52b5054b2e in ?? () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Network.so.5
#11 0x00007f52b4c0087a in QObject::event(QEvent*) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f52b4bd4407 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f52b4bd70a8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f52b4c2caf7 in ?? () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f52b2e4817d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f52b2e48400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f52b2e484a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f52b4c2c0f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f52b4bd2fcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f52b4bdad36 in QCoreApplication::exec() () from /opt/ownCloud/qt-5.12.10/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x000056473053fafd in ?? ()
#22 0x00007f52b4587083 in __libc_start_main (main=0x56473053e870, argc=4, argv=0x7ffdc51051e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc51051d8) at ../csu/libc-start.c:308
#23 0x00005647305407fe in _start () 3.0 (base Ubuntu20.04)✔️ server root url/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core Works fine! ❌ old webdav/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core/remote.php/webdav Appended url: 10-11 12:13:38:322 [ warning sync.checkserverjob ]: error: status.php replied 404
10-11 12:13:38:322 [ fatal default ]: Failed to resolve http://localhost/core/remote.php/webdav Error: Error transferring http://localhost/core/remote.php/webdav/status.php - server replied: Not Found.
Aborted (core dumped) ❌ new webdav/usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core/remote.php/dav/files/admin Appended url: Log10-17 12:53:15:716 [ info sync.checkserverjob ]: status.php returns: QJsonDocument({"edition":"Community","installed":true,"maintenance":false,"needsDbUpgrade":false,"product":"ownCloud","productname":"ownCloud","version":"10.11.0.6","versionstring":"10.11.0"}) QNetworkReply::NoError Reply: QNetworkReplyHttpImpl(0x560e7a366f30)
10-17 12:53:15:716 [ info sync.networkjob ]: Created OCC::JsonApiJob(OCC::Account("admin@localhost"), "http://localhost/core/ocs/v1.php/cloud/capabilities?format=json", "GET", Original-Request-ID: "72e72daa-75a2-46b0-a2bd-eae1e43d3860", X-Request-ID: "72e72daa-75a2-46b0-a2bd-eae1e43d3860") for QObject(0x0)
10-17 12:53:16:182 [ info sync.networkjob.jsonapi ]: JsonJob of QUrl("http://localhost/core/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS "OK"
10-17 12:53:16:183 [ debug default ] [ main(int, char**)::<lambda()>::<lambda ]: Server capabilities QJsonObject({"checksums":{"preferredUploadType":"SHA1","supportedTypes":["SHA1"]},"core":{"pollinterval":30000,"status":{"edition":"Community","hostname":"sawjan-OptiPlex-3070","installed":true,"maintenance":false,"needsDbUpgrade":false,"product":"ownCloud","productname":"ownCloud","version":"10.11.0.6","versionstring":"10.11.0"},"support-url-signing":true,"webdav-root":"remote.php/webdav"},"dav":{"chunking":"1.0","propfind":{"depth_infinity":false},"reports":["search-files"],"trashbin":"1.0"},"files":{"bigfilechunking":true,"blacklisted_files":[".htaccess"],"blacklisted_files_regex":"\\.(part|filepart)$","favorites":true,"file_locking_enable_file_action":false,"file_locking_support":true,"privateLinks":true,"privateLinksDetailsParam":true,"undelete":true,"versioning":true},"files_sharing":{"api_enabled":true,"auto_accept_share":true,"can_share":true,"default_permissions":31,"federation":{"incoming":true,"outgoing":true},"group":{"expire_date":{"enabled":false}},"group_sharing":true,"providers_capabilities":{"ocFederatedSharing":{"remote":["shareExpiration"]},"ocinternal":{"group":["shareExpiration"],"link":["shareExpiration","passwordProtected"],"user":["shareExpiration"]}},"public":{"can_create_public_link":true,"defaultPublicLinkShareName":"Public link","enabled":true,"expire_date":{"enabled":false},"multiple":true,"password":{"enforced":false,"enforced_for":{"read_only":false,"read_write":false,"read_write_delete":false,"upload_only":false}},"roles_api":true,"send_mail":false,"social_share":true,"supports_upload_only":true,"upload":true},"remote":{"expire_date":{"enabled":false}},"resharing":true,"search_min_length":2,"share_with_group_members_only":false,"share_with_membership_groups_only":false,"user":{"expire_date":{"enabled":false},"profile_picture":true,"send_mail":false},"user_enumeration":{"enabled":true,"group_members_only":false}},"notifications":{"ocs-endpoints":["list","get","delete"]}})
10-17 12:53:16:184 [ info sync.networkjob ]: Created OCC::JsonApiJob(OCC::Account("admin@localhost"), "http://localhost/core/ocs/v1.php/cloud/user?format=json", "GET", Original-Request-ID: "1b17867a-2082-4407-a84a-d9a600cc7afd", X-Request-ID: "1b17867a-2082-4407-a84a-d9a600cc7afd") for QObject(0x0)
10-17 12:53:17:184 [ info sync.networkjob.jsonapi ]: JsonJob of QUrl("http://localhost/core/ocs/v1.php/cloud/user?format=json") FINISHED WITH STATUS "OK"
10-17 12:53:17:184 [ info plugins ]: Created VFS instance from plugin "owncloudsync_vfs_off"
10-17 12:53:17:186 [ info sync.engine ]: There are "129 GB" available at "/home/sawjan/sync/"
10-17 12:53:17:186 [ info sync.engine ]: New sync (no sync journal exists)
10-17 12:53:17:186 [ info sync.engine ]: Using Qt 5.15.3 SSL library "OpenSSL 3.0.2 15 Mar 2022" on "Ubuntu 22.04.1 LTS"
10-17 12:53:17:186 [ info sync.database ]: sqlite3 version "3.37.2"
10-17 12:53:17:186 [ info sync.database ]: sqlite3 locking_mode= "exclusive"
10-17 12:53:17:186 [ info sync.database ]: sqlite3 journal_mode= "wal"
10-17 12:53:17:187 [ info sync.database ]: sqlite3 synchronous= "NORMAL"
10-17 12:53:17:191 [ info sync.database ]: Forcing remote re-discovery by deleting folder Etags
10-17 12:53:17:191 [ info sync.engine ]: NOT Using Selective Sync
10-17 12:53:17:191 [ info sync.engine ]: #### Discovery start ####################################################
10-17 12:53:17:191 [ info sync.engine ]: Server "10.11.0"
10-17 12:53:17:191 [ info sync.discovery ]: STARTING "" OCC::ProcessDirectoryJob::NormalQuery "" OCC::ProcessDirectoryJob::NormalQuery
10-17 12:53:17:191 [ info sync.networkjob ]: Created OCC::PropfindJob(OCC::Account("admin@localhost"), "http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/", "PROPFIND", Original-Request-ID: "5547ece0-8d49-4e8b-ab1e-9c66431580af", X-Request-ID: "5547ece0-8d49-4e8b-ab1e-9c66431580af") for OCC::DiscoverySingleDirectoryJob(0x560e7a3900b0)
10-17 12:53:17:837 [ warning sync.networkjob ]: OCC::PropfindJob(OCC::Account("admin@localhost"), "http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/", "PROPFIND", Original-Request-ID: "5547ece0-8d49-4e8b-ab1e-9c66431580af", X-Request-ID: "5547ece0-8d49-4e8b-ab1e-9c66431580af", NetworkError: "Error transferring http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/ - server replied: Not Found") QNetworkReply::ContentNotFoundError "Server replied \"404 Not Found\" to \"PROPFIND http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/\"" 404
10-17 12:53:17:838 [ info sync.networkjob.propfind ]: LSCOL of QUrl("http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/") FINISHED WITH STATUS "ContentNotFoundError, Server replied \"404 Not Found\" to \"PROPFIND http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/\""
10-17 12:53:17:838 [ warning sync.discovery ]: LSCOL job error "Error transferring http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/ - server replied: Not Found" 404 QNetworkReply::ContentNotFoundError
10-17 12:53:17:838 [ warning sync.discovery ]: Server error in directory "" 404
10-17 12:53:17:838 [ warning default ]: Sync error: "Server replied with an error while reading directory '' : Error transferring http://localhost/core/remote.php/dav/files/admin/remote.php/dav/files/admin/ - server replied: Not Found"
10-17 12:53:17:838 [ info sync.engine ]: Sync run took 647 ms
10-17 12:53:17:838 [ warning default ]: Failed to sync
10-17 12:53:17:843 [ info sync.database ]: Closing DB "/home/sawjan/sync/.sync_journal.db" |
I noticed that with for version /usr/bin/owncloudcmd --trust /home/demo/owncloud/ http://admin:admin@localhost/core with endpoint |
Docs got changed. Can this be closed? |
The url must be similar to
The text was updated successfully, but these errors were encountered: