[Eisfair] Nextcloud startet nicht

Rolf Bensch azubi at bensch-net.de
Mo Jul 5 20:10:20 CEST 2021


Hallo zusammen,

während des Updates einer Nextcloud-Installation habe ich heute versehentlich die Shell geschlossen. Dadurch wurde offensichtlich das laufende Update abgebrochen. Nach erneuten Update startet NC nicht mehr.

    nextcloud maintenance mode: enabled -> disabled
    checking nextcloud install/upgrade requirements ...
    Nextcloud maintenance mode: enabled
    ----------------------------------------------------------------
    The maintenance mode is still active at this stage!
    You should follow these instructions to solve the problem:

    1. switch to the webserver user: # su - wwwrun
    2. change directory            : > cd /data/www/htdocs/nextcloud
    3. check the current directory : > pwd
                                   : /data/www/htdocs/nextcloud
    4. fix the previously described:
       problems by using occ, e.g. : > ./occ app:disable gallery
                                   : gallery disabled
    5. run update check            : > ./occ upgrade
                                   : Update successful
    6. disable the maintenance mode: > ./occ  maintenance:mode --off
                                   : Maintenance mode disabled
    ----------------------------------------------------------------
    finished.

wie beschrieben vorgegangen:
    ...
    wwwrun at ibs-server (nextcloud) > ./occ upgrade
    An unhandled exception has been thrown:
    OC\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Test nach apcu.so:

    wwwrun at ibs-server (nextcloud) > php -m | grep -i apcu
    wwwrun at ibs-server (nextcloud) >

Es existiert eine Dateo /etc/php7/cli/apcu.ini mit folgenden Inhalt:

    extension=apcu.so
    apc.enabled=1
    apc.enable_cli=1

Was fehlt meinem Server an dieser Stelle?


Grüße

Rolf


Mehr Informationen über die Mailingliste Eisfair