App store not working after upgrade to Nextcloud 18.0.6

Nextcloud version (eg, 18.0.2): 18.0.6

Operating system and version (eg, Ubuntu 20.04): ? (I’m using a web hosting from OVH, I don’t have this information)

Apache or nginx version (eg, Apache 2.4.25): Apache ? (≥2.4)

PHP version (eg, 7.1): 7.2.30

The issue you are facing:

The app store page is blank, only the header menu displayed. The app store redirect from index.php/settings/apps to /index.php/

Is this the first time you’ve seen this error? (Y/N): Yes, happen since a upgrade from 17.0.x

Steps to replicate it:

  1. Go to app store

The output of your Nextcloud log in Admin > Logging:

(Plase note: when I go to the app store, no error message was added)


Error PHP Invalid argument supplied for foreach() at /home/sadur/www/nextcloud/apps/serverinfo/lib/Os.php#155

il y a 6 minutes

Error PHP Undefined variable: result at /home/sadur/www/nextcloud/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#173

il y a 6 minutes

Error PHP Invalid argument supplied for foreach() at /home/sadur/www/nextcloud/apps/serverinfo/templates/settings-admin.php#101

il y a 6 minutes

Error PHP Undefined variable: result at /home/sadur/www/nextcloud/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#173

il y a 6 minutes

Info updater \OC\Updater::resetLogLevel: Reset log level to Warning(2)

il y a une heure

Info updater \OC\Updater::maintenanceDisabled: Turned off maintenance mode

il y a une heure

Info updater \OC\Updater::updateEnd: Update successful

il y a une heure

Info updater \OC\Updater::finishedCheckCodeIntegrity: Finished code integrity check

il y a une heure

Debug no app in context JSCombiner: successfully cached: merged-template-prepend.js

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postCreate: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preCreate: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postCreate: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preCreate: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postCreate: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preCreate: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preWrite: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Updater::startCheckCodeIntegrity: Starting code integrity check...

il y a une heure

Info updater \OC\Repair::step: Repair step: Reset generated avatar flag

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::info: Repair info: Repair step already executed

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Sets the enterprise logo

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Switches from deprecated "production" to "stable" update channel

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Clear access cache of projects

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::info: Repair info: No need to remove link shares.

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Remove potentially over exposing share links

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Add background job to cleanup login flow v2 tokens

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Cleanup invalid photocache files for carddav

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Queue a one-time job to cleanup old backups of the updater

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Add preview background cleanup job

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::step: Repair step: Clear every generated avatar on major updates

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::info: Repair info: JS cache cleared

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::info: Repair info: SCSS cache cleared

il y a une heure

Debug no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context SCSSCacher: css cache cleared!

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::postDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Debug no app in context Deprecated event type for \OCP\Files::preDelete: Symfony\Component\EventDispatcher\GenericEvent

il y a une heure

Info updater \OC\Repair::info: Repair info: Image cache cleared

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


<?php

$CONFIG = array (

'instanceid' => 'ocglukgebtvm',

'passwordsalt' => '******',

'secret' => '******',

'trusted_domains' =>

array (

0 => 'www.sadur.org',

1 => 'documentation.sadur.org',

),

'datadirectory' => '/home/sadur/www/nextcloud/data',

'dbtype' => 'mysql',

'version' => '18.0.6.0',

'overwrite.cli.url' => 'https://documentation.sadur.org',

'dbname' => '******',

'dbhost' => '******',

'dbport' => '',

'dbtableprefix' => 'oc_',

'dbuser' => '******',

'dbpassword' => '******',

'installed' => true,

'mail_smtpmode' => 'sendmail',

'mail_sendmailmode' => 'smtp',

'mail_from_address' => 'contact',

'mail_domain' => 'sadur.org',

'default_language' => 'fr',

'default_locale' => 'fr_FR',

'maintenance' => false,

'theme' => '',

'loglevel' => 2,

'updater.release.channel' => 'stable',

'social_login_auto_redirect' => true,

'app_install_overwrite' =>

array (

0 => 'groupfolders',

),

'updater.secret' => '******',

);

The output of your Apache/nginx/system log in /var/log/____:

(Please note: Like Nextcloud logger, no error are added when I go to app store page)


[Fri Jun 19 09:59:26 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

[Fri Jun 19 10:17:07 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

[Fri Jun 19 10:25:37 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

[Fri Jun 19 10:26:02 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

[Fri Jun 19 10:26:16 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

[Fri Jun 19 10:26:24 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

[Fri Jun 19 10:26:45 2020] [crit] [client ******] [host documentation.sadur.org] (13)Permission denied: AH00529: /homez.333/sadur/www/nextcloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/homez.333/sadur/www/nextcloud/data/' is executable

Fixed: there was some errors on integrity checks.

1 Like