App Store Error Page

App Store error

Hello everyone,

As soon as I want to open the AppStore in my Nextcloud 29.0.6, I get the following error since today:

Internal server error
The server could not complete the request.

If this happens again, please send the following technical details to your server administrator.

Further details can be found in the server log.

Technical details:

{"reqId":"XXXXX","level":3,"time":"2024-09-10T09:59:19+00:00","remoteAddr":"XXXXXX","user":"admin","app":"index","method":"GET","url":"/index.php/settings/apps","message":"array_filter(): Argument #1 ($array) must be of type array, null given in file '/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php' line 160","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"29.0.6.1","exception":{"Exception":"Exception","Message":"array_filter(): Argument #1 ($array) must be of type array, null given in file '/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php' line 160","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"TypeError","Message":"array_filter(): Argument #1 ($array) must be of type array, null given","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php","line":160,"function":"array_filter"},{"file":"/var/www/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php","line":182,"function":"fetch","class":"OC\\App\\AppStore\\Fetcher\\AppFetcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php","line":179,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Installer.php","line":405,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\AppFetcher","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":219,"function":"isUpdateAvailable","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":114,"function":"getAppsWithUpdates","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"viewApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php","Line":160},"message":"array_filter(): Argument #1 ($array) must be of type array, null given in file '/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php' line 160","exception":{},"CustomMessage":"array_filter(): Argument #1 ($array) must be of type array, null given in file '/var/www/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php' line 160"}}

I have not changed anything and the server log contains the following, which I cannot assign 100%:

Maybe someone here can help me?

Thanks!

Look here please:


ernolf

Is that error still happening or does it work now?

I can confirm the error still persists, I’m running nextcloud as a snap, same as my friend, and both of us gets an error when trying to access the app store.

In case anyone still has a problem, running a command ‘sudo nextcloud.occ maintenance:repair’ fixed it for me and now I can access the store page.