Hello guys,
I am trying to copy a file to my owncloud server via the CLI.
I get the error that the checksums mismatch, here the error from my owncloud.log
:
Exception: HTTP/1.1 400 The computed checksum does not match the one received from the client.
Exception: HTTP/1.1 400 expected filesize 1133726783 got 0
The output of the copy command suggests that the file would be too big, but that isn't the case. I adjusted the accepted file sizes a long time ago to 50 GB, and the file I am trying to sync is ~1.2GB. All my other clients work without a problem, even android apps with webDAV support like CxExplorer work flawlessly, so I doubt that my owncloud server is the problem here.
What is the problem you are having with rclone?
File doesn't sync
Run the command 'rclone version' and share the full output of the command.
rclone v1.50.2
- os/arch: linux/amd64
- go version: go1.13.8
Which cloud storage system are you using? (eg Google Drive)
owncloud
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy
The rclone config contents with secrets removed.
[owncloud]
type = webdav
url = --myurl--
vendor = owncloud
user = --my user--
pass = --my pass--
A log from the command with the -vv
flag
~/.config/rclone$ rclone copy ~/backup owncloud:Backup -P --ignore-checksum -vv --size-only
2023-04-11 12:33:41 INFO : webdav root 'Backup': Waiting for checks to finish
2023-04-11 12:33:41 INFO : webdav root 'Backup': Waiting for transfers to finish
2023-04-11 12:37:23 ERROR : db.sql: Failed to copy: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
2023-04-11 12:37:23 ERROR : Attempt 1/3 failed with 3 errors and: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
2023-04-11 12:37:23 INFO : webdav root 'Backup': Waiting for checks to finish
2023-04-11 12:37:23 INFO : webdav root 'Backup': Waiting for transfers to finish
2023-04-11 12:38:04 ERROR : db.sql: Failed to copy: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
2023-04-11 12:38:04 ERROR : Attempt 2/3 failed with 3 errors and: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
2023-04-11 12:38:04 INFO : webdav root 'Backup': Waiting for checks to finish
2023-04-11 12:38:04 INFO : webdav root 'Backup': Waiting for transfers to finish
2023-04-11 12:38:33 ERROR : db.sql: Failed to copy: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
2023-04-11 12:38:33 ERROR : Attempt 3/3 failed with 3 errors and: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
Transferred: 3.168G / 3.168 GBytes, 100%, 11.126 MBytes/s, ETA 0s
Errors: 3 (retrying may help)
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 4m51.5s
2023/04/11 12:38:33 Failed to copy with 3 errors: last error was: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Request Entity Too Large</title>
</head><body>
<h1>Request Entity Too Large</h1>
The requested resource does not allow request data with PUT requests, or the amount of data provided in
the request exceeds the capacity limit.
<hr>
<address>Apache/2.4.56 (Debian) Server at --address-- Port 443</address>
</body></html>
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\BadRequest</s:exception>
<s:message>The computed checksum does not match the one received from the client.</s:message>
</d:error>: 413 Request Entity Too Large
I am grateful for every help you guys can give me