show the page
Internal server error is shown after accessing the admin overview page the second time.
Log of the error message is below.
This behaviour does not occur if an ipv4 address is available.
It seems that updates.nextcloud.com is only available via ipv4. My guess is that it might have something to do with that.
Operating system: Arch linux 4.20.11-arch2-1-ARCH x86_64 GNU/Linux
Web server: nginx/1.14.2
Database: mysql Ver 15.1 Distrib 10.3.13-MariaDB, for Linux (x86_64) using readline 5.1
PHP version: PHP 7.3.2
Nextcloud version: 15.0.5.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated all major version since owncloud
Where did you install Nextcloud from: Downloaded sources from nextcloud.com
List of activated apps:
App list
Enabled:
- accessibility: 1.1.0
- activity: 2.8.2
- audioplayer: 2.4.1
- calendar: 1.6.4
- cloud_federation_api: 0.1.0
- comments: 1.5.0
- contacts: 3.0.3
- dav: 1.8.1
- deck: 0.5.2
- federatedfilesharing: 1.5.0
- federation: 1.5.0
- files: 1.10.0
- files_external: 1.6.0
- files_markdown: 2.0.5
- files_pdfviewer: true
- files_sharing: 1.7.0
- files_texteditor: 2.7.0
- files_trashbin: 1.5.0
- files_versions: 1.8.0
- files_videoplayer: 1.4.0
- firstrunwizard: 2.4.0
- gallery: 18.2.0
- logreader: 2.0.0
- lookup_server_connector: 1.3.0
- nextcloud_announcements: 1.4.0
- notifications: 2.3.0
- oauth2: 1.3.0
- password_policy: 1.5.0
- provisioning_api: 1.5.0
- serverinfo: 1.5.0
- sharebymail: 1.5.0
- support: 1.0.0
- survey_client: 1.3.0
- systemtags: 1.5.0
- tasks: 0.9.8
- theming: 1.6.0
- twofactor_backupcodes: 1.4.1
- updatenotification: 1.5.0
- workflowengine: 1.5.0
Disabled:
- admin_audit
- bruteforcesettings
- documents
- encryption
- music
- user_external
- user_ldap
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Nextcloud log
{"reqId":"cqqkaaP7dXSqLxI4em6V","level":3,"time":"2019-03-04T19:54:21+00:00","remoteAddr":"2a02:810d:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX","user":"XXX","app":"PHP","method":"GET","url":"\/settings\/admin\/overview","message":"Undefined index: changes at \/usr\/share\/webapps\/nextcloud\/apps\/updatenotification\/lib\/UpdateChecker.php#64","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko\/20100101 Firefox\/65.0","version":"15.0.5.3"}
{"reqId":"cqqkaaP7dXSqLxI4em6V","level":3,"time":"2019-03-04T19:54:21+00:00","remoteAddr":"2a02:810d:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX","user":"XXX","app":"index","method":"GET","url":"\/settings\/admin\/overview","message":{"Exception":"TypeError","Message":"strpos() expects parameter 1 to be string, null given","Code":0,"Trace":[{"file":"\/usr\/share\/webapps\/nextcloud\/apps\/updatenotification\/lib\/UpdateChecker.php","line":64,"function":"strpos","args":[null,"https:\/\/"]},{"file":"\/usr\/share\/webapps\/nextcloud\/apps\/updatenotification\/lib\/Settings\/Admin.php","line":87,"function":"getUpdateState","class":"OCA\\UpdateNotification\\UpdateChecker","type":"->","args":[]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":115,"function":"getForm","class":"OCA\\UpdateNotification\\Settings\\Admin","type":"->","args":[]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/AdminSettingsController.php","line":74,"function":"formatSettings","class":"OC\\Settings\\Controller\\AdminSettingsController","type":"->","args":[{"10":[{"__class__":"OC\\Settings\\Admin\\Overview"}],"11":[{"__class__":"OCA\\UpdateNotification\\Settings\\Admin"}]}]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/CommonSettingsTrait.php","line":126,"function":"getSettings","class":"OC\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"\/usr\/share\/webapps\/nextcloud\/settings\/Controller\/AdminSettingsController.php","line":65,"function":"getIndexResponse","class":"OC\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"index","class":"OC\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Settings\\Controller\\AdminSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"overview","_route":"settings.AdminSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"overview","_route":"settings.AdminSettings.index"}]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"overview","_route":"settings.AdminSettings.index"}]},{"file":"\/usr\/share\/webapps\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/settings\/admin\/overview"]},{"file":"\/usr\/share\/webapps\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/usr\/share\/webapps\/nextcloud\/apps\/updatenotification\/lib\/UpdateChecker.php","Line":64,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko\/20100101 Firefox\/65.0","version":"15.0.5.3"}
cc @nextcloud/infrastructure
I too have multiple servers which are IPv6-only. While I have not experienced this particular issue described here, I obviously cannot use any of the features (Apps installer, update checker) which rely on the Nextcloud.com APIs since they are IPv4-only. These APIs really should be accessible via IPv6.
Same here, IPv6 only and had to install a proxy with dualstack to get updates just because Nextcloud API is only available via IPv4.
Same here, IPv6 only and had to install a proxy with dualstack to get updates just because Nextcloud API is only available via IPv4.
That's not true anymore. updates and download are available on v4 and v6 since ~1 month now.
Hello Morris.
I think you are wrong with this point. App installations are currently only possible over ipv4:
root@cloud-clone:~# host apps.nextcloud.com.
apps.nextcloud.com has address 88.198.160.138
root@cloud-clone:/var/www/nextcloud# sudo -u www-data php ./occ app:install mail
Error: Could not download app mail
root@cloud-clone:/var/www/nextcloud#
Hello Morris.
I think you are wrong with this point. App installations are currently only possible over ipv4:
root@cloud-clone:~# host apps.nextcloud.com.
apps.nextcloud.com has address 88.198.160.138root@cloud-clone:/var/www/nextcloud# sudo -u www-data php ./occ app:install mail
Error: Could not download app mail
root@cloud-clone:/var/www/nextcloud#
Ah - you are talking about the apps. Yes - this service is not yet migrated. We plan to do so in the next few weeks and then it will also be available via v6. The ticket here was always referring to updates.nextcloud.com and this server is already migrated.
Most helpful comment
Ah - you are talking about the apps. Yes - this service is not yet migrated. We plan to do so in the next few weeks and then it will also be available via v6. The ticket here was always referring to updates.nextcloud.com and this server is already migrated.