First – make sure you have a backup of your vps. This one is very important.
Then after the installation, if you try to update a site and you get an error or your sites do not work, make sure to check both the error and install logs of WordOps.
They are currently here /var/log/wo
Here you can see what stopped the install. But once you fix it, if you run the wo install again it wont place all the files. You need to restore the backup, fix the issue and then run the migration script that you can find here.
For me the issue was this bug with sendmail that had to be fixed with
apt purge sendmail-bin
So the steps are:
- Restore from backup
- Fix the issue, in my case purge sendmail (saw it on the log file)
- Proceed with the rest
So after the install almost all was ok, except the SSL files. I had to comment everything in the nginx.conf in every site that is located in /var/www/sitename/conf/nginx
And then run the wo ssl commands for each site again.
wo site update yoursite –letsencrypt=off
wo site update enta.mc –letsencrypt=on
And everything was back to working normal with WordOps.