[Eisfair] user wwwrun - bei su: This account is currently not available.

Christian Koeck christian.koeck at gmx.net
Sa Sep 23 10:15:22 CEST 2023


On Sat, 23 Sep 2023 09:55:53 +0200, Holger Bruenjes
<holgerbruenjes at gmx.net> wrote:

>Hallo Christian
>
>Am 23/09/2023 um 08.43 schrieb Christian Koeck:
>
>> bei su - wwwrun erhalte ich die gleiche Meldung.
>> 
>> was kann ich machen/mache ich falsch?
>
>ehmm, wwwrun hat keine shell, d.h. du kannst nicht zum user wwwrun 
>wechseln
>
>bei Aktionen mit dem user wwwrun ist die Komandozeile gefragt
>
>z.B.
>
>  su wwwrun -s /bin/sh -c "dein auftrag"
>
>Holger

Danke für Deine Antwort - macht Sinn und ist richtig, aber dann sollte
die Installationsroutine das auch beherzigen ;-)

Activate configuration now (y/n) [yes]?
nextcloud version (eisfair-64): 1.17.3
.
.
PHP8-WEB memory limit: >= 512M
PHP8-CLI memory limit: >= 512M
PHP8-CLI configuration access:This account is currently not available.
This account is currently not available.
This account is currently not available.
This account is currently not available.
This account is currently not available.
 possible
creating logrotate configuration ...
creating cron script ...
setting access rights of '/var/www/htdocs/nextcloud' ...
  wait [ .. ]
setting access rights of '/var/nextcloud' ...
  wait [ .................................................. ]
checking nextcloud install/upgrade requirements ...
- running upgrade routine ...
This account is currently not available.
creating nextcloud configuration ...
creating cron job ...
nextcloud maintenance mode: enabled -> disabled
This account is currently not available.
checking nextcloud install/upgrade requirements ...
- running upgrade routine ...
This account is currently not available.
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 /var/www/htdocs/nextcloud
3. check the current directory : > pwd
                               : /var/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.


Grüße
Christian


Mehr Informationen über die Mailingliste Eisfair