diff --git a/README.md b/README.md index b031c79..c1fd8e2 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **01.04.21:** - Fix crontab during upgrade from php7. * **16.03.21:** - Rebase on the php8 nginx baseimage. * **25.02.21:** - Nginx default site config updated for v21 (existing users should delete `/config/nginx/site-confs/default` and restart the container). * **21.01.21:** - Fix php iconv (was breaking the mail addon). If installed, attempt to remove broken CODE Server app during startup. diff --git a/readme-vars.yml b/readme-vars.yml index 4080c0e..8651d12 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -75,6 +75,7 @@ app_setup_block: | # changelog changelogs: + - { date: "01.04.21:", desc: "Fix crontab during upgrade from php7." } - { date: "16.03.21:", desc: "Rebase on the php8 nginx baseimage." } - { date: "25.02.21:", desc: "Nginx default site config updated for v21 (existing users should delete `/config/nginx/site-confs/default` and restart the container)." } - { date: "21.01.21:", desc: "Fix php iconv (was breaking the mail addon). If installed, attempt to remove broken CODE Server app during startup." } diff --git a/root/etc/cont-init.d/50-install b/root/etc/cont-init.d/50-install index 075be36..2e41030 100644 --- a/root/etc/cont-init.d/50-install +++ b/root/etc/cont-init.d/50-install @@ -17,4 +17,5 @@ fi # set cronjob [[ ! -f /config/crontabs/root ]] && \ cp /defaults/root /config/crontabs/root +sed -i 's|php7|php8|g' /config/crontabs/root cp /config/crontabs/root /etc/crontabs/root