Nextcloudcmd problems (but mount.davfs works)

Hello everybody,

when I try

nextcloudcmd /mnt/test/ https://nextcloud.xxxxx/remote.php/dav/files/7906A6BF-7DD6-4FA0-BAFA-4406A03F6781

I get the following error messages:

02-18 19:13:44:711 [ info nextcloud.sync.networkjob ]:  OCC::JsonApiJob created for "https://nextcloud.xxxxx/remote.php/dav/files/7906A6BF-7DD6-4FA0-BAFA-4406A03F6781" + "ocs/v1.php/cloud/capabilities" ""
02-18 19:13:45:880 [ warning nextcloud.sync.networkjob ]:       QNetworkReply::NetworkError(ContentNotFoundError) "Server replied \"404 Not Found\" to \"GET https://nextcloud.xxxxx/remote.php/dav/files/7906A6BF-7DD6-4FA0-BAFA-4406A03F6781/ocs/v1.php/cloud/capabilities?format=json\"" QVariant(int, 404)
02-18 19:13:45:880 [ info nextcloud.sync.networkjob.jsonapi ]:  JsonApiJob of QUrl("https://nextcloud.xxxxx/remote.php/dav/files/7906A6BF-7DD6-4FA0-BAFA-4406A03F6781/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS "ContentNotFoundError Server replied \"404 Not Found\" to \"GET https://nextcloud.xxxxx/remote.php/dav/files/7906A6BF-7DD6-4FA0-BAFA-4406A03F6781/ocs/v1.php/cloud/capabilities?format=json\""
02-18 19:13:45:880 [ warning nextcloud.sync.networkjob.jsonapi ]:       Network error:  "ocs/v1.php/cloud/capabilities" "Server replied \"404 Not Found\" to \"GET https://nextcloud.xxxxx/remote.php/dav/files/7906A6BF-7DD6-4FA0-BAFA-4406A03F6781/ocs/v1.php/cloud/capabilities?format=json\"" QVariant(int, 404)
02-18 19:13:45:880 [ debug default ]    [ main(int, char**)::<lambda ]: Server capabilities QJsonObject()
Error connecting to server

But mounting with mount.davfs works with the same path without problems.

Any Ideas ? Thanks ! Stefan

Hello @st6f9n,

You started a topic in support category.

Unfortunately you ignored the template and a lot of information to help you is missing.

Please add all necessary information like Nextcloud version, webserver type and version, os version, related log file content.

Without additional information the community members cannot help you.

https://docs.nextcloud.com/desktop/3.1/nextcloudcmd.html?highlight=nextcloudcmd#install-nextcloudcmd

It’s the newest Nextcloud version on Ubuntu 20.04, Apache/2.4.29

Rclone (https://rclone.org/) is the solution.