Error during dj-setup-database

Malcolm Corney m.corney at tpg.com.au
Thu Aug 4 04:35:24 CEST 2016


During domjudge 5.1.2 setup on Ubuntu 16.04 with MySQL 5.7.13, PHP 7, Apache 2.4.18 I am getting the following error after executing:

sudo /opt/domjudge/domserver/bin/dj-setup-database -u root -r install

Database credentials read from '/opt/domjudge/domserver/etc/dbpasswords.secret'.
Enter password:
DOMjudge database and user(s) created.
Enter password:
ERROR 1292 (22007) at line 744: Truncated incorrect datetime value: '2016-01-01 08:00:00 UTC'

There is no line 744 in dj-setup-database.  Searching for ERROR 1292 (22007) does not bring me any closer to a solution.

I continued with the installation and everything seems to work OK.  There are no example contests, users, teams, problems when I do so.  

Running:

sudo /opt/domjudge/domserver/bin/dj-setup-database -u root -r status

indicates that the database check was successful.

Any hints here?

Thanks,

Malcolm Corney





More information about the DOMjudge-devel mailing list