web-installer icon indicating copy to clipboard operation
web-installer copied to clipboard

[1.2.4] Unable to run migrations for a fresh install

Open m-paniez9292 opened this issue 2 years ago • 4 comments

Hi,

I would like to install a fresh install with your web-installer but I have an error during install (I download the web-installer today) : ERROR: Unable to run migrations. Increment on type bool has no effect, this will change in the next major version of PHP {"code":500,"exception":null}

My config :

  • Apache2 2.4.52
  • php 8.3.2
  • mariadb 10.6.12
  • ubuntu 22.04

EDIT : This is my db : Capture d’écran du 2024-01-28 15-23-33

Thanks

m-paniez9292 avatar Jan 28 '24 12:01 m-paniez9292

Seems like a deprecation error to me. For the moment, while we work to put out a fix for that issue, you may need to change your error reporting level to ignore deprecation messages, just for the installation process.

bennothommo avatar Jan 29 '24 00:01 bennothommo

Re, I disable deprecated error (with error_reporting = E_ALL & ~E_DEPRECATED in php.ini file) but nothing better. Thanks

m-paniez9292 avatar Jan 29 '24 07:01 m-paniez9292

Re,

I try with PHP 8.1.27 and I have no problem : so, the problem comes with the new PHP 8.3 version.

Thanks

m-paniez9292 avatar Jan 29 '24 08:01 m-paniez9292

@m-paniez9292 thanks for confirming.

The underlying issue has been fixed by https://github.com/wintercms/winter/pull/1031 - we just need to release a new version with this fix.

bennothommo avatar Jan 29 '24 12:01 bennothommo