Nextcloud update 19.0.3 to 20.0.0 failed, docker

just updated to nextcloud 20, but unfortunately nextcloud does not start anymore.

a downgrade is unfortunately not possible

log output

{
  "reqId": "OLSGYCKE3gPA0UG3etum",
  "level": 3,
  "time": "2020-10-06T16:01:27+00:00",
  "remoteAddr": "94.134.xxx.xxx",
  "user": "--",
  "app": "no app in context",
  "method": "PROPFIND",
  "url": "/remote.php/webdav/",
  "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_ocy1jptc66cc/js/core"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/AppData/AppData.php",
        "line": 142,
        "function": "get",
        "class": "OC\\Files\\Node\\LazyFolder",
        "type": "->",
        "args": [
          "appdata_ocy1jptc66cc/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/remote.php",
        "line": 87,
        "function": "printExceptionErrorPage",
        "class": "OC_Template",
        "type": "::",
        "args": [
          {
            "__class__": "RedisException"
          },
          500
        ]
      },
      {
        "file": "/var/www/html/remote.php",
        "line": 169,
        "function": "handleException",
        "args": [
          {
            "__class__": "RedisException"
          }
        ]
      }
    ],
    "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": "davfs2/1.5.4 neon/0.30.2",
  "version": "19.0.3.1"
}


2 Likes

I had this same isssue. I was able to resolve by following the instructions in https://help.nextcloud.com/t/solved-latest-docker-image-broke-the-installation-redis-password-auth/87598