To reproduce:
Set up Mysql:
CREATE DATABASE ghost3;
CREATE USER 'ghost'@'localhost' IDENTIFIED WITH mysql_native_password BY '***';
GRANT create, delete, insert, select, update, alter, references ON ghost3.* TO 'ghost'@'localhost';
FLUSH PRIVILEGES;
Create a Ghost installation:
ghost install v3 --local --development --no-start \
--db mysql --dbhost localhost --dbuser ghost --dbpass '***' --dbname ghost3
Btw; Using the switch --verbose
will cause the installation to fail with stdout maxBuffer exceeded
In non-verbose mode the Ghost installation will work as expected and is possible to view and configure at http://localhost:2368/ghost/
.
Update with:
ghost stop
ghost update --verbose
Everything seems fine, and ghost doctor
gives you no errors, but starting it up with ghost start
will give you this error:
A GhostError occurred.
Message: Ghost was able to start, but errored during boot with: show columns from `products` - ER_NO_SUCH_TABLE: Table 'ghost3.products' doesn't exist
Debug Information:
OS: macOS, v11.4
Node Version: v14.17.1
Ghost Version: 4.8.0
Ghost-CLI Version: 1.17.3
Environment: development
Command: 'ghost start'
Funny thing is that running ghost doctor
at this stage still gives no errors.