Invalid default value for 'DateExpires' (Vanilla 2.5)

There's no Vanilla 2.5 Help category so I had to create this in Vanilla 2.3 Help.
I've never used Vanilla before and this is the first time I'm setting it up.
I get this error when I enter my DB credentials / admin username / password etc in /dashboard/setup:
Invalid default value for 'DateExpires'
0
Comments
Can you get to
/utility/structure
and Scan to see what it says?If that fails, can you run
/utility/update
?If that doesn't work, can you look at your database and see if
DateExpires
is a column on both theAccessToken
andInvitation
table?I can get the same problem, when I try to install Vanilla 2.5 on fresh server setup (Ubuntu 16.04) running VestaCP.

This is what DB structure looks like:
@Linc: That PR must be backported.
@All
As long as that haven't been done, you need to make a few changes to your installation. Search in the files below for "DateExpire" and manually replace it with "DateExpires". Watch out for the upper and lower case spelling
/applications/dashboard/controllers/api/AuthenticateApiController.php
/applications/dashboard/models/class.sessionmodel.php
/applications/dashboard/settings/structure.php
Run /utility/structure afterwards.
Merry Christmas to everybody?
How to run these utility commands? Are they shell commans? I can't find such file structure and such executables? Ar they API? If so, how to run them?
This is now fixed in the release. Thanks, @R_J.
I redownloaded the release and I'm still getting the same error.
I can't run
/utility/structure
or/utility/update
since it redirects me to/dashboard/setup
.This is what the DB structure looks like:
Here's the full error:
I suggest deleting all the tables + the
conf/config.php
and starting again.I tried that and received the same error again.
I'm running Ubuntu 16.04, using PHP 7.1 and MySQL 5.7 if that matters.
I believe your MySQL install is in strict mode. Are you able to change that?
See https://github.com/vanilla/vanilla/issues/5832
It worked after I turned strict mode off.
Thanks!
I ran in to the same issue and after disabling strict mode in MYSQL now the v2.5 installer results in this error:
Invalid log level: Failed to insert {type} ({content}): {error}.
I'm running a fresh install of Ubuntu 16.04, MYSQL 5.7 and PHP 7.0.22 and using a database from a Vanilla instance on another server.
Sorry ignore me, I just copied over the old config file and it ran fine without going through the install
structure.php
line 290
->column('DateExpires', 'timestamp', false)
change it to
->column('DateExpires', 'datetime', false)