Sync error "PROPFIND /remote.php/webdav/ HTTP/1.1" 403

Expected behaviour

Files should be synchronized

Actual behaviour

Synchronization does not happen;

Steps to reproduce

  1. sudo owncloudcmd --user --password /home/anoreg/owncloud/ http://

Server configuration

Operating system:
Ubuntu 14.04.6 LTS (GNU/Linux 4.4.0-31-generic x86_64)
Web server:
Database:
Postgres
PHP version:
ownCloud version:
10.0.10

Storage backend (external storage): 2.2.2

Client configuration

Client version:
2.2.2
Operating system:
Ubuntu 14.04.6 LTS
OS language:
English
Qt version used by client package (Linux only, see also Settings dialog):
Client package (From ownCloud or distro) (Linux only):
2.2.2
Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )
OCC::DiscoveryJob(0x927a448)  Calling into main thread... 
!!! OCC::LsColJob created for "http://<SERVER_URL>/" + "" "OCC::DiscoverySingleDirectoryJob" 
void OCC::AbstractNetworkJob::slotFinished() 202 "Error downloading http://<USER>:password@<SERVER_URL>/remote.php/webdav/ - server replied: Forbidden" QVariant(int, 403) 
void OCC::DiscoverySingleDirectoryJob::lsJobFinishedWithErrorSlot(QNetworkReply*) "Error downloading http://<USER>:password@<SERVER_URL>/remote.php/webdav/ - server replied: Forbidden" 403 202 
void OCC::DiscoveryMainThread::singleDirectoryJobFinishedWithErrorSlot(int, const QString&) 10018 "Error downloading http://<USER>:password@<SERVER_URL>/remote.php/webdav/ - server replied: Forbidden" 
OCC::DiscoveryJob(0x927a448)  ...Returned from main thread 
10018 when opening  msg= "Error downloading http://<USER>:password@<SERVER_URL>/remote.php/webdav/ - server replied: Forbidden" 
[05/20 16:58:17.773698, 5] csync_ftw:  Directory access Forbidden (File Firewall?)
[05/20 16:58:17.773928, 6] csync_statedb_close:  sqlite3_close=0
 #### ERROR during  csync_update :  "An error occurred while opening a folder Error downloading http://<USER>:password@<SERVER_URL>/remote.php/webdav/ - server replied: Forbidden" 
void OCC::SyncJournalDb::close() "/home/anoreg/owncloud/.csync_journal.db" 
No database Transaction to commit 
CSync run took  49768 
void OCC::SyncEngine::abort() QObject(0x0)  
void OCC::SyncJournalDb::close() "/home/anoreg/owncloud/.csync_journal.db" 
No database Transaction to commit 

  1. Web server error log:
    45.237.20.123 - <USER_ID> [20/May/2020:20:49:01 +0000] “PROPFIND /remote.php/webdav/ HTTP/1.1” 403 1230 “-” “Mozilla/5.0 (Linux) mirall/2.2.2”
    45.237.20.123 - <USER_ID> [20/May/2020:20:50:49 +0000] “PROPFIND /remote.php/webdav/ HTTP/1.1” 403 1232 “-” “Mozilla/5.0 (Linux) mirall/2.2.2”

  2. Server logfile: ownCloud log (data/owncloud.log):
    It returns nothing in the log. when running the command on the client

Hey,

i think both are highly outdated versions. Maybe there are some incompatibilities or already fixed bugs in both versions. Have you tried to update to the more recent ownCloud server version 10.4.1 (I think you need a higher PHP version then Ubuntu 14.04 is shipping) and client version 2.6.1 listed here:

Following your recommendation, I accessed the link to download (manual)
https://software.opensuse.org/download.html?project=isv:ownCloud:desktop&package=owncloud-client

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/ /' > /etc/apt/sources.list.d/isv:ownCloud:desktop.list"
wget -nv https://download.opensuse.org/repositories/isv:ownCloud:desktop/Ubuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install owncloud-client

When running the sudo apt-get update return:

Err http://ppa.launchpad.net trusty/main Sources                               
  403  Forbidden [IP: 91.189.95.83 80]
Ign http://ppa.launchpad.net trusty/main Translation-pt_BR
Ign http://ppa.launchpad.net trusty/main Translation-pt
Ign http://ppa.launchpad.net trusty/main Translation-en
Err http://ppa.launchpad.net trusty/main i386 Packages
  403  Forbidden [IP: 91.189.95.83 80]
Err http://download.opensuse.org  Sources
  Erro lendo do servidor. Ponto remoto fechou a conexĂŁo [IP: 195.135.221.134 80]
Ign http://download.opensuse.org  Translation-pt_BR         
Ign http://download.opensuse.org  Translation-pt
Ign http://download.opensuse.org  Translation-en
Err http://download.opensuse.org  Packages
  404  Not Found [IP: 195.135.221.134 80]

The translation of this is:

Error reading from the server. Remote party closed the connection

milrak,

this looks like a temporary issue only, for me the file http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_16.04/Packages was reachable.

You might want to try again.

1 Like