Success. Or it may fail due to some database or network problems.
Actual behaviour
It fails during the early run of /script/start.sh.
Here is the full log:
[..] Setting timezone
Current default time zone: 'Asia/Shanghai'
Local time is now: Wed Feb 19 14:51:52 CST 2020.
Universal Time is now: Wed Feb 19 06:51:52 UTC 2020.
[ok] Container timezone set to: Asia/Shanghai
[..] Changing nginx and PHP configuration settings
[ok] Done changing nginx and PHP configuration settings
[..] Updating database credentials file
grep: webapp/.env.local: No such file or directory
[ok] Updated database credentials file
[..] Checking database connection
MySQL database domjudge not found on host db; exiting
[..] Setting timezone
Current default time zone: 'Asia/Shanghai'
Local time is now: Wed Feb 19 14:52:01 CST 2020.
Universal Time is now: Wed Feb 19 06:52:01 UTC 2020.
[ok] Container timezone set to: Asia/Shanghai
[..] Changing nginx and PHP configuration settings
[ok] Done changing nginx and PHP configuration settings
[..] Updating database credentials file
sed: can't read webapp/.env.local.php: No such file or directory
Description of the problem
I try to restart the domserver docker, and it fails to run the
/script/start.sh
and logs:Your environment
Steps to reproduce
similar with #50 ,
docker-compose.yml
:domjudge.env:
:docker-compose up -d
docker-compose restart
Expected behaviour
Success. Or it may fail due to some database or network problems.
Actual behaviour
It fails during the early run of
/script/start.sh
.Here is the full log:
Any other information that you want to share?
Image domjudge/domserver:7.1.1 works fine.