Default pristine install breaks reproducible on the following error:
Debug Information: OS: Ubuntu, v16.04 Node Version: v8.9.0 Ghost-CLI Version: 1.6.0 Environment: production Command: 'ghost install' Message: The database migration in Ghost encountered an error. Help: https://docs.ghost.org/v1/docs/troubleshooting#section-general-update-error --------------- stderr --------------- Sorry, user vagrant is not allowed to execute '/home/vagrant/projects/ghost/current/node_modules/.bin/knex-migrator-migrate --init --mgpath /home/vagrant/projects/ghost/current' as ghost on cakebox.
Probably not related but user
vagrant logs in using certificate based authentication
Running the following command manually produces the same error:
sudo -u ghost /home/vagrant/projects/ghost/current/node_modules/.bin/knex-migrator-migrate --init --mgpath /home/vagrant/projects/ghost/current
Any pointers to what should be the expected behavior here more than welcome.