Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version: Nextcloud snap 15.0.11.1
Operating system and version: Ubuntu 16.04
Apache or nginx version: Apache 2.4.18
PHP version: 7.0.33
The issue you are facing: unable to enter maintenance mode, unable to upload media files, unable to do sudo nextcloud.occ status. every action encounters the same error shown below. this started a little over a week ago
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- in browser or desktop app, try to upload a file
- in ubuntu, enter sudo commands for maintenance mode, status, etc
The output of your Nextcloud log in Admin > Logging:
[webdav] Fatal: TypeError: Argument 1 passed to OCA\Files_Trashbin\Expiration::setRetentionObligation() must be of the type string, array given, called in /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Expiration.php on line 56 at <<closure>>
0. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Expiration.php line 56
OCA\Files_Trashbin\Expiration->setRetentionObligation({auto, 90: ""})
1. <<closure>>
OCA\Files_Trashbin\Expiration->__construct(OC\AllConfig {}, OC\AppFramework\Utility\TimeFactory {})
2. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 84
ReflectionClass->newInstanceArgs([OC\AllConfig {} ... }])
3. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 101
OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionClass ... "})
4. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 116
OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Files_Trashbin\\Expiration")
5. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php line 414
OC\AppFramework\Utility\SimpleContainer->query("OCA\\Files_Trashbin\\Expiration")
6. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php line 385
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Files_Trashbin\\Expiration")
7. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 163
OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\Files_Trashbin\\Expiration")
8. /snap/nextcloud/23027/htdocs/3rdparty/pimple/pimple/src/Pimple/Container.php line 114
OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
9. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php line 114
Pimple\Container->offsetGet("Expiration")
10. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php line 407
OC\AppFramework\Utility\SimpleContainer->query("Expiration")
11. /snap/nextcloud/23027/htdocs/lib/private/AppFramework/DependencyInjection/DIContainer.php line 385
OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("Expiration")
12. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Trashbin.php line 797
OC\AppFramework\DependencyInjection\DIContainer->query("Expiration")
13. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Trashbin.php line 337
OCA\Files_Trashbin\Trashbin::scheduleExpire("clark")
14. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Trash/LegacyTrashBackend.php line 108
OCA\Files_Trashbin\Trashbin::move2trash("System information")
15. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Trash/TrashManager.php line 103
OCA\Files_Trashbin\Trash\LegacyTrashBackend->moveToTrash(OCA\Files_Trashb ... }}, "files/System information")
16. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Storage.php line 192
OCA\Files_Trashbin\Trash\TrashManager->moveToTrash(OCA\Files_Trashb ... }}, "files/System information")
17. /snap/nextcloud/23027/htdocs/apps/files_trashbin/lib/Storage.php line 118
OCA\Files_Trashbin\Storage->doDelete("files/System information", "rmdir")
18. /snap/nextcloud/23027/htdocs/lib/private/Files/View.php line 1161
OCA\Files_Trashbin\Storage->rmdir("files/System information")
19. /snap/nextcloud/23027/htdocs/lib/private/Files/View.php line 350
OC\Files\View->basicOperation("rmdir", "/System information", ["delete"])
20. /snap/nextcloud/23027/htdocs/apps/dav/lib/Connector/Sabre/Directory.php line 308
OC\Files\View->rmdir("/System information")
21. /snap/nextcloud/23027/htdocs/3rdparty/sabre/dav/lib/DAV/Tree.php line 183
OCA\DAV\Connector\Sabre\Directory->delete()
22. /snap/nextcloud/23027/htdocs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 295
Sabre\DAV\Tree->delete("files/clark/System information")
23. /snap/nextcloud/23027/htdocs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpDelete(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
24. /snap/nextcloud/23027/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 474
Sabre\DAV\Server->emit("method:DELETE", [Sabre\HTTP\Requ ... }])
25. /snap/nextcloud/23027/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 251
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
26. /snap/nextcloud/23027/htdocs/3rdparty/sabre/dav/lib/DAV/Server.php line 319
Sabre\DAV\Server->start()
27. /snap/nextcloud/23027/htdocs/apps/dav/lib/Server.php line 320
Sabre\DAV\Server->exec()
28. /snap/nextcloud/23027/htdocs/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
29. /snap/nextcloud/23027/htdocs/remote.php line 167
require_once("/snap/nextcloud ... p")
DELETE /remote.php/dav/files/clark/System%20information
from 108.73.21.135 by clark at 2020-09-10T13:47:51+00:00