[Eisfair_dev] EIS 64, nextcloud crontab fehlt

Ulrich Hupe Ulrich.Hupe at t-online.de
Di Jul 6 12:28:44 CEST 2021


> beim Anlegen des Cronjobs wird eine Konfigurationsdatei mit Namen
> /var/cron/etc/wwwrun/nextcloud angelegt. Btte prüfe einmal, ob diese
> Datei auf Deinem Server existiert.

Tut existieren

> Um die Konfiguration zu aktivieren, wird dann das folgende Skript
> aufgerufen (ohne den debug-Schalter). Bitte rufe einmal den Befehl
> auf und schaue was bei Dir angezeigt wird:
> 
> /var/install/config.d/cron.sh --debug.

Eis64 # /var/install/config.d/cron.sh --debug
2021-07-06 12:09:12 DEBUG   fcronconf=/etc/fcron.conf
2021-07-06 12:09:12 DEBUG username: root, runas: root
2021-07-06 12:09:12 DEBUG Copied stdin to /tmp/fcr-Gt9JBq, about to 
parse file /tmp/fcr-Gt9JBq...
2021-07-06 12:09:12  INFO installing file /tmp/fcr-Gt9JBq for user root
FILE /tmp/fcr-Gt9JBq
       0 0-23/2 * * * /etc/cron.daily/logrotate
2021-07-06 12:09:12 DEBUG dups_cl: Set cl->cl_runas=root
       0 # 0-23/2 # 0-31/1 # 0-11/1 # 0-7/1 # remain 0
   Cmd "/etc/cron.daily/logrotate"
       ...
.
.
........

       25 0 * * * /etc/cron.daily/mlocate.cron 1>/dev/null
2021-07-06 12:09:12 DEBUG dups_cl: Set cl->cl_runas=root
       25 # 0 # 0-31/1 # 0-11/1 # 0-7/1 # remain 0
   Cmd "/etc/cron.daily/mlocate.cron 1>/dev/null"
       55 23 * * * /usr/bin/webalizer-run cron
2021-07-06 12:09:12 DEBUG dups_cl: Set cl->cl_runas=root
       55 # 23 # 0-31/1 # 0-11/1 # 0-7/1 # remain 0
   Cmd "/usr/bin/webalizer-run cron"
Saving ...
2021-07-06 12:09:12 DEBUG write_buf_to_disk() : written 1005/1005, 1 
(re)try(ies)
2021-07-06 12:09:12 DEBUG write_buf_to_disk() : written 515/515, 1 
(re)try(ies)
Modifications will be taken into account right now.
2021-07-06 12:09:12 DEBUG   fcronconf=/etc/fcron.conf
2021-07-06 12:09:12 DEBUG username: wwwrun, runas: wwwrun
2021-07-06 12:09:12 DEBUG Copied stdin to /tmp/fcr-XUjVkn, about to 
parse file /tmp/fcr-XUjVkn...
2021-07-06 12:09:12  INFO installing file /tmp/fcr-XUjVkn for user wwwrun
FILE /tmp/fcr-XUjVkn
       */5 * * * * /var/nextcloud/nextcloud-cron.sh
2021-07-06 12:09:12 DEBUG dups_cl: Set cl->cl_runas=wwwrun
       0-59/5 # 0-23/1 # 0-31/1 # 0-11/1 # 0-7/1 # remain 0
   Cmd "/var/nextcloud/nextcloud-cron.sh"
2021-07-06 12:09:12 ERROR could not open file wwwrun.orig.tmp: 
Permission denied
  * Stopping cron ... 
 
       [  OK  ]
  * Starting cron ...

Permission denied? sind die Rechte irgendwo falsch?

Ulrich



Mehr Informationen über die Mailingliste Eisfair_dev