Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Nextcloud startet nicht

77 views
Skip to first unread message

Rolf Bensch

unread,
Jul 5, 2021, 2:10:22 PM7/5/21
to
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@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@ibs-server (nextcloud) > php -m | grep -i apcu
wwwrun@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

Helmut Backhaus

unread,
Jul 5, 2021, 2:40:12 PM7/5/21
to
Hallo Rolf,
schau mal ein paar Zeilen weiter unten da steht die Lösung.
Das hatte ich gestern auch :-))

>> [E1] Nextclout startet nicht mehr seit upgrade nach 1.12.1 <<

Sorry, ich weiß nicht wie man hier nen Link setzt

Gruß,
Helmut



Am 05.07.21 um 20:10 schrieb Rolf Bensch:

Helmut Backhaus

unread,
Jul 5, 2021, 2:44:57 PM7/5/21
to
Hallo Rolf,

Am 05.07.21 um 20:40 schrieb Helmut Backhaus:
> Hallo Rolf,
> schau mal ein paar Zeilen weiter unten da steht die Lösung.
> Das hatte ich gestern auch :-))
>
>>> [E1] Nextclout startet nicht mehr seit upgrade nach 1.12.1 <<
>
> Sorry, ich weiß nicht wie man hier nen Link setzt
>

https://web.nettworks.org/forum/index.php?t=msg&th=11332&goto=85692&#msg_85692


Das könnte helfen

Gruß,
Helmut

Holger Bruenjes

unread,
Jul 5, 2021, 2:45:56 PM7/5/21
to
Hallo Rolf

Am 05/07/2021 um 20.10 schrieb Rolf Bensch:
...
> wwwrun@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:

aktiviere apcu in der php oder fpm config

Holger

Rolf Bensch

unread,
Jul 5, 2021, 2:53:29 PM7/5/21
to
Hallo Holger,

Am 05.07.21 um 20:45 schrieb Holger Bruenjes:
PHP7FPM_EXT_CACHE = apcu+redis

ist und war gesetzt. Habe auch alle infrage kommmenden Pakete nochmals
drüber installiert. Kein Ergebnis.

Grüße

Rolf

Rolf Bensch

unread,
Jul 5, 2021, 2:59:29 PM7/5/21
to
Haallo Helmut,

Am 05.07.21 um 20:44 schrieb Helmut Backhaus:
> Hallo Rolf,
>
> Am 05.07.21 um 20:40 schrieb Helmut Backhaus:
>> Hallo Rolf,
>> schau mal ein paar Zeilen weiter unten da steht die Lösung.
>> Das hatte ich gestern auch :-))
>>
>>>> [E1] Nextclout startet nicht mehr seit upgrade nach 1.12.1 <<
>>
>> Sorry, ich weiß nicht wie man hier nen Link setzt
>>
>
> https://web.nettworks.org/forum/index.php?t=msg&th=11332&goto=85692&#msg_85692
>

ibs-server (/) # grep ac /etc/config.d/php7-cli
PHP7CLI_EXT_CACHE='redis' # Activate chaching module in PHP.

das habe ich testweise mal auf "apcu" gesetzt. Das brachte auch kein
Ergebnis.

Grüße

Rolf

Holger Bruenjes

unread,
Jul 5, 2021, 3:01:54 PM7/5/21
to
Hallo Rolf

Am 05/07/2021 um 20.53 schrieb Rolf Bensch:

>> aktiviere apcu in der php oder fpm config
>
> PHP7FPM_EXT_CACHE = apcu+redis
>
> ist und war gesetzt. Habe auch alle infrage kommmenden Pakete nochmals
> drüber installiert. Kein Ergebnis.

ist es korrekt verlinkt nach fpm

/etc/php7/fpm/conf.d

Holger

Holger Bruenjes

unread,
Jul 5, 2021, 3:04:37 PM7/5/21
to
der Hautpfad liegt in

/etc/php7/conf.d/apcu.ini

dann muessen da jeweils links nach cli und fpm vorhanden sein.


Holger

Rolf Bensch

unread,
Jul 5, 2021, 3:08:28 PM7/5/21
to
Hallo Holger,

Am 05.07.21 um 21:01 schrieb Holger Bruenjes:
ibs-server (/) # ls -l /etc/php7/fpm/conf.d
total 4
lrwxrwxrwx 1 root root 25 Jul 5 20:50 apcu.ini ->
/etc/php7/conf.d/apcu.ini
-rw-r--r-- 1 root root 1822 Jul 5 20:50 eisfair.ini
lrwxrwxrwx 1 root root 24 Jul 5 20:50 gmp.ini -> /etc/php7/conf.d/gmp.ini
lrwxrwxrwx 1 root root 28 Jul 5 20:50 imagick.ini ->
/etc/php7/conf.d/imagick.ini
lrwxrwxrwx 1 root root 25 Jul 5 20:50 intl.ini ->
/etc/php7/conf.d/intl.ini
lrwxrwxrwx 1 root root 31 Jul 5 20:50 mysql-conf.ini ->
/etc/php7/conf.d/mysql-conf.ini
lrwxrwxrwx 1 root root 26 Jul 5 20:50 mysql.ini ->
/etc/php7/conf.d/mysql.ini
lrwxrwxrwx 1 root root 28 Jul 5 20:50 opcache.ini ->
/etc/php7/conf.d/opcache.ini
lrwxrwxrwx 1 root root 26 Jul 5 20:50 pcntl.ini ->
/etc/php7/conf.d/pcntl.ini
lrwxrwxrwx 1 root root 24 Jul 5 20:50 pdf.ini -> /etc/php7/conf.d/pdf.ini
lrwxrwxrwx 1 root root 26 Jul 5 20:50 redis.ini ->
/etc/php7/conf.d/redis.ini
lrwxrwxrwx 1 root root 28 Jul 5 20:50 sqlite3.ini ->
/etc/php7/conf.d/sqlite3.ini
lrwxrwxrwx 1 root root 28 Jul 5 20:50 suhosin.ini ->
/etc/php7/conf.d/suhosin.ini
lrwxrwxrwx 1 root root 23 Jul 5 20:50 xz.ini -> /etc/php7/conf.d/xz.ini

was wäre denn richtig? Für mich sieht das gut aus.

Grüße

Rolf

Rolf Bensch

unread,
Jul 5, 2021, 3:13:50 PM7/5/21
to
Hallo Holger,

Am 05.07.21 um 21:04 schrieb Holger Bruenjes:
der Link nach .../cli/ fehlte. Jetzt läuft's wieder.

Danke!!!

Grüße

Rolf

Marcus Röckrath

unread,
Jul 5, 2021, 3:20:02 PM7/5/21
to
Hallo Rolf,

Rolf Bensch wrote:

> ibs-server (/) # grep ac /etc/config.d/php7-cli
> PHP7CLI_EXT_CACHE='redis' # Activate chaching module in PHP.
>
> das habe ich testweise mal auf "apcu" gesetzt. Das brachte auch kein
> Ergebnis.

Direkt in der Datei oder über den Konfigurationseditor?

--
Gruß Marcus
[eisfair-Team]

Rolf Bensch

unread,
Jul 5, 2021, 3:22:15 PM7/5/21
to
Hallo Marcus,

Am 05.07.21 um 21:13 schrieb Marcus Röckrath:
direkt über die Datei.

Das Problem ist aber mit Holgers Hilfe bereits behoben.

Grüße

Rolf


Marcus Röckrath

unread,
Jul 5, 2021, 3:40:02 PM7/5/21
to
Hallo Rolf,

Rolf Bensch wrote:

>>> ibs-server (/) # grep ac /etc/config.d/php7-cli
>>> PHP7CLI_EXT_CACHE='redis' # Activate chaching module in PHP.
>>>
>>> das habe ich testweise mal auf "apcu" gesetzt. Das brachte auch kein
>>> Ergebnis.
>>
>> Direkt in der Datei oder über den Konfigurationseditor?
>
> direkt über die Datei.
>
> Das Problem ist aber mit Holgers Hilfe bereits behoben.

IMHO nur temporär, denn bei einem Update des php7_cli-Paketes greift wieder
die Einstellung in der /etc/config.d/php7-cli.

Daher bitte über "Administration of services|PHP7 Command Line Interface"
konfigurieren, damit das ordentlich in das System eingepflegt wird.

--
Gruß Marcus
[eisfair-Team]
0 new messages