Nextcloud version (eg, 18.0.2): 20.0.4
Operating system and version (eg, Ubuntu 20.04): Armbian 10
Apache or nginx version (eg, Apache 2.4.25): 2.4.38-3+deb10u4
PHP version (eg, 7.1): 7.4.13 (from sury.org), using FPM
The issue you are facing:
All app installations and updates fail with “App with id <app_id> has invalid signature.”
Installing on the command line using occ app:install <app_id> -vvv
brings no further information to debug with. (Is there any way to get more information than this?)
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Try installing or updating any app, e.g. SharePoint backend.
The output of your Nextcloud log in Admin > Logging:
{
"reqId": "VFVX6O54lFIXWy1mxU6B",
"level": 3,
"time": "2020-12-20T00:07:17+00:00",
"remoteAddr": "x.x.x.x",
"user": "christopher",
"app": "settings",
"method": "POST",
"url": "/settings/apps/enable",
"message": {
"Exception": "Exception",
"Message": "App with id sharepoint has invalid signature",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/apps/settings/lib/Controller/AppSettingsController.php",
"line": 445,
"function": "downloadApp",
"class": "OC\\Installer",
"type": "->"
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 169,
"function": "enableApps",
"class": "OCA\\Settings\\Controller\\AppSettingsController",
"type": "->"
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 100,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 152,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 308,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/html/lib/base.php",
"line": 1008,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/html/index.php",
"line": 37,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/html/lib/private/Installer.php",
"Line": 367,
"CustomMessage": "--"
},
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0",
"version": "20.0.4.0",
"id": "5fde9756e8cdb"
}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"example.com",
"example.org",
"example",
"example.net",
"example.local",
"192.168.2.126",
"example.onion"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/example.com",
"htaccess.RewriteBase": "\/",
"dbtype": "mysql",
"version": "20.0.4.0",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"loglevel": 1,
"mail_smtpsecure": "ssl",
"maintenance": false,
"theme": "",
"mysql.utf8mb4": true,
"updater.release.channel": "stable",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\BMP",
"OC\\Preview\\GIF",
"OC\\Preview\\HEIC",
"OC\\Preview\\JPEG",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\PNG",
"OC\\Preview\\TXT",
"OC\\Preview\\XBitmap",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Krita",
"OC\\Preview\\Movie",
"OC\\Preview\\TIFF",
"OC\\Preview\\Font",
"OC\\Preview\\PDF",
"OC\\Preview\\MSOffice2007"
],
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"debug": true,
"data-fingerprint": "492f75b5a90a929e7bff3609193fb862",
"app_install_overwrite": [
"photosphereviewer",
"twofactor_yubikey",
"dropit",
"files_texteditor",
"telephoneprovider"
]
}
The output of your Apache/nginx/system log in /var/log/apache2/error.log
:
Nothing suspicious
Thanks for your help!