The Basics
- Nextcloud Server version:
Nextcloud 31.0.4
- Operating system and version:
#1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30)
- Web server and version:
Server version: Apache/2.4.62 (Debian)
- Reverse proxy and version:
nginx version: openresty/1.27.1.1
- PHP version:
PHP 8.3.20 (cli) (built: Apr 11 2025 17:51:27) (NTS)
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
prob direct after installation
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
OMV Container
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
nope
Summary of the issue you are facing:
[…]
Steps to replicate it (hint: details matter!):
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"9pXYV1TODYiHlMUJLnLE","level":3,"time":"2025-05-04T10:57:08+00:00","remoteAddr":"83.97.87.43","user":"johannes","app":"no app in context","method":"MOVE","url":"/remote.php/dav/files/johannes/Pictures/DCIM/OpenCamera/IMG_20250427_123249_DRO.jpg","message":"/admin/files_versions","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0","version":"31.0.4.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/admin/files_versions","Code":0,"Trace":[{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":138,"function":"get","class":"OC\\Files\\Node\\Root","type":"->","args":["/admin/files_versions"]},{"file":"/var/www/html/apps/files_versions/lib/Versions/LegacyVersionsBackend.php","line":379,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["admin/files_versions"]},{"file":"/var/www/html/apps/files_versions/lib/Listener/VersionStorageMoveListener.php","line":129,"function":"clearVersionsForFile","class":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend","type":"->","args":[{"__class__":"OC\\User\\User"},{"__class__":"OC\\Files\\Node\\File"},{"__class__":"OC\\Files\\Node\\File"}]},{"file":"/var/www/html/apps/files_versions/lib/Listener/VersionStorageMoveListener.php","line":102,"function":"handleMoveOrCopy","class":"OCA\\Files_Versions\\Listener\\VersionStorageMoveListener","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"},{"__class__":"OC\\User\\User"},{"__class__":"OC\\Files\\Node\\File"},{"__class__":"OC\\Files\\Node\\File"},{"__class__":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OCA\\GroupFolders\\Versions\\VersionsBackend"}]},{"file":"/var/www/html/apps/files_versions/lib/Listener/VersionStorageMoveListener.php","line":74,"function":"recursivelyHandleMoveOrCopy","class":"OCA\\Files_Versions\\Listener\\VersionStorageMoveListener","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"},{"__class__":"OC\\User\\User"},{"__class__":"OC\\Files\\Node\\File"},{"__class__":"OC\\Files\\Node\\File"},{"__class__":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OCA\\GroupFolders\\Versions\\VersionsBackend"}]},{"file":"/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php","line":68,"function":"handle","class":"OCA\\Files_Versions\\Listener\\VersionStorageMoveListener","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"}]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":220,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"},"OCP\\Files\\Events\\Node\\NodeRenamedEvent",{"__class__":"Symfony\\Component\\EventDispatcher\\EventDispatcher"}]},{"file":"/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[[{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"},{"__class__":"Closure"}],"OCP\\Files\\Events\\Node\\NodeRenamedEvent",{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"}]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"},"OCP\\Files\\Events\\Node\\NodeRenamedEvent"]},{"file":"/var/www/html/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":["OCP\\Files\\Events\\Node\\NodeRenamedEvent",{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"}]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":169,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->","args":[{"__class__":"OCP\\Files\\Events\\Node\\NodeRenamedEvent"}]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":85,"function":"postRename","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[{"oldpath":"/Pictures/DCIM/OpenCamera/IMG_20250427_123249_DRO.jpg","newpath":"/Familie/IMG_20250427_123249_DRO.jpg"}]},{"file":"/var/www/html/lib/private/Files/View.php","line":834,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","post_rename",{"oldpath":"/Pictures/DCIM/OpenCamera/IMG_20250427_123249_DRO.jpg","newpath":"/Familie/IMG_20250427_123249_DRO.jpg"}]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":418,"function":"rename","class":"OC\\Files\\View","type":"->","args":["/Pictures/DCIM/OpenCamera/IMG_20250427_123249_DRO.jpg","/Familie/IMG_20250427_123249_DRO.jpg"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":178,"function":"moveInto","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["IMG_20250427_123249_DRO.jpg","files/johannes/Pictures/DCIM/OpenCamera/IMG_20250427_123249_DRO.jpg",{"__class__":"OCA\\DAV\\Connector\\Sabre\\File"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":612,"function":"move","class":"Sabre\\DAV\\Tree","type":"->","args":["files/johannes/Pictures/DCIM/OpenCamera/IMG_20250427_123249_DRO.jpg","files/johannes/Familie/IMG_20250427_123249_DRO.jpg"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MOVE",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Server.php","line":49,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":398,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":21,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":145,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Files/Node/Root.php","Line":182,"message":"/admin/files_versions","exception":[],"CustomMessage":"/admin/files_versions"},"id":"681a3f69484f2"}
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
PASTE HERE
Apps
The output of occ app:list
(if possible).
Tips for increasing the likelihood of a response
- Use the
preformatted text
formatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.
I’ve been setting this in the backend
Yet after each run It gets changed to this
causing the cron job to fail.
How do I permanently set Background Jobs to Webcron?