Owncloudcmd does not synchronize

Server configuration

debian11:

PHP version:
7.4
ownCloud version: (see ownCloud admin page)
10

################ error ####################
root@ubuntu:~# owncloudcmd /etc https://user:pass@cloud.domain.com

01-19 19:15:47:839 [ info sync.accessmanager ]: 2 “” “ https://user:pass@cloud.domain.com/ocs/v1.php/cloud/capabilities?format=json ” tem X-Request-ID “28883e01-d9a4-4704-9c4d-8067a908a50f”
01-19 19:15:47:839 [info sync.networkjob]: OCC::JsonApiJob criado para “ https://cloud.domain.com ” + “ocs/v1.php/cloud/capabilities” “”
01-19 19:15:47:940 [ info sync.networkjob.jsonapi ]: JsonApiJob de QUrl (“ https://user@cloud.domain.com/ ocs/v1.php/cloud/capabilities?format=json ”) TERMINADO COM STATUS “OK”
01-19 19:15:47:940 [debug default] [main(int, char**)::<lambda]: Capacidades do servidor QJsonObject({“checksums”:{“preferredUploadType”:“SHA1”,“supportedTypes”:[“SHA1”]},“core”:{“pollinterval”:30000,“status”:{“edition”:“ Comunidade”,“hostname”:“ cloud.domain.com ”,“installed”:true,“maintenance”:false,“needsDbUpgrade”:false,“product”:“ownCloud”,“productname”:“ownCloud”,“ versão”:“10.13.4.1”,“versionstring”:“10.13.4”},“support-url-signing”:true,“webdav-root”:“remote.php/webdav”},“dav”:{ “chunking”:“1.0”,“propfind”:{“profundidade_infinity”:false},“reports”:[“arquivos de pesquisa”],“trashbin”:“1.0”},“arquivos”:{“app_providers”: [{“apps_url”:“/index.php/app/list”,“enabled”:true,“new_url”:“/index.php/app/new”,“open_web_url”:“/index.php/app/ open-with-web”,“version”:“1.1.0”}],“bigfilechunking”:true,“blacklisted_files”:[“.htaccess”],“blacklisted_files_regex”:“.(part|filepart)$” ,“favoritos”:true,“file_locking_enable_file_action”:false,“file_locking_support”:true,“privateLinks”:true,“privateLinksDetailsParam”:true,“undelete”:true,“versionamento”: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”:“Link público”,“habilitado” :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”:true,“share_with_membership_groups_only”:true,“user”:{“expire_date”:{“enabled”: false},“profile_picture”:true,“send_mail”:false},“user_enumeration”:{“enabled”:true,“group_members_only”:false}},“notificações”:{“ocs-endpoints”:[“lista” ,“obter”,“excluir”]}})
01-19 19:15:47:941 [ infosync.accessmanager ]: 2 “” “ https://user:pass@cloud.domain.com/ocs/v1 .php/cloud/user?format=json” tem X-Request-ID “dcc678fe-8ae9-42c0-a31c-91caaed4c7b6”
01-19 19:15:47:941 [info sync.networkjob]: OCC::JsonApiJob criado para “ https://cloud.domain. com ” + “ocs/v1.php/cloud/user” “”
01-19 19:15:48:024 [ info sync.networkjob.jsonapi ]: JsonApiJob de QUrl (“ https://user@cloud.domain. com/ocs/v1.php/cloud/user?format=json ”) TERMINADO COM STATUS “OK”
01-19 19:15:48:025 [padrão fatal]: Não é possível carregar a lista de exclusão do sistema ou lista fornecida via --exclude
Abortado (core dumped)
root@ubuntu:~# root@ubuntu:~# owncloudcmd /etc https://user:pass@cloud.domain.com

new error:

01-21 17:40:09:657 [ info sync.csync.updater ]: Checking for rename based on inode # 1434
01-21 17:40:09:657 [ info sync.csync.updater ]: file: iproute2/rt_protos, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:657 [ info sync.csync.updater ]: Checking for rename based on inode # 1429
01-21 17:40:09:657 [ info sync.csync.updater ]: file: iproute2/bpf_pinning, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:657 [ info sync.csync.updater ]: Checking for rename based on inode # 1430
01-21 17:40:09:657 [ info sync.csync.updater ]: file: iproute2/ematch_map, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:657 [ info sync.csync.updater ]: Checking for rename based on inode # 317
01-21 17:40:09:657 [ info sync.csync.updater ]: file: iproute2/rt_protos.d, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 1438
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/rt_protos.d/README, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]:  <= Closing walk for /etc/iproute2/rt_protos.d with read_from_db 0
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 1435
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/rt_realms, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 1437
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/rt_tables, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 1431
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/group, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 1433
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/rt_dsfield, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 1436
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/rt_scopes, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:658 [ info sync.csync.updater ]: Checking for rename based on inode # 318
01-21 17:40:09:658 [ info sync.csync.updater ]: file: iproute2/rt_tables.d, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:659 [ info sync.csync.updater ]: Checking for rename based on inode # 1439
01-21 17:40:09:659 [ info sync.csync.updater ]: file: iproute2/rt_tables.d/README, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:659 [ info sync.csync.updater ]:  <= Closing walk for /etc/iproute2/rt_tables.d with read_from_db 0
01-21 17:40:09:659 [ info sync.csync.updater ]: Checking for rename based on inode # 1432
01-21 17:40:09:659 [ info sync.csync.updater ]: file: iproute2/nl_protos, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:659 [ info sync.csync.updater ]:  <= Closing walk for /etc/iproute2 with read_from_db 0
01-21 17:40:09:659 [ info sync.csync.updater ]: Checking for rename based on inode # 2109548
01-21 17:40:09:659 [ info sync.csync.updater ]: file: avahi, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:659 [ info sync.csync.updater ]: Checking for rename based on inode # 2109549
01-21 17:40:09:659 [ info sync.csync.updater ]: file: avahi/avahi-daemon.conf, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:659 [ info sync.csync.updater ]: Checking for rename based on inode # 2109551
01-21 17:40:09:659 [ info sync.csync.updater ]: file: avahi/services, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:660 [ info sync.csync.updater ]:  <= Closing walk for /etc/avahi/services with read_from_db 0
01-21 17:40:09:660 [ info sync.csync.updater ]: Checking for rename based on inode # 2109550
01-21 17:40:09:660 [ info sync.csync.updater ]: file: avahi/hosts, instruction: INSTRUCTION_NEW <<=
01-21 17:40:09:660 [ info sync.csync.updater ]:  <= Closing walk for /etc/avahi with read_from_db 0
01-21 17:40:09:660 [ info sync.csync.updater ]:  <= Closing walk for /etc with read_from_db 0
01-21 17:40:09:660 [ info sync.csync.csync ]:   Update detection for local replica took 1.214 seconds walking 2155 files
01-21 17:40:09:660 [ info sync.csync.utils ]:   Memory: 449796K total size, 26120K resident, 22988K shared
01-21 17:40:09:660 [ info sync.csync.csync ]:   ## Starting remote discovery ##
01-21 17:40:09:661 [ info sync.accessmanager ]: 6 "PROPFIND" "https://cesar:password@cloud.domain.com/remote.php/dav/files/cesar/" has X-Request-ID "f11517f6-a5d8-4cdc-8d85-189e9f497f17"
01-21 17:40:09:661 [ info sync.networkjob ]:    OCC::LsColJob created for "https://cloud.domain.com" + "" "OCC::DiscoverySingleDirectoryJob"
01-21 17:40:09:706 [ warning sync.networkjob ]: QNetworkReply::ContentAccessDenied "Server replied \"403 Forbidden\" to \"PROPFIND https://cesar@cloud.domain.com/remote.php/dav/files/cesar/\"" QVariant(int, 403)
01-21 17:40:09:706 [ info sync.networkjob.lscol ]:      LSCOL of QUrl("https://cesar@cloud.domain.com/remote.php/dav/files/cesar/") FINISHED WITH STATUS "ContentAccessDenied Server replied \"403 Forbidden\" to \"PROPFIND https://cesar@cloud.domain.com/remote.php/dav/files/cesar/\""
01-21 17:40:09:707 [ warning sync.discovery ]:  LSCOL job error "Error transferring https://cesar:password@cloud.domain.com/remote.php/dav/files/cesar/ - server replied: Forbidden" 403 QNetworkReply::ContentAccessDenied
01-21 17:40:09:707 [ warning sync.csync.updater ]:      Directory access Forbidden (File Firewall?)
01-21 17:40:09:707 [ warning sync.engine ]:     ERROR during  csync_update :  "An error occurred while opening a folder : Error transferring https://cesar:password@cloud.domain.com/remote.php/dav/files/cesar/ - server replied: Forbidden"
01-21 17:40:09:708 [ info sync.database ]:      Closing DB "/etc/._sync_20e10836eb9f.db"
01-21 17:40:09:708 [ info sync.engine ]:        CSync run took  1263 ms
01-21 17:40:09:708 [ info sync.database ]:      Closing DB "/etc/._sync_20e10836eb9f.db"

I do not know what else to do. I’ve checked all over Google and I can’t find a solution.

Please don’t cross-post your issues in multiple threads.

1 Like