fix crontab during upgrade from php7

This commit is contained in:
aptalca 2021-04-01 12:30:43 -04:00
parent 78c93b3dee
commit 0010c0c2a0
3 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -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." }

View File

@ -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