I just found the following two errors when installing Nextcloud 20 with occ. I would assume this is an issue with the new app bootstrap setting up versions/trashbin to early during installation with the new bootstrap mechanism, but i didn't check in detail yet:
{
"reqId": "ORhOYCWefqUSKnPBGMqk",
"level": 3,
"time": "2020-09-04T13:30:57+00:00",
"remoteAddr": "",
"user": "admin",
"app": "no app in context",
"method": "",
"url": "--",
"message": {
"Exception": "OCP\\AppFramework\\QueryException",
"Message": "Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 126,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 455,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 427,
"function": "queryNoFallback",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 56,
"function": "query",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
"line": 119,
"function": "get",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
"line": 106,
"function": "loadBackend",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"@attributes": {
"for": "OCP\\Files\\Storage\\IStorage"
},
"@value": "OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"
},
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"__class__": "OC\\AppFramework\\Logger"
}
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 68,
"function": "registerVersionBackends",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"__class__": "OC\\App\\AppManager"
},
{
"__class__": "OC\\AppFramework\\Logger"
}
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php",
"line": 52,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
"line": 91,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\BootContext",
"type": "->",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 168,
"function": "boot",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 191,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"files_versions"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 131,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"files_versions"
]
},
{
"file": "/var/www/html/apps/dav/lib/AppInfo/Application.php",
"line": 113,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"dav"
]
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 168,
"function": "boot",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 191,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 131,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"dav"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_Util.php",
"line": 201,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"filesystem"
]
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 553,
"function": "setupFS",
"class": "OC_Util",
"type": "::",
"args": [
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 414,
"function": "prepareUserLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
true,
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 623,
"function": "completeLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 366,
"function": "loginWithPassword",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/Setup.php",
"line": 436,
"function": "login",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/core/Command/Maintenance/Install.php",
"line": 106,
"function": "install",
"class": "OC\\Setup",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Command/Command.php",
"line": 255,
"function": "execute",
"class": "OC\\Core\\Command\\Maintenance\\Install",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Application.php",
"line": 1000,
"function": "run",
"class": "Symfony\\Component\\Console\\Command\\Command",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Application.php",
"line": 271,
"function": "doRunCommand",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Command\\Maintenance\\Install"
},
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Application.php",
"line": 147,
"function": "doRun",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/lib/private/Console/Application.php",
"line": 215,
"function": "run",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/console.php",
"line": 100,
"function": "run",
"class": "OC\\Console\\Application",
"type": "->",
"args": []
},
{
"file": "/var/www/html/occ",
"line": 11,
"args": [
"/var/www/html/console.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"Line": 111,
"CustomMessage": "Could not boot files_versionsCould not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"
},
"userAgent": "--",
"version": "20.0.0.5"
}
{
"reqId": "ORhOYCWefqUSKnPBGMqk",
"level": 3,
"time": "2020-09-04T13:30:57+00:00",
"remoteAddr": "",
"user": "admin",
"app": "no app in context",
"method": "",
"url": "--",
"message": {
"Exception": "OCP\\AppFramework\\QueryException",
"Message": "Could not resolve trashManager! Class trashManager does not exist",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 126,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"trashManager"
]
},
{
"file": "/var/www/html/lib/private/ServerContainer.php",
"line": 156,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"trashManager",
true
]
},
{
"file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 430,
"function": "query",
"class": "OC\\ServerContainer",
"type": "->",
"args": [
"trashManager",
true
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 56,
"function": "query",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"trashManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 58,
"function": "get",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"trashManager"
]
},
{
"function": "OC\\AppFramework\\Bootstrap\\{closure}",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 68,
"function": "array_map",
"args": [
{
"__class__": "Closure"
},
[
{
"name": "serverContainer",
"__class__": "ReflectionParameter"
},
{
"name": "logger",
"__class__": "ReflectionParameter"
},
{
"name": "appManager",
"__class__": "ReflectionParameter"
},
"*** sensitive parameter replaced ***"
]
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php",
"line": 52,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
[
{
"__class__": "OCA\\Files_Trashbin\\AppInfo\\Application"
},
"registerTrashBackends"
]
]
},
{
"file": "/var/www/html/apps/files_trashbin/lib/AppInfo/Application.php",
"line": 57,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\BootContext",
"type": "->",
"args": [
[
{
"__class__": "OCA\\Files_Trashbin\\AppInfo\\Application"
},
"registerTrashBackends"
]
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 168,
"function": "boot",
"class": "OCA\\Files_Trashbin\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 191,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"files_trashbin"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 131,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"files_trashbin"
]
},
{
"file": "/var/www/html/apps/dav/lib/AppInfo/Application.php",
"line": 113,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"dav"
]
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 168,
"function": "boot",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 191,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 131,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"dav"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_Util.php",
"line": 201,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"filesystem"
]
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 553,
"function": "setupFS",
"class": "OC_Util",
"type": "::",
"args": [
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 414,
"function": "prepareUserLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
true,
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 623,
"function": "completeLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/User/Session.php",
"line": 366,
"function": "loginWithPassword",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/Setup.php",
"line": 436,
"function": "login",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/core/Command/Maintenance/Install.php",
"line": 106,
"function": "install",
"class": "OC\\Setup",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Command/Command.php",
"line": 255,
"function": "execute",
"class": "OC\\Core\\Command\\Maintenance\\Install",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Application.php",
"line": 1000,
"function": "run",
"class": "Symfony\\Component\\Console\\Command\\Command",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Application.php",
"line": 271,
"function": "doRunCommand",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\Core\\Command\\Maintenance\\Install"
},
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/3rdparty/symfony/console/Application.php",
"line": 147,
"function": "doRun",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/lib/private/Console/Application.php",
"line": 215,
"function": "run",
"class": "Symfony\\Component\\Console\\Application",
"type": "->",
"args": [
{
"__class__": "Symfony\\Component\\Console\\Input\\ArgvInput"
},
{
"__class__": "Symfony\\Component\\Console\\Output\\ConsoleOutput"
}
]
},
{
"file": "/var/www/html/console.php",
"line": 100,
"function": "run",
"class": "OC\\Console\\Application",
"type": "->",
"args": []
},
{
"file": "/var/www/html/occ",
"line": 11,
"args": [
"/var/www/html/console.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"Line": 115,
"CustomMessage": "Could not boot files_trashbinCould not resolve trashManager! Class trashManager does not exist"
},
"userAgent": "--",
"version": "20.0.0.5"
}
cc @ChristophWurst
About the first one
boot :heavy_check_mark: I have no idea why this could happen :speak_no_evil:
That is the big request that sets up everything, right?
That is the big request that sets up everything, right?
Yeah, it seems to happen during the automatic login that is performed when the installation has finished. I assume there is something wrong with the class loading then, probable the classes are not autoloaded as the apps are not marked as enabled during first setup in the installation.
I believe I am also having this issue.
","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":289,"args":["/var/www/html/custom_apps/carnet/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":171,"function":"requireAppFile","class":"OC_App","type":"::","args":[{"__class__":"OCA\\Carnet\\AppInfo\\Application"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["carnet"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":201,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/html/lib/private/Files/Filesystem.php","line":267,"function":"setupFS","class":"OC_Util","type":"::","args":[""]},{"file":"/var/www/html/lib/private/Server.php","line":377,"function":"getMountManager","class":"OC\\Files\\Filesystem","type":"::","args":[null]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["RootFolder"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["RootFolder",true]},{"file":"/var/www/html/lib/private/Server.php","line":407,"function":"query","class":"OC\\ServerContainer","type":"->","args":["RootFolder"]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":63,"function":"call_user_func","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":143,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["get",["appdata_oc15cyv2yojz/js/core"]]},{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":142,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["appdata_oc15cyv2yojz/js/core"]},{"file":"/var/www/html/lib/private/Template/JSCombiner.php","line":97,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"/var/www/html/lib/private/Template/JSResourceLocator.php","line":116,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/var/www/html","core/js/merged-template-prepend.json","core"]},{"file":"/var/www/html/lib/private/Template/JSResourceLocator.php","line":72,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/var/www/html","core/js/merged-template-prepend.json"]},{"file":"/var/www/html/lib/private/Template/ResourceLocator.php","line":79,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":364,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/dist/main","js/dist/files_fileinfo","js/dist/files_client","js/merged-template-prepend","core/l10n/en"]]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":194,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/dist/main","js/dist/files_fileinfo","js/dist/files_client","js/merged-template-prepend","core/l10n/en"]]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/index.php","line":63,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"RedisException"},500]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":115,"CustomMessage":"Could not boot files_trashbinCould not resolve trashManager! Class trashManager does not exist"},"userAgent":"Jakarta Commons-HttpClient/3.1","version":"19.0.1.1"}
{"reqId":"tj9SGP3qaaPxAhoGStyQ","level":3,"time":"2020-10-26T08:09:34+00:00","remoteAddr":"92.28.57.119","user":"--","app":"no app in context","method":"GET","url":"/index.php/204","message":{"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":126,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":455,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":427,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":56,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/apps/files_versions/lib/AppInfo/Application.php","line":119,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Files_Versions\\Versions\\IVersionManager"]},{"file":"/var/www/html/apps/files_versions/lib/AppInfo/Application.php","line":106,"function":"loadBackend","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"@attributes":{"for":"OCP\\Files\\Storage\\IStorage"},"@value":"OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"},{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":68,"function":"registerVersionBackends","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"__class__":"OC\\App\\AppManager"},{"__class__":"OC\\AppFramework\\Logger"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php","line":52,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/apps/files_versions/lib/AppInfo/Application.php","line":91,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":168,"function":"boot","class":"OCA\\Files_Versions\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":191,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["files_versions"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["files_versions"]},{"file":"/var/www/html/apps/dav/lib/AppInfo/Application.php","line":113,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php","line":168,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\Bootstrap\\BootContext"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":191,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->","args":["dav"]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":201,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/html/lib/private/Files/Filesystem.php","line":267,"function":"setupFS","class":"OC_Util","type":"::","args":[""]},{"file":"/var/www/html/lib/private/Server.php","line":377,"function":"getMountManager","class":"OC\\Files\\Filesystem","type":"::","args":[null]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["RootFolder"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["RootFolder",true]},{"file":"/var/www/html/lib/private/Server.php","line":407,"function":"query","class":"OC\\ServerContainer","type":"->","args":["RootFolder"]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":63,"function":"call_user_func","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":80,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["listen",["\\OC\\Files","postWrite",{"__class__":"Closure"}]]},{"file":"/var/www/html/custom_apps/carnet/appinfo/app.php","line":45,"function":"listen","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["\\OC\\Files","postWrite",{"__class__":"Closure"}]},{"file":"/var/www/html/custom_apps/carnet/appinfo/app.php","line":59,"function":"connectWatcher","class":"OCA\\Carnet\\AppInfo\\Application","type":"->","args":[{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":289,"args":["/var/www/html/custom_apps/carnet/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":171,"function":"requireAppFile","class":"OC_App","type":"::","args":[{"__class__":"OCA\\Carnet\\AppInfo\\Application"}]},{"file":"/var/www/html/lib/private/legacy/OC_App.php","line":131,"function":"loadApp","class":"OC_App","type":"::","args":["carnet"]},{"file":"/var/www/html/lib/private/legacy/OC_Util.php","line":201,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"/var/www/html/lib/private/Files/Filesystem.php","line":267,"function":"setupFS","class":"OC_Util","type":"::","args":[""]},{"file":"/var/www/html/lib/private/Server.php","line":377,"function":"getMountManager","class":"OC\\Files\\Filesystem","type":"::","args":[null]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["RootFolder"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["RootFolder",true]},{"file":"/var/www/html/lib/private/Server.php","line":407,"function":"query","class":"OC\\ServerContainer","type":"->","args":["RootFolder"]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":63,"function":"call_user_func","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/Files/Node/LazyFolder.php","line":143,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["get",["appdata_oc15cyv2yojz/js/core"]]},{"file":"/var/www/html/lib/private/Files/AppData/AppData.php","line":142,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->","args":["appdata_oc15cyv2yojz/js/core"]},{"file":"/var/www/html/lib/private/Template/JSCombiner.php","line":97,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"/var/www/html/lib/private/Template/JSResourceLocator.php","line":116,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["/var/www/html","core/js/merged-template-prepend.json","core"]},{"file":"/var/www/html/lib/private/Template/JSResourceLocator.php","line":72,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["/var/www/html","core/js/merged-template-prepend.json"]},{"file":"/var/www/html/lib/private/Template/ResourceLocator.php","line":79,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js/merged-template-prepend"]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":364,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core/js/dist/main","js/dist/files_fileinfo","js/dist/files_client","js/merged-template-prepend","core/l10n/en"]]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":194,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core/js/dist/main","js/dist/files_fileinfo","js/dist/files_client","js/merged-template-prepend","core/l10n/en"]]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"/var/www/html/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"/var/www/html/index.php","line":63,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"RedisException"},500]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":111,"CustomMessage":"Could not boot files_versionsCould not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"},"userAgent":"Jakarta Commons-HttpClient/3.1","version":"19.0.1.1"}
I am running nextcloud in docker and have just updated using docker-compose pull.
I'm seeing this same error on first install with Nextcloud 20 in Docker:
{
"reqId": "Q07r1YHpha7DTnzlLyY3",
"level": 3,
"time": "2020-11-13T01:37:06+00:00",
"remoteAddr": "172.22.0.2",
"user": "--",
"app": "no app in context",
"method": "GET",
"url": "/index.php/csrftoken",
"message": {
"Exception": "OCP\\AppFramework\\QueryException",
"Message": "Could not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 126,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 455,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 427,
"function": "queryNoFallback",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 56,
"function": "query",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
"line": 119,
"function": "get",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
"line": 106,
"function": "loadBackend",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"@attributes": {
"for": "OCP\\Files\\Storage\\IStorage"
},
"@value": "OCA\\Files_Versions\\Versions\\LegacyVersionsBackend"
},
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"__class__": "OC\\AppFramework\\Logger"
}
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 68,
"function": "registerVersionBackends",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"__class__": "OC\\App\\AppManager"
},
{
"__class__": "OC\\AppFramework\\Logger"
}
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/BootContext.php",
"line": 52,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/html/apps/files_versions/lib/AppInfo/Application.php",
"line": 91,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\BootContext",
"type": "->",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 168,
"function": "boot",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 191,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"files_versions"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 131,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"files_versions"
]
},
{
"file": "/var/www/html/apps/dav/lib/AppInfo/Application.php",
"line": 113,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"dav"
]
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 168,
"function": "boot",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 191,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_App.php",
"line": 131,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"dav"
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_Util.php",
"line": 201,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"filesystem"
]
]
},
{
"file": "/var/www/html/lib/private/Files/Filesystem.php",
"line": 267,
"function": "setupFS",
"class": "OC_Util",
"type": "::",
"args": [
""
]
},
{
"file": "/var/www/html/lib/private/Server.php",
"line": 377,
"function": "getMountManager",
"class": "OC\\Files\\Filesystem",
"type": "::",
"args": [
null
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 155,
"function": "OC\\{closure}",
"class": "OC\\Server",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/3rdparty/pimple/pimple/src/Pimple/Container.php",
"line": 118,
"function": "OC\\AppFramework\\Utility\\{closure}",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 122,
"function": "offsetGet",
"class": "Pimple\\Container",
"type": "->",
"args": [
"RootFolder"
]
},
{
"file": "/var/www/html/lib/private/ServerContainer.php",
"line": 156,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"RootFolder",
true
]
},
{
"file": "/var/www/html/lib/private/Server.php",
"line": 407,
"function": "query",
"class": "OC\\ServerContainer",
"type": "->",
"args": [
"RootFolder"
]
},
{
"function": "OC\\{closure}",
"class": "OC\\Server",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
"line": 63,
"function": "call_user_func",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/html/lib/private/Files/Node/LazyFolder.php",
"line": 143,
"function": "__call",
"class": "OC\\Files\\Node\\LazyFolder",
"type": "->",
"args": [
"get",
[
"appdata_ocq71mf5mscd/js/core"
]
]
},
{
"file": "/var/www/html/lib/private/Files/AppData/AppData.php",
"line": 142,
"function": "get",
"class": "OC\\Files\\Node\\LazyFolder",
"type": "->",
"args": [
"appdata_ocq71mf5mscd/js/core"
]
},
{
"file": "/var/www/html/lib/private/Template/JSCombiner.php",
"line": 97,
"function": "getFolder",
"class": "OC\\Files\\AppData\\AppData",
"type": "->",
"args": [
"core"
]
},
{
"file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
"line": 116,
"function": "process",
"class": "OC\\Template\\JSCombiner",
"type": "->",
"args": [
"/var/www/html",
"core/js/merged-template-prepend.json",
"core"
]
},
{
"file": "/var/www/html/lib/private/Template/JSResourceLocator.php",
"line": 72,
"function": "cacheAndAppendCombineJsonIfExist",
"class": "OC\\Template\\JSResourceLocator",
"type": "->",
"args": [
"/var/www/html",
"core/js/merged-template-prepend.json"
]
},
{
"file": "/var/www/html/lib/private/Template/ResourceLocator.php",
"line": 79,
"function": "doFind",
"class": "OC\\Template\\JSResourceLocator",
"type": "->",
"args": [
"js/merged-template-prepend"
]
},
{
"file": "/var/www/html/lib/private/TemplateLayout.php",
"line": 364,
"function": "find",
"class": "OC\\Template\\ResourceLocator",
"type": "->",
"args": [
[
"core/js/dist/main",
"js/dist/files_fileinfo",
"js/dist/files_client",
"js/merged-template-prepend",
"core/l10n/en"
]
]
},
{
"file": "/var/www/html/lib/private/TemplateLayout.php",
"line": 194,
"function": "findJavascriptFiles",
"class": "OC\\TemplateLayout",
"type": "::",
"args": [
[
"core/js/dist/main",
"js/dist/files_fileinfo",
"js/dist/files_client",
"js/merged-template-prepend",
"core/l10n/en"
]
]
},
{
"file": "/var/www/html/lib/private/legacy/OC_Template.php",
"line": 183,
"function": "__construct",
"class": "OC\\TemplateLayout",
"type": "->",
"args": [
"error",
""
]
},
{
"file": "/var/www/html/lib/private/Template/Base.php",
"line": 132,
"function": "fetchPage",
"class": "OC_Template",
"type": "->",
"args": []
},
{
"file": "/var/www/html/lib/private/legacy/OC_Template.php",
"line": 332,
"function": "printPage",
"class": "OC\\Template\\Base",
"type": "->",
"args": []
},
{
"file": "/var/www/html/index.php",
"line": 63,
"function": "printExceptionErrorPage",
"class": "OC_Template",
"type": "::",
"args": [
{
"__class__": "RedisException"
},
500
]
}
],
"File": "/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php",
"Line": 111,
"CustomMessage": "Could not boot files_versionsCould not resolve OCA\\Files_Versions\\Versions\\IVersionManager! Class can not be instantiated"
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15",
"version": "20.0.1.1"
}
I switched to the nextcloud:19 image and installation went fine with no errors.
I ran into the same problem with installing fresh from nextcloud:apache, falling back to nextcloud:19-apache worked for me.
The logs indicates, that it is a problem with redis. I was able to work around the error by not using Redis until this is fixed.
Since I'm using docker, it was as easy as uncommenting the
REDIS_HOST
Environment variable
Ah, nice. For me first using 19-apache and then switching to 20-apache also worked.
I experienced the same issue as @JulesRenz. Unfortunately, for me, this was a fresh install with 20. The installation would look successful, but an error page would show and not autologin as usual. A fresh install with no Redis was successful.
Edit: after the installation was successful, I added Redis back to docker-compose and was able to reproduce the same exact scenario as @JulesRenz.
Most helpful comment
I believe I am also having this issue.
I am running nextcloud in docker and have just updated using
docker-compose pull.