You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have been trying to deploy a Winter 1.2.6 website from dev to prod, but has been failing. I noticed the composer.json includes the post-update-cmd @php artisan winter:version. However, since the DB exists but is empty (no tables), the command just hangs and floods the logs with 23k line stack traces.
I can't start by doing a php artisan migrate since I can have relations to some Laravel package models which would not work if Laravel isn't installed, which means I have to start with composer install which, well, hangs and floods logs because of winter:version.
Steps to replicate
Git clone an already-configured website in WinterCMS 1.2.6
Configure your .env with valid db credentials
Run composer install
Workaround
Removing the winter:version command from the post-update-cmd section of the composer.json works.
The text was updated successfully, but these errors were encountered:
nmiyazaki-chapleau
changed the title
winter:version hangs and floods logs when the database is not initialised
winter:version hangs and floods logs when the database isempty
Dec 13, 2024
nmiyazaki-chapleau
changed the title
winter:version hangs and floods logs when the database isempty
winter:version hangs and floods logs when the database is not initialized
Dec 13, 2024
Winter CMS Build
1.2
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
Winter.Blocks, Winter.DriverAWS, Winter.DriverMailgun, Winter.Redirect, Winter.SEO, Winter.Sitemap, Winter.Translate, Winter.Pages
Issue description
Have been trying to deploy a Winter 1.2.6 website from dev to prod, but has been failing. I noticed the composer.json includes the post-update-cmd
@php artisan winter:version
. However, since the DB exists but is empty (no tables), the command just hangs and floods the logs with 23k line stack traces.I can't start by doing a
php artisan migrate
since I can have relations to some Laravel package models which would not work if Laravel isn't installed, which means I have to start withcomposer install
which, well, hangs and floods logs because of winter:version.Steps to replicate
composer install
Workaround
Removing the winter:version command from the post-update-cmd section of the composer.json works.
The text was updated successfully, but these errors were encountered: