Error installing Maps app in Nextcloud 18 "Hub"

I upgraded my Docker-based NC 17.0.2 instance to 18.0.0 via docker pull. After seeing Frank highlight the Maps app in his keynote presentation, I wanted to install it, but I encountered an error (see below). Before installing, I removed the existing installation, which was manually installed from a development version of the Maps app, but I don’t see why that would interfere with this new installation of the official release.

{
   "userAgent" : "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0",
   "url" : "/settings/apps/enable",
   "level" : 3,
   "time" : "2020-01-19T14:20:59+00:00",
   "user" : "andrew",
   "remoteAddr" : "1.2.3.4",
   "version" : "18.0.0.10",
   "message" : {
      "CustomMessage" : "--",
      "Exception" : "Exception",
      "Line" : 288,
      "Trace" : [
         {
            "args" : [
               "maps"
            ],
            "file" : "/var/www/html/apps/settings/lib/Controller/AppSettingsController.php",
            "line" : 440,
            "class" : "OC\\Installer",
            "type" : "->",
            "function" : "downloadApp"
         },
         {
            "type" : "->",
            "line" : 170,
            "class" : "OCA\\Settings\\Controller\\AppSettingsController",
            "file" : "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
            "args" : [
               [
                  "maps"
               ],
               []
            ],
            "function" : "enableApps"
         },
         {
            "function" : "executeController",
            "file" : "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
            "args" : [
               {
                  "__class__" : "OCA\\Settings\\Controller\\AppSettingsController"
               },
               "enableApps"
            ],
            "line" : 99,
            "class" : "OC\\AppFramework\\Http\\Dispatcher",
            "type" : "->"
         },
         {
            "file" : "/var/www/html/lib/private/AppFramework/App.php",
            "args" : [
               {
                  "__class__" : "OCA\\Settings\\Controller\\AppSettingsController"
               },
               "enableApps"
            ],
            "class" : "OC\\AppFramework\\Http\\Dispatcher",
            "line" : 125,
            "type" : "->",
            "function" : "dispatch"
         },
         {
            "function" : "main",
            "args" : [
               "OCA\\Settings\\Controller\\AppSettingsController",
               "enableApps",
               {
                  "__class__" : "OC\\AppFramework\\DependencyInjection\\DIContainer"
               },
               {
                  "_route" : "settings.AppSettings.enableApps"
               }
            ],
            "file" : "/var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php",
            "class" : "OC\\AppFramework\\App",
            "line" : 47,
            "type" : "::"
         },
         {
            "class" : "OC\\AppFramework\\Routing\\RouteActionHandler",
            "type" : "->",
            "args" : [
               {
                  "_route" : "settings.AppSettings.enableApps"
               }
            ],
            "function" : "__invoke"
         },
         {
            "function" : "call_user_func",
            "line" : 299,
            "args" : [
               {
                  "__class__" : "OC\\AppFramework\\Routing\\RouteActionHandler"
               },
               {
                  "_route" : "settings.AppSettings.enableApps"
               }
            ],
            "file" : "/var/www/html/lib/private/Route/Router.php"
         },
         {
            "class" : "OC\\Route\\Router",
            "line" : 1008,
            "type" : "->",
            "file" : "/var/www/html/lib/base.php",
            "args" : [
               "/settings/apps/enable"
            ],
            "function" : "match"
         },
         {
            "line" : 38,
            "class" : "OC",
            "type" : "::",
            "file" : "/var/www/html/index.php",
            "args" : [],
            "function" : "handleRequest"
         }
      ],
      "File" : "/var/www/html/lib/private/Installer.php",
      "Message" : "Could not extract app maps",
      "Code" : 0
   },
   "app" : "settings",
   "reqId" : "Tg4xmAeAHXw9h9gK1epa",
   "method" : "POST"
}

Hotly debated here:

1 Like

I had problems downloading the maps app using the Nextcloud Apps menu, therefore I downloaded and installed it manually, which worked fine and without any problems.

I’m marking the GitHub link as the “solution” since that is undoubtedly where the eventual solution will be described.