Skip to content

Exception: App with id maps has invalid signature #256

Description

@Githopp192

Steps to reproduce

Trying to update MAPS through NC Web api

Expected behaviour

Update is working

Actual behaviour

Exception: App with id maps has invalid signature

Server configuration detail

Operating system: Linux 3.10.0-1062.4.3.el7.x86_64 #1 SMP Wed Nov 13 23:58:53 UTC 2019 x86_64

Webserver: Apache (apache2handler)

Database: mysql 5.5.64

PHP version:

7.2.24
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, intl, json, ldap, exif, mysqlnd, PDO, Phar, posix, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, apcu, igbinary, imagick, redis, Zend OPcache

Nextcloud version: 16.0.6 - 16.0.6.1

Updated from an older Nextcloud/ownCloud or fresh install: Update from older NC

Where did you install Nextcloud from: Original source

Signing status

Array
(
)

List of activated apps
Enabled:
 - accessibility: 1.2.0
 - activity: 2.9.1
 - analytics: 1.2.2
 - announcementcenter: 3.5.1
 - apporder: 0.9.0
 - audioplayer: 2.9.0
 - bookmarks: 2.3.4
 - bruteforcesettings: 1.4.0
 - calendar: 1.7.2
 - circles: 0.17.10
 - cloud_federation_api: 0.2.0
 - comments: 1.6.0
 - contacts: 3.1.6
 - cookbook: 0.5.7
 - cospend: 0.1.0
 - dashboardcharts: 0.1.3
 - data_request: 1.3.0
 - dav: 1.9.2
 - deck: 0.6.6
 - dicomviewer: 1.2.1
 - drawio: 0.9.4
 - drop_account: 0.1.0
 - event_update_notification: 0.3.4
 - extract: 1.2.3
 - federatedfilesharing: 1.6.0
 - federation: 1.6.0
 - files: 1.11.0
 - files_antivirus: 2.2.1
 - files_downloadactivity: 1.5.0
 - files_ebookreader: 0.0.1
 - files_mindmap: 0.0.15
 - files_pdfviewer: 1.5.0
 - files_rightclick: 0.15.1
 - files_sharing: 1.8.0
 - files_texteditor: 2.8.0
 - files_trashbin: 1.6.0
 - files_versions: 1.9.0
 - files_videoplayer: 1.5.0
 - firstrunwizard: 2.5.0
 - flowupload: 0.1.7
 - gallery: 18.3.0
 - issuetemplate: 0.6.0
 - joplin: 0.0.25
 - logreader: 2.1.0
 - lookup_server_connector: 1.4.0
 - maps: 0.1.2
 - nextcloud_announcements: 1.5.0
 - notes: 3.1.1
 - notifications: 2.4.1
 - oauth2: 1.4.2
 - onlyoffice: 4.1.1
 - ownbackup: 19.9.0
 - passman: 2.3.4
 - password_policy: 1.6.0
 - polls: 1.0.0
 - privacy: 1.0.0
 - provisioning_api: 1.6.0
 - quicknotes: 0.2.2
 - quota_warning: 1.5.0
 - radio: 0.6.5
 - rainloop: 6.0.4
 - ransomware_protection: 1.4.1
 - recommendations: 0.4.0
 - serverinfo: 1.6.0
 - sharebymail: 1.6.0
 - sharerenamer: 2.7.3
 - socialsharing_diaspora: 1.0.5
 - socialsharing_email: 1.0.6
 - socialsharing_facebook: 1.0.5
 - socialsharing_googleplus: 1.0.4
 - socialsharing_twitter: 1.0.5
 - spreed: 6.0.4
 - support: 1.0.0
 - suspicious_login: 1.0.0
 - systemtags: 1.6.0
 - tasks: 0.11.3
 - terms_of_service: 1.2.3
 - theming: 1.7.0
 - twofactor_backupcodes: 1.5.0
 - twofactor_totp: 3.0.1
 - updatenotification: 1.6.0
 - viewer: 1.2.0
 - workflowengine: 1.6.0
Disabled:
 - admin_audit
 - carnet
 - dashboard
 - encryption
 - external
 - files_accesscontrol
 - files_external
 - files_fulltextsearch
 - files_markdown
 - fulltextsearch
 - fulltextsearch_elasticsearch
 - impersonate
 - jsloader
 - passwords
 - richdocuments
 - survey_client
 - user_ldap
 - weather

Configuration (config/config.php)
{
    "memcache.local": "\\OC\\Memcache\\APCu",
    "filelocking.enabled": true,
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "dbindex": 0,
        "timeout": 1.5
    },
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        xxxx
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/xxxxxx",
    "htaccess.RewriteBase": "\/",
    "overwriteprotocol": "https",
    "dbtype": "mysql",
    "version": "16.0.6.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
    "theme": "",
    "loglevel": 1,
    "updater.release.channel": "production",
    "auth.bruteforce.protection.enabled": true,
    "check_for_working_htaccess": true,
    "data-fingerprint": "xxxx",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "tls",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "xxx",
    "session_lifetime": xxx,
    "session_keepalive": false,
    "logtimezone": "xxxx",
    "logfile": "\/media\/log\/nextcloud.log",
    "knowledgebaseenabled": false,
    "log_rotate_size": xxx,
    "onlyoffice": {
        "verify_peer_off": true
    },
    "mail_sendmailmode": "smtp"
}

Are you using external storage, if yes which one: none

Are you using encryption: none

Are you using an external user-backend, if yes which one: none

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

Operating system: Windows 10

Logs

[core] Error: Exception: App with id maps has invalid signature at <>

  1. /var/www/html/nextcloud/lib/private/Installer.php line 178
    OC\Installer->downloadApp("*** sensitive parameter replaced ***")
  2. /var/www/html/nextcloud/settings/Controller/AppSettingsController.php line 532
    OC\Installer->updateAppstoreApp("*** sensitive parameters replaced ***")
  3. /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
    OC\Settings\Controller\AppSettingsController->updateApp("*** sensitive parameters replaced ***")
  4. /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
    OC\AppFramework\Http\Dispatcher->executeController(OC\Settings\Cont ... {}, "updateApp")
  5. /var/www/html/nextcloud/lib/private/AppFramework/App.php line 126
    OC\AppFramework\Http\Dispatcher->dispatch(OC\Settings\Cont ... {}, "updateApp")
  6. /var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main("OC\Settings\C ... r", "updateApp", OC\AppFramework\ ... {}, {appId: "*** sen ... "})
  7. <>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({appId: "*** sen ... "})
  8. /var/www/html/nextcloud/lib/private/Route/Router.php line 297
    undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {appId: "*** sen ... "})
  9. /var/www/html/nextcloud/lib/base.php line 975
    OC\Route\Router->match("/settings/apps/update/maps")
  10. /var/www/html/nextcloud/index.php line 42
    OC::handleRequest()

GET /settings/apps/update/maps
from 20.133.7.254 by admin at 2020-01-21T11:58:11+01:00

</details>


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions