Skip to content

Instantly share code, notes, and snippets.

@markuman
Created October 15, 2019 18:41
Show Gist options
  • Save markuman/5d03b1f32c3ffa7f2b71d5887c9dbec6 to your computer and use it in GitHub Desktop.
Save markuman/5d03b1f32c3ffa7f2b71d5887c9dbec6 to your computer and use it in GitHub Desktop.
[webdav] Fatal: Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'UPDATE `oc_filecache` SET `storage` = ?, `path` = ?, `path_hash` = ?, `name` = ?, `parent` = ? WHERE `fileid` = ?' with params [2, "files_encryption\/keys\/files_trashbin\/files\/docker-alltag.pdf.d1571164339", "c1d0caffa1caa20dea0c6e93e27bb9fa", "docker-alltag.pdf.d1571164339", 119451, 119435]:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2-c1d0caffa1caa20dea0c6e93e27bb9fa' for key 'fs_storage_path_hash' at <<closure>>
0. /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 184
Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException("An exception oc ... '", Doctrine\DBAL\Dr ... ]})
1. /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 158
Doctrine\DBAL\DBALException::wrapException(Doctrine\DBAL\Driver\PDOMySql\Driver {}, Doctrine\DBAL\Dr ... ]}, "An exception oc ... '")
2. /var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 938
Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Doctrine\DBAL\Driver\PDOMySql\Driver {}, Doctrine\DBAL\Dr ... ]}, "UPDATE `oc_file ... ?", {1: 2,2: "files_ ... 5})
3. /var/www/html/lib/private/DB/Connection.php line 195
Doctrine\DBAL\Connection->executeQuery("UPDATE `oc_file ... ?", [2,"files_encryp ... 5], [], null)
4. /var/www/html/lib/private/Files/Cache/Cache.php line 579
OC\DB\Connection->executeQuery("UPDATE `oc_file ... ?", [2,"files_encryp ... 5])
5. /var/www/html/lib/private/Files/Cache/Cache.php line 509
OC\Files\Cache\Cache->moveFromCache(OC\Files\Cache\HomeCache {}, "files_encryptio ... f", "files_encryptio ... 9")
6. /var/www/html/lib/private/Files/Cache/Updater.php line 196
OC\Files\Cache\Cache->move("files_encryptio ... f", "files_encryptio ... 9")
7. /var/www/html/lib/private/Files/View.php line 334
OC\Files\Cache\Updater->renameFromStorage(OCA\Files_Trashb ... }}, "files_encryptio ... f", "files_encryptio ... 9")
8. /var/www/html/lib/private/Files/View.php line 827
OC\Files\View->renameUpdate(OCA\Files_Trashb ... }}, OCA\Files_Trashb ... }}, "files_encryptio ... f", "files_encryptio ... 9")
9. /var/www/html/lib/private/Encryption/Keys/Storage.php line 279
OC\Files\View->rename("/m/files_encryp ... f", "/m/files_encryp ... 9")
10. /var/www/html/lib/private/Files/Storage/Wrapper/Encryption.php line 282
OC\Encryption\Keys\Storage->renameKeys("/m/files/Dokume ... f", "/m/files_trashb ... 9")
11. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 277
OC\Files\Storage\Wrapper\Encryption->rename("files/Dokumente ... f", "files_trashbin/ ... 9")
12. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 571
OC\Files\Storage\Wrapper\Wrapper->rename("files/Dokumente ... f", "files_trashbin/ ... 9")
13. /var/www/html/apps/files_trashbin/lib/Trashbin.php line 255
OC\Files\Storage\Wrapper\Wrapper->moveFromStorage(OCA\Files_Trashb ... }}, "files/Dokumente ... f", "files_trashbin/ ... 9")
14. /var/www/html/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php line 107
OCA\Files_Trashbin\Trashbin::move2trash("Dokumente/read_later/docker-alltag.pdf")
15. /var/www/html/apps/files_trashbin/lib/Trash/TrashManager.php line 103
OCA\Files_Trashbin\Trash\LegacyTrashBackend->moveToTrash(OCA\Files_Trashb ... }}, "files/Dokumente ... f")
16. /var/www/html/apps/files_trashbin/lib/Storage.php line 191
OCA\Files_Trashbin\Trash\TrashManager->moveToTrash(OCA\Files_Trashb ... }}, "files/Dokumente ... f")
17. /var/www/html/apps/files_trashbin/lib/Storage.php line 98
OCA\Files_Trashbin\Storage->doDelete("files/Dokumente ... f", "unlink")
18. /var/www/html/lib/private/Files/View.php line 1160
OCA\Files_Trashbin\Storage->unlink("files/Dokumente ... f")
19. /var/www/html/lib/private/Files/View.php line 716
OC\Files\View->basicOperation("unlink", "/Dokumente/read_later/docker-alltag.pdf", ["delete"])
20. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 422
OC\Files\View->unlink("/Dokumente/read_later/docker-alltag.pdf")
21. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 179
OCA\DAV\Connector\Sabre\File->delete()
22. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 287
Sabre\DAV\Tree->delete("files/m/Dokumen ... f")
23. <<closure>>
Sabre\DAV\CorePlugin->httpDelete(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
24. /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
undefinedundefinedcall_user_func_array([Sabre\DAV\CorePlugin {},"httpDelete"], [Sabre\HTTP\Requ ... }])
25. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 479
Sabre\Event\EventEmitter->emit("method:DELETE", [Sabre\HTTP\Requ ... }])
26. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 254
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
27. /var/www/html/apps/dav/lib/Server.php line 316
Sabre\DAV\Server->exec()
28. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
29. /var/www/html/remote.php line 163
undefinedundefinedrequire_once("/var/www/html/a ... p")
DELETE /remote.php/dav/files/m/Dokumente/read_later/docker-alltag.pdf
from 188.96.75.149 by m at 2019-10-15T18:32:20+00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment