I just found the following two errors when installing Nextcloud 20 with occ. I w…ould 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