Closed juliusknorr closed 1 year ago
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.
This is also a an issue in the Nextcloud VM.
NC 21.0.0
@enoch85 here you go:
It would be interesting to know if this throws a more meaningful exception now on master after https://github.com/nextcloud/server/pull/25535
@ChristophWurst If the fix is backported to stable 21 I'll be the first one to let you know for 21.0.1.
It won't. It's not a fix.
@enoch85 It only enhances the logging of errors, afaics.
Well, at least logging will be better then so that I can post the new output here. :smile:
fresh 21 install on debian buster, no redis, backend is postgres (if that matters, but I doubt), same two errors about version and trash
logs (pretty printed with jq)
{
"reqId": "CmlvOlebZHfGeYTtxaWf",
"level": 3,
"time": "2021-03-01T10:15:46+00:00",
"remoteAddr": "192.168.211.76",
"user": "theboss",
"app": "no app in context",
"method": "POST",
"url": "/index.php",
"message": {
"Exception": "OCP\\AppFramework\\QueryException",
"Message": "Could not resolve trashManager! Class trashManager does not exist",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 126,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"trashManager"
]
},
{
"file": "/var/www/nextcloud/lib/private/ServerContainer.php",
"line": 162,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"trashManager",
true
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 434,
"function": "query",
"class": "OC\\ServerContainer",
"type": "->",
"args": [
"trashManager",
true
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 56,
"function": "query",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"trashManager"
]
},
{
"file": "/var/www/nextcloud/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/nextcloud/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/nextcloud/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/nextcloud/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/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 176,
"function": "boot",
"class": "OCA\\Files_Trashbin\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 197,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"files_trashbin"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 137,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"files_trashbin"
]
},
{
"file": "/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php",
"line": 124,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"dav"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 176,
"function": "boot",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 197,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 137,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"dav"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_Util.php",
"line": 203,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"filesystem"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 554,
"function": "setupFS",
"class": "OC_Util",
"type": "::",
"args": [
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 415,
"function": "prepareUserLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
true,
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 624,
"function": "completeLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 367,
"function": "loginWithPassword",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/Setup.php",
"line": 440,
"function": "login",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/core/Controller/SetupController.php",
"line": 75,
"function": "install",
"class": "OC\\Setup",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 932,
"function": "run",
"class": "OC\\Core\\Controller\\SetupController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 37,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php",
"Line": 115,
"CustomMessage": "Could not boot files_trashbinCould not resolve trashManager! Class trashManager does not exist"
},
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0",
"version": "21.0.0.18"
}
{
"reqId": "CmlvOlebZHfGeYTtxaWf",
"level": 3,
"time": "2021-03-01T10:15:46+00:00",
"remoteAddr": "192.168.211.76",
"user": "theboss",
"app": "no app in context",
"method": "POST",
"url": "/index.php",
"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/nextcloud/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/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 459,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 431,
"function": "queryNoFallback",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"OCA\\Files_Versions\\Versions\\IVersionManager"
]
},
{
"file": "/var/www/nextcloud/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/nextcloud/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/nextcloud/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/nextcloud/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/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php",
"line": 52,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/nextcloud/apps/files_versions/lib/AppInfo/Application.php",
"line": 91,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\BootContext",
"type": "->",
"args": [
{
"__class__": "Closure"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 176,
"function": "boot",
"class": "OCA\\Files_Versions\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 197,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"files_versions"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 137,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"files_versions"
]
},
{
"file": "/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php",
"line": 124,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"dav"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 176,
"function": "boot",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
{
"__class__": "OC\\AppFramework\\Bootstrap\\BootContext"
}
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 197,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
"line": 137,
"function": "loadApp",
"class": "OC_App",
"type": "::",
"args": [
"dav"
]
},
{
"file": "/var/www/nextcloud/lib/private/legacy/OC_Util.php",
"line": 203,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": [
[
"filesystem"
]
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 554,
"function": "setupFS",
"class": "OC_Util",
"type": "::",
"args": [
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 415,
"function": "prepareUserLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
true,
"*** sensitive parameter replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 624,
"function": "completeLogin",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/User/Session.php",
"line": 367,
"function": "loginWithPassword",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/Setup.php",
"line": 440,
"function": "login",
"class": "OC\\User\\Session",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/core/Controller/SetupController.php",
"line": 75,
"function": "install",
"class": "OC\\Setup",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 932,
"function": "run",
"class": "OC\\Core\\Controller\\SetupController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/index.php",
"line": 37,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/nextcloud/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 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0",
"version": "21.0.0.18"
}
This is a showstopper for me. I am stuck with an internal server error and no more errors are logged, it's like the whole thing has stopped working, even logging.
Ok this could be a separate issue, because occ says there's something wrong with db access it seems (db rights and permissions)
root#cloud 16:26:41 ~ # su www-data -s /bin/bash -
www-data@cloud:/root$ cd /var/www/nextcloud
www-data@cloud:~/nextcloud$ ls
3rdparty apps AUTHORS config console.php COPYING core cron.php data index.html index.php lib occ ocm-provider ocs ocs-provider public.php remote.php resources robots.txt status.php themes updater version.php
www-data@cloud:~/nextcloud$ php occ
An unhandled exception has been thrown:
PDOException: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for table oc_appconfig in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php:82
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php(82): PDO->query('SELECT * FROM "...')
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1035): Doctrine\DBAL\Driver\PDO\Connection->query('SELECT * FROM "...')
#2 /var/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL)
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(210): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array)
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(286): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#7 /var/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(957): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /var/www/nextcloud/lib/private/Server.php(678): OC_App::getAppVersions()
#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#13 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false)
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(177): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#19 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false)
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\ICacheFacto...')
#21 /var/www/nextcloud/lib/private/Server.php(1018): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#23 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#25 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#27 /var/www/nextcloud/lib/private/Server.php(1977): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#28 /var/www/nextcloud/lib/private/Files/View.php(119): OC\Server->getLockingProvider()
#29 /var/www/nextcloud/lib/private/Server.php(426): OC\Files\View->__construct()
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#31 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#33 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#35 /var/www/nextcloud/lib/private/Server.php(1340): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#36 /var/www/nextcloud/lib/base.php(588): OC\Server->boot()
#37 /var/www/nextcloud/lib/base.php(1076): OC::init()
#38 /var/www/nextcloud/console.php(49): require_once('/var/www/nextcl...')
#39 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#40 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for table oc_appconfig in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php:26
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php(87): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1035): Doctrine\DBAL\Driver\PDO\Connection->query('SELECT * FROM "...')
#2 /var/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL)
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(210): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array)
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(286): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#7 /var/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(957): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /var/www/nextcloud/lib/private/Server.php(678): OC_App::getAppVersions()
#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#13 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false)
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(177): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#19 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false)
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\ICacheFacto...')
#21 /var/www/nextcloud/lib/private/Server.php(1018): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#23 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#25 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#27 /var/www/nextcloud/lib/private/Server.php(1977): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#28 /var/www/nextcloud/lib/private/Files/View.php(119): OC\Server->getLockingProvider()
#29 /var/www/nextcloud/lib/private/Server.php(426): OC\Files\View->__construct()
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#31 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#33 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#35 /var/www/nextcloud/lib/private/Server.php(1340): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#36 /var/www/nextcloud/lib/base.php(588): OC\Server->boot()
#37 /var/www/nextcloud/lib/base.php(1076): OC::init()
#38 /var/www/nextcloud/console.php(49): require_once('/var/www/nextcl...')
#39 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#40 {main}
Next Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for table oc_appconfig in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:83
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1728): Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query))
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1667): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query))
#2 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1040): Doctrine\DBAL\Connection->convertExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT * FROM "...', Array, Array)
#3 /var/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM "...', Array, Array, NULL)
#4 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(210): OC\DB\Connection->executeQuery('SELECT * FROM "...', Array, Array)
#5 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(286): Doctrine\DBAL\Query\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#7 /var/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#8 /var/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#9 /var/www/nextcloud/lib/private/legacy/OC_App.php(957): OC\AppConfig->getValues(false, 'installed_versi...')
#10 /var/www/nextcloud/lib/private/Server.php(678): OC_App::getAppVersions()
#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#14 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false)
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(177): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#18 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#20 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false)
#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\ICacheFacto...')
#22 /var/www/nextcloud/lib/private/Server.php(1018): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#24 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#26 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#28 /var/www/nextcloud/lib/private/Server.php(1977): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#29 /var/www/nextcloud/lib/private/Files/View.php(119): OC\Server->getLockingProvider()
#30 /var/www/nextcloud/lib/private/Server.php(426): OC\Files\View->__construct()
#31 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#32 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#33 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#34 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#35 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#36 /var/www/nextcloud/lib/private/Server.php(1340): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#37 /var/www/nextcloud/lib/base.php(588): OC\Server->boot()
#38 /var/www/nextcloud/lib/base.php(1076): OC::init()
#39 /var/www/nextcloud/console.php(49): require_once('/var/www/nextcl...')
#40 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#41 {main}www-data@cloud:~/nextcloud$
But on the other hand the tables have been created, so I don't know why is there a permission problem now !
nextcloud-# \pset pager off
Pager usage is off.
nextcloud-# \dt
List of relations
Schema | Name | Type | Owner
--------+-----------------------------+-------+-----------
public | oc_accounts | table | nextcloud
public | oc_accounts_data | table | nextcloud
public | oc_activity | table | nextcloud
public | oc_activity_mq | table | nextcloud
public | oc_addressbookchanges | table | nextcloud
public | oc_addressbooks | table | nextcloud
public | oc_appconfig | table | nextcloud
public | oc_authtoken | table | nextcloud
public | oc_bruteforce_attempts | table | nextcloud
public | oc_calendar_invitations | table | nextcloud
public | oc_calendar_reminders | table | nextcloud
public | oc_calendar_resources | table | nextcloud
public | oc_calendar_resources_md | table | nextcloud
public | oc_calendar_rooms | table | nextcloud
public | oc_calendar_rooms_md | table | nextcloud
public | oc_calendarchanges | table | nextcloud
public | oc_calendarobjects | table | nextcloud
public | oc_calendarobjects_props | table | nextcloud
public | oc_calendars | table | nextcloud
public | oc_calendarsubscriptions | table | nextcloud
public | oc_cards | table | nextcloud
public | oc_cards_properties | table | nextcloud
public | oc_collres_accesscache | table | nextcloud
public | oc_collres_collections | table | nextcloud
public | oc_collres_resources | table | nextcloud
public | oc_comments | table | nextcloud
public | oc_comments_read_markers | table | nextcloud
public | oc_dav_cal_proxy | table | nextcloud
public | oc_dav_shares | table | nextcloud
public | oc_direct_edit | table | nextcloud
public | oc_directlink | table | nextcloud
public | oc_federated_reshares | table | nextcloud
public | oc_file_locks | table | nextcloud
public | oc_filecache | table | nextcloud
public | oc_filecache_extended | table | nextcloud
public | oc_files_trash | table | nextcloud
public | oc_flow_checks | table | nextcloud
public | oc_flow_operations | table | nextcloud
public | oc_flow_operations_scope | table | nextcloud
public | oc_group_admin | table | nextcloud
public | oc_group_user | table | nextcloud
public | oc_groups | table | nextcloud
public | oc_jobs | table | nextcloud
public | oc_login_flow_v2 | table | nextcloud
public | oc_migrations | table | nextcloud
public | oc_mimetypes | table | nextcloud
public | oc_mounts | table | nextcloud
public | oc_notifications | table | nextcloud
public | oc_notifications_pushtokens | table | nextcloud
public | oc_oauth2_access_tokens | table | nextcloud
public | oc_oauth2_clients | table | nextcloud
public | oc_preferences | table | nextcloud
public | oc_privacy_admins | table | nextcloud
public | oc_properties | table | nextcloud
public | oc_recent_contact | table | nextcloud
public | oc_schedulingobjects | table | nextcloud
public | oc_share | table | nextcloud
public | oc_share_external | table | nextcloud
public | oc_storages | table | nextcloud
public | oc_storages_credentials | table | nextcloud
public | oc_systemtag | table | nextcloud
public | oc_systemtag_group | table | nextcloud
public | oc_systemtag_object_mapping | table | nextcloud
public | oc_text_documents | table | nextcloud
public | oc_text_sessions | table | nextcloud
public | oc_text_steps | table | nextcloud
public | oc_trusted_servers | table | nextcloud
public | oc_twofactor_backupcodes | table | nextcloud
public | oc_twofactor_providers | table | nextcloud
public | oc_user_status | table | nextcloud
public | oc_user_transfer_owner | table | nextcloud
public | oc_users | table | nextcloud
public | oc_vcategory | table | nextcloud
public | oc_vcategory_to_object | table | nextcloud
public | oc_webauthn | table | nextcloud
public | oc_whats_new | table | nextcloud
(76 rows)
nextcloud-#
ok as mentioned that was a separate issue. Apparently the installer script didn't reassign the newly created database and tables to the newly created user. I didn't fix the installer script. I rather manually reassigned the nextcloud database and tables, sequences, views, etc. to the created user. Problem fixed.
The original problem though, I don't know about it.
Same error is seen (NC v20.0.4, hosted by Hetzer as "StorageShare") after initial setup by Hetzner
An Ansible script we use for automatic deployment has suddenly broken. Interestingly we have made no changes and we pull Nextcloud 20 from our own S3 bucket that is static, except upgrading 20.04 LTS to current before building.
I managed to fix this by using PHP8 and adding apc.enable_cli=1 to the end of /etc/php/8.0/cli/conf.d/20-apcu.ini
Redis was actually the underlying issue because it is now using PHP8 and Nextcloud was using PHP7.
How exactly would I "use PHP8" to work around this? I'm not a PHP expert, so a fairly explicit step-by-step procedure (or a pointer to a procedure) would be helpful.
I see this problem in a fresh install of Nextcloud version 22.1.0 on Ubuntu 20.04 LTS. nextcloud.log
ok as mentioned that was a separate issue. Apparently the installer script didn't reassign the newly created database and tables to the newly created user. I didn't fix the installer script. I rather manually reassigned the nextcloud database and tables, sequences, views, etc. to the created user. Problem fixed.
The original problem though, I don't know about it.
@ychaouche what was this newly created user in question? I had created a role named nextcloud
in postgres, and created the db nextclouddb
Like you, all the tables, sequences, etc seem to have been created and are currently owned by the role nextcloud
In your post before stating you "manually reassigned to the created user", but in your post prior they are owned by nextcloud
I do not see a new role created in my database, the original nextcloud
role I manually made still exists and thats it.
@SteffenBlake the user I created was theboss. The installer script should have given the privileges and ownership to theboss instead of the default nextcloud user. Here's a log I kept while working on this problem (better viewed in emacs with outline-mode)
*** insufficient privileges
**** how and what error
when using occ :
root#cloud 10:53:37 /var/www/nextcloud # php occ
An unhandled exception has been thrown:
PDOException: SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied for table oc_appconfig in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php:82
**** what config
the database user has been changed by nextcloud in the config file :
'dbuser' => 'oc_theboss',
so now nextcloud software accesses the nextcloud database as the oc_theboss user.
**** current privileges
the psql \l commands shows the privileges of oc_theboss on the nextcloud database
root#cloud 10:53:33 ~ # su - postgres -c psql
psql (11.10 (Debian 11.10-0+deb10u1))
Type "help" for help.
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+-----------+----------+-------------+-------------+-------------------------
nextcloud | nextcloud | UTF8 | en_US.UTF-8 | en_US.UTF-8 | nextcloud=CTc/nextcloud+
| | | | | oc_theboss=c/nextcloud
for oc_theboss, the privileges are c/nextcloud
c is connect. So the user is only allowed to connect to the database, but doesn't seem to have any other privilege.
**** privileges documentation
https://www.postgresql.org/docs/11/ddl-priv.html#PRIVILEGE-ABBREVS-TABLE
CREATE C DATABASE, SCHEMA, TABLESPACE
TEMPORARY T DATABASE
CONNECT c DATABASE
**** solution
***** REASSIGN OWNED BY
source : https://www.postgresql.org/docs/11/sql-reassign-owned.html
referenced by : https://stackoverflow.com/a/2686185/212044
***** before
nextcloud=# \d
List of relations
Schema | Name | Type | Owner
--------+--------------------------------------+----------+------------
public | oc_accounts | table | nextcloud
public | oc_accounts_data | table | nextcloud
public | oc_accounts_data_id_seq | sequence | nextcloud
public | oc_activity | table | nextcloud
public | oc_activity_activity_id_seq | sequence | nextcloud
public | oc_activity_mq | table | nextcloud
public | oc_activity_mq_mail_id_seq | sequence | nextcloud
public | oc_addressbookchanges | table | nextcloud
public | oc_addressbookchanges_id_seq | sequence | nextcloud
public | oc_addressbooks | table | nextcloud
public | oc_addressbooks_id_seq | sequence | nextcloud
public | oc_appconfig | table | nextcloud
public | oc_authtoken | table | nextcloud
public | oc_authtoken_id_seq | sequence | nextcloud
public | oc_bruteforce_attempts | table | nextcloud
public | oc_bruteforce_attempts_id_seq | sequence | nextcloud
public | oc_calendar_invitations | table | nextcloud
public | oc_calendar_invitations_id_seq | sequence | nextcloud
public | oc_calendar_reminders | table | nextcloud
public | oc_calendar_reminders_id_seq | sequence | nextcloud
public | oc_calendar_resources | table | nextcloud
public | oc_calendar_resources_id_seq | sequence | nextcloud
public | oc_calendar_resources_md | table | nextcloud
public | oc_calendar_resources_md_id_seq | sequence | nextcloud
public | oc_calendar_rooms | table | nextcloud
public | oc_calendar_rooms_id_seq | sequence | nextcloud
public | oc_calendar_rooms_md | table | nextcloud
public | oc_calendar_rooms_md_id_seq | sequence | nextcloud
public | oc_calendarchanges | table | nextcloud
public | oc_calendarchanges_id_seq | sequence | nextcloud
public | oc_calendarobjects | table | nextcloud
public | oc_calendarobjects_id_seq | sequence | nextcloud
public | oc_calendarobjects_props | table | nextcloud
public | oc_calendarobjects_props_id_seq | sequence | nextcloud
public | oc_calendars | table | nextcloud
public | oc_calendars_id_seq | sequence | nextcloud
public | oc_calendarsubscriptions | table | nextcloud
public | oc_calendarsubscriptions_id_seq | sequence | nextcloud
public | oc_cards | table | nextcloud
public | oc_cards_id_seq | sequence | nextcloud
public | oc_cards_properties | table | nextcloud
public | oc_cards_properties_id_seq | sequence | nextcloud
public | oc_collres_accesscache | table | nextcloud
public | oc_collres_collections | table | nextcloud
public | oc_collres_collections_id_seq | sequence | nextcloud
public | oc_collres_resources | table | nextcloud
public | oc_comments | table | nextcloud
public | oc_comments_id_seq | sequence | nextcloud
public | oc_comments_read_markers | table | nextcloud
public | oc_dav_cal_proxy | table | nextcloud
public | oc_dav_cal_proxy_id_seq | sequence | nextcloud
public | oc_dav_shares | table | nextcloud
public | oc_dav_shares_id_seq | sequence | nextcloud
public | oc_direct_edit | table | nextcloud
public | oc_direct_edit_id_seq | sequence | nextcloud
public | oc_directlink | table | nextcloud
public | oc_directlink_id_seq | sequence | nextcloud
public | oc_federated_reshares | table | nextcloud
public | oc_file_locks | table | nextcloud
public | oc_file_locks_id_seq | sequence | nextcloud
public | oc_filecache | table | nextcloud
public | oc_filecache_extended | table | nextcloud
public | oc_filecache_fileid_seq | sequence | nextcloud
public | oc_files_trash | table | nextcloud
public | oc_files_trash_auto_id_seq | sequence | nextcloud
public | oc_flow_checks | table | nextcloud
public | oc_flow_checks_id_seq | sequence | nextcloud
public | oc_flow_operations | table | nextcloud
public | oc_flow_operations_id_seq | sequence | nextcloud
public | oc_flow_operations_scope | table | nextcloud
public | oc_flow_operations_scope_id_seq | sequence | nextcloud
public | oc_group_admin | table | nextcloud
public | oc_group_user | table | nextcloud
public | oc_groups | table | nextcloud
public | oc_jobs | table | nextcloud
public | oc_jobs_id_seq | sequence | nextcloud
public | oc_login_flow_v2 | table | nextcloud
public | oc_login_flow_v2_id_seq | sequence | nextcloud
public | oc_migrations | table | nextcloud
public | oc_mimetypes | table | nextcloud
public | oc_mimetypes_id_seq | sequence | nextcloud
public | oc_mounts | table | nextcloud
public | oc_mounts_id_seq | sequence | nextcloud
public | oc_notifications | table | nextcloud
public | oc_notifications_notification_id_seq | sequence | nextcloud
public | oc_notifications_pushtokens | table | nextcloud
public | oc_oauth2_access_tokens | table | nextcloud
public | oc_oauth2_access_tokens_id_seq | sequence | nextcloud
public | oc_oauth2_clients | table | nextcloud
public | oc_oauth2_clients_id_seq | sequence | nextcloud
public | oc_preferences | table | nextcloud
public | oc_privacy_admins | table | nextcloud
public | oc_privacy_admins_id_seq | sequence | nextcloud
public | oc_properties | table | nextcloud
public | oc_properties_id_seq | sequence | nextcloud
public | oc_recent_contact | table | nextcloud
public | oc_recent_contact_id_seq | sequence | nextcloud
public | oc_schedulingobjects | table | nextcloud
public | oc_schedulingobjects_id_seq | sequence | nextcloud
public | oc_share | table | nextcloud
public | oc_share_external | table | nextcloud
public | oc_share_external_id_seq | sequence | nextcloud
public | oc_share_id_seq | sequence | nextcloud
public | oc_storages | table | nextcloud
public | oc_storages_credentials | table | nextcloud
public | oc_storages_credentials_id_seq | sequence | nextcloud
public | oc_storages_numeric_id_seq | sequence | nextcloud
public | oc_systemtag | table | nextcloud
public | oc_systemtag_group | table | nextcloud
public | oc_systemtag_id_seq | sequence | nextcloud
public | oc_systemtag_object_mapping | table | nextcloud
public | oc_text_documents | table | nextcloud
public | oc_text_sessions | table | nextcloud
public | oc_text_sessions_id_seq | sequence | nextcloud
public | oc_text_steps | table | nextcloud
public | oc_text_steps_id_seq | sequence | nextcloud
public | oc_trusted_servers | table | nextcloud
public | oc_trusted_servers_id_seq | sequence | nextcloud
public | oc_twofactor_backupcodes | table | nextcloud
public | oc_twofactor_backupcodes_id_seq | sequence | nextcloud
public | oc_twofactor_providers | table | nextcloud
public | oc_user_status | table | nextcloud
public | oc_user_status_id_seq | sequence | nextcloud
public | oc_user_transfer_owner | table | nextcloud
public | oc_user_transfer_owner_id_seq | sequence | nextcloud
public | oc_users | table | nextcloud
public | oc_vcategory | table | nextcloud
public | oc_vcategory_id_seq | sequence | nextcloud
public | oc_vcategory_to_object | table | nextcloud
public | oc_webauthn | table | nextcloud
public | oc_webauthn_id_seq | sequence | nextcloud
public | oc_whats_new | table | nextcloud
public | oc_whats_new_id_seq | sequence | nextcloud
(133 rows)
nextcloud=#
***** after
nextcloud=# \d
List of relations
Schema | Name | Type | Owner
--------+--------------------------------------+----------+------------
public | oc_accounts | table | oc_theboss
public | oc_accounts_data | table | oc_theboss
public | oc_accounts_data_id_seq | sequence | oc_theboss
public | oc_activity | table | oc_theboss
public | oc_activity_activity_id_seq | sequence | oc_theboss
public | oc_activity_mq | table | oc_theboss
public | oc_activity_mq_mail_id_seq | sequence | oc_theboss
public | oc_addressbookchanges | table | oc_theboss
public | oc_addressbookchanges_id_seq | sequence | oc_theboss
public | oc_addressbooks | table | oc_theboss
public | oc_addressbooks_id_seq | sequence | oc_theboss
public | oc_appconfig | table | oc_theboss
public | oc_authtoken | table | oc_theboss
public | oc_authtoken_id_seq | sequence | oc_theboss
public | oc_bruteforce_attempts | table | oc_theboss
public | oc_bruteforce_attempts_id_seq | sequence | oc_theboss
public | oc_calendar_invitations | table | oc_theboss
public | oc_calendar_invitations_id_seq | sequence | oc_theboss
public | oc_calendar_reminders | table | oc_theboss
public | oc_calendar_reminders_id_seq | sequence | oc_theboss
public | oc_calendar_resources | table | oc_theboss
public | oc_calendar_resources_id_seq | sequence | oc_theboss
public | oc_calendar_resources_md | table | oc_theboss
public | oc_calendar_resources_md_id_seq | sequence | oc_theboss
public | oc_calendar_rooms | table | oc_theboss
public | oc_calendar_rooms_id_seq | sequence | oc_theboss
public | oc_calendar_rooms_md | table | oc_theboss
public | oc_calendar_rooms_md_id_seq | sequence | oc_theboss
public | oc_calendarchanges | table | oc_theboss
public | oc_calendarchanges_id_seq | sequence | oc_theboss
public | oc_calendarobjects | table | oc_theboss
public | oc_calendarobjects_id_seq | sequence | oc_theboss
public | oc_calendarobjects_props | table | oc_theboss
public | oc_calendarobjects_props_id_seq | sequence | oc_theboss
public | oc_calendars | table | oc_theboss
public | oc_calendars_id_seq | sequence | oc_theboss
public | oc_calendarsubscriptions | table | oc_theboss
public | oc_calendarsubscriptions_id_seq | sequence | oc_theboss
public | oc_cards | table | oc_theboss
public | oc_cards_id_seq | sequence | oc_theboss
public | oc_cards_properties | table | oc_theboss
public | oc_cards_properties_id_seq | sequence | oc_theboss
public | oc_collres_accesscache | table | oc_theboss
public | oc_collres_collections | table | oc_theboss
public | oc_collres_collections_id_seq | sequence | oc_theboss
public | oc_collres_resources | table | oc_theboss
public | oc_comments | table | oc_theboss
public | oc_comments_id_seq | sequence | oc_theboss
public | oc_comments_read_markers | table | oc_theboss
public | oc_dav_cal_proxy | table | oc_theboss
public | oc_dav_cal_proxy_id_seq | sequence | oc_theboss
public | oc_dav_shares | table | oc_theboss
public | oc_dav_shares_id_seq | sequence | oc_theboss
public | oc_direct_edit | table | oc_theboss
public | oc_direct_edit_id_seq | sequence | oc_theboss
public | oc_directlink | table | oc_theboss
public | oc_directlink_id_seq | sequence | oc_theboss
public | oc_federated_reshares | table | oc_theboss
public | oc_file_locks | table | oc_theboss
public | oc_file_locks_id_seq | sequence | oc_theboss
public | oc_filecache | table | oc_theboss
public | oc_filecache_extended | table | oc_theboss
public | oc_filecache_fileid_seq | sequence | oc_theboss
public | oc_files_trash | table | oc_theboss
public | oc_files_trash_auto_id_seq | sequence | oc_theboss
public | oc_flow_checks | table | oc_theboss
public | oc_flow_checks_id_seq | sequence | oc_theboss
public | oc_flow_operations | table | oc_theboss
public | oc_flow_operations_id_seq | sequence | oc_theboss
public | oc_flow_operations_scope | table | oc_theboss
public | oc_flow_operations_scope_id_seq | sequence | oc_theboss
public | oc_group_admin | table | oc_theboss
public | oc_group_user | table | oc_theboss
public | oc_groups | table | oc_theboss
public | oc_jobs | table | oc_theboss
public | oc_jobs_id_seq | sequence | oc_theboss
public | oc_login_flow_v2 | table | oc_theboss
public | oc_login_flow_v2_id_seq | sequence | oc_theboss
public | oc_migrations | table | oc_theboss
public | oc_mimetypes | table | oc_theboss
public | oc_mimetypes_id_seq | sequence | oc_theboss
public | oc_mounts | table | oc_theboss
public | oc_mounts_id_seq | sequence | oc_theboss
public | oc_notifications | table | oc_theboss
public | oc_notifications_notification_id_seq | sequence | oc_theboss
public | oc_notifications_pushtokens | table | oc_theboss
public | oc_oauth2_access_tokens | table | oc_theboss
public | oc_oauth2_access_tokens_id_seq | sequence | oc_theboss
public | oc_oauth2_clients | table | oc_theboss
public | oc_oauth2_clients_id_seq | sequence | oc_theboss
public | oc_preferences | table | oc_theboss
public | oc_privacy_admins | table | oc_theboss
public | oc_privacy_admins_id_seq | sequence | oc_theboss
public | oc_properties | table | oc_theboss
public | oc_properties_id_seq | sequence | oc_theboss
public | oc_recent_contact | table | oc_theboss
public | oc_recent_contact_id_seq | sequence | oc_theboss
public | oc_schedulingobjects | table | oc_theboss
public | oc_schedulingobjects_id_seq | sequence | oc_theboss
public | oc_share | table | oc_theboss
public | oc_share_external | table | oc_theboss
public | oc_share_external_id_seq | sequence | oc_theboss
public | oc_share_id_seq | sequence | oc_theboss
public | oc_storages | table | oc_theboss
public | oc_storages_credentials | table | oc_theboss
public | oc_storages_credentials_id_seq | sequence | oc_theboss
public | oc_storages_numeric_id_seq | sequence | oc_theboss
public | oc_systemtag | table | oc_theboss
public | oc_systemtag_group | table | oc_theboss
public | oc_systemtag_id_seq | sequence | oc_theboss
public | oc_systemtag_object_mapping | table | oc_theboss
public | oc_text_documents | table | oc_theboss
public | oc_text_sessions | table | oc_theboss
public | oc_text_sessions_id_seq | sequence | oc_theboss
public | oc_text_steps | table | oc_theboss
public | oc_text_steps_id_seq | sequence | oc_theboss
public | oc_trusted_servers | table | oc_theboss
public | oc_trusted_servers_id_seq | sequence | oc_theboss
public | oc_twofactor_backupcodes | table | oc_theboss
public | oc_twofactor_backupcodes_id_seq | sequence | oc_theboss
public | oc_twofactor_providers | table | oc_theboss
public | oc_user_status | table | oc_theboss
public | oc_user_status_id_seq | sequence | oc_theboss
public | oc_user_transfer_owner | table | oc_theboss
public | oc_user_transfer_owner_id_seq | sequence | oc_theboss
public | oc_users | table | oc_theboss
public | oc_vcategory | table | oc_theboss
public | oc_vcategory_id_seq | sequence | oc_theboss
public | oc_vcategory_to_object | table | oc_theboss
public | oc_webauthn | table | oc_theboss
public | oc_webauthn_id_seq | sequence | oc_theboss
public | oc_whats_new | table | oc_theboss
public | oc_whats_new_id_seq | sequence | oc_theboss
(133 rows)
nextcloud=#
Error still existing on Nextcloud 22. Does automatic setup work in some ways for version 20, 21, 22 ?
Edit: It suddenly worked for version 22... Without real changes, I'm not able to find any explanation, tried to verify each config modification, do not seem to have any... Hope it won't crash again :crossed_fingers:
Hi, please update to at least 23.0.12 and report back if it fixes the issue. Thank you!
Did not see this anymore for quite some time so let's close
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:
cc @ChristophWurst