Open OldStarchy opened 2 years ago
Did you catch the actual error that occurred? It may still be in your logs (storage/logs/console.log
and subsequent files – search for [error]
). Please check and post the full error message and stack trace, if you can find it.
I will try to organize some time to reproduce this and get the log
What happened?
Description
./craft install
fails on the "applying existing project config ... " step. The only way I've found to fix this is to go to another instance of the site (eg. one of my colleague's development versions), rebuild the project yaml and commit the changes.Once I've got the new yaml files, I run
./craft install
again but it says "Craft is already installed!" and exits, but the site does not work asI also found that I could not create a homepage (after manually creating a security key, user, and syncing the config) as none of the "Singles" sections appeared under entries where the homepage would normally be configured.
Steps to reproduce
./craft install
. This almost always fails in my experience but i'm hoping if I start manually running./craft project-config/rebuild
every time I change something in the settings it will fix it../craft install
againExpected behavior
If
./craft install
fails once and you rerun it, it will check if it needs subtask individually and execute them if requiredActual behavior
./craft install
skips all subtasks regardless of if they need runningCraft CMS version
5.7.44
PHP version
7.4
Operating system and version
php:7.4-apache
Database type and version
mysql:latest
Image driver and version
n/a
Installed plugins and versions
From
project.yaml
from
composer.json