Overwriting file with webdav/rclone fails with postgresql error #21943
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
needs info
stale
Ticket or PR with no recent activity
How to use GitHub
Steps to reproduce
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::a48b:e3ff:fe29:e641%tap0. Set the 'ServerName' directive globally to suppress this message
2020-07-21 11:40:10.331 UTC [235] ERROR: duplicate key value violates unique constraint "fce_fileid_idx"
2020-07-21 11:40:10.331 UTC [235] DETAIL: Key (fileid)=(477) already exists.
2020-07-21 11:40:10.331 UTC [235] STATEMENT: INSERT INTO "oc_filecache_extended" ("fileid", "upload_time") VALUES($1, $2)
Expected behaviour
Tell us what should happen
The file should copy over using webdav. Alternatively if there is an exception the copy should fail.
Actual behaviour
Tell us what happens instead
File copy aborts but file is overwritten with a zero-length file
Server configuration
Operating system:
Linux
Web server:
apache
Database:
postgresql
PHP version:
7.4.8
Nextcloud version: (see Nextcloud admin page)
19.0.1
Updated from an older Nextcloud/ownCloud or fresh install:
updated
Where did you install Nextcloud from:
Generated own rpm packages from source
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: