[Eisfair] [E1] Upgrade von Nextcloud Warnhinweise ...

Helmut Backhaus helmut.backhaus at gmx.de
So Mai 30 16:29:25 CEST 2021


Hallo zusammen,
ich habe eben NC upgedated, mit feuchten Händen, oder was soll's. ;)

Zunächst mein NC läuft!

Ich habe aber Warnhinweise bekommen, hier erst einmal die Meldung, ich
gehe dann im einzelnen drauf ein:

Date: Wed Apr 12 01:01:51 CEST 2017
Error: An installed mail, vmail or ssmtp package hasn't been found.

     : It is recomended to install one of these packages or set
     : OWNCLOUD_MAIL_MANUAL_CONFIGURATION='yes'


Date: Sun Apr 16 15:20:09 CEST 2017
  Warning: The data directory has been moved from '/var/nextcloud' to
'/data/nextcloud/'.
         : It might be necessary to update the nextcloud file system
information.
         : This can be done by execution the following command: ./occ -v
files:scan


Date: Sun Apr 16 15:20:09 CEST 2017


Date: Sun May 30 15:29:29 CEST 2021

  Warning: The data directory has been moved from '/data/nextcloud/' to
'/var/nextcloud'.
         : It might be necessary to update the nextcloud file system
information.


Jetzt im einzelnen:

Error: An installed mail, vmail or ssmtp package hasn't been found.

     : It is recomended to install one of these packages or set
     : OWNCLOUD_MAIL_MANUAL_CONFIGURATION='yes'

Zunächst gibt es den genannten Parameter nicht. Ich vermute, dass dieser
hier gemeint ist:
--> NEXTCLOUD_SMTP_MANUAL_CONFIGURATION='no'

Ich nutze schon seit Jahren "MSMTP", dass sollte doch kein Problem sein,
oder?
Zumindest war es das bisher nicht.

-----

Warning: The data directory has been moved from '/var/nextcloud' to
'/data/nextcloud/'.
       : It might be necessary to update the nextcloud file system
information.
       : This can be done by execution the following command: ./occ -v
files:scan

Das ist richtig, dort liegt mein Datenverzeichnis, aber schon ewig.
Warum ist das nun ein Problem?

Jetzt zu dem Kommando, dass bekomme ich nicht hin.
hier mal meine Versuche:

e1nextcloud # ./occ -v files:scan
-bash: ./occ: No such file or directory
e1nextcloud # find / -name occ
/var/www/htdocs/nextcloud/occ
e1nextcloud # /var/www/htdocs/nextcloud/occ -v files:scan
Console has to be executed with the user that owns the file
config/config.php
Current user id: 0
Owner id of config.php: 30
Try adding 'sudo -u #30' to the beginning of the command (without the
single quotes)
If running with 'docker exec' try adding the option '-u 30' to the
docker command (without the single quotes)
e1nextcloud # sudo -u #30 /var/www/htdocs/nextcloud/occ -v files:scan
sudo: option requires an argument -- 'u'
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u
user] [command]
usage: sudo [-AbEHknPS] [-C num] [-D directory] [-g group] [-h host] [-p
prompt] [-R directory] [-T
            timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C num] [-D directory] [-g group] [-h host] [-p
prompt] [-R directory] [-T
            timeout] [-u user] file ...
e1nextcloud # su wwwrun
e1nextcloud # whoami
wwwrun
e1nextcloud # /var/www/htdocs/nextcloud/occ -v files:scan
Please specify the user id to scan, --all to scan for all users or
--path=...


Das hat mich also nicht wirklich weiter gebracht.
Was mache ich falsch?


-----------

Warning: The data directory has been moved from '/data/nextcloud/' to
'/var/nextcloud'.
       : It might be necessary to update the nextcloud file system
information.

Hier vermute ich, dass es die Gleich ist wie die zweite Warnung, eine
andere Erklärung hätte ich sonst nicht, bzw. kann ich mit dieser Meldung
nicht wirklich etwas anfangen.

Noch einmal:
Soweit ich das bisher testen konnte, läuft die NC!

Muss ich überhaupt etwas tun?

Ich bin etwas verunsichert durch die Fehlerberichte der letzten Tage ...

Danke im voraus!

Gruß,
Helmut


Mehr Informationen über die Mailingliste Eisfair