Suddenly I get this error message during deploy:
TASK [deploy : WordPress Installed?]
Error: This does not seem to be a WordPress install.
Pass --path=path/to/wordpress
or runwp core download
.
Also the site doesn’t load anymore, HTTP 500.
The deploy script just switched the current symlink despite the
newly deployed site is not working anymore.
Edit: I found the logs in ‘/srv/www//logs’ .
PHP message: PHP Fatal error: require(): Failed opening required ‘/srv/www/thedomain.com/releases/20170319033531/web/wp/wp-blog-header.php’
I tried composer install
in ‘/srv/www/thedomain.com/current/’ but
files like ‘web/wp/wp-blog-header.php’ are still missing.
I was able to revert to a previous release and make the site function again by overriding the current symlink with a new one that points to a different release folder:
web@localhost: ln -sfs /srv/www/<site>/releases/<release> /srv/www/<site>/current