I have a dedicated server and I have had a completely clean/fresh copy of Ubuntu 14.04 x64 installed on to it (without MySQL, PHP, Apache, Nginx etc) as required by Forge. I then run the command to provision the server provided by Forge while logged in as root via SSH.
The process appears to run and complete successfully but when I go to Forge it shows the server is stuck on 'Provisioning'.
I have tried this several times to no avail. I've refreshed my GitHub tokens and retried but no joy.
I never receive an email from Forge with my credentials and if I exit SSH I cannot log back in because of the changes made by Forge and I then have to contact the host to get them to fix the situation.
Does anyone have any idea what may be occurring here? I'm at a loss on what to do next.
I did spot this output while the provisioning process was being completed. Perhaps this has something to do with it:
ln: failed to create symbolic link ‘/etc/php5/mods-available/mcrypt.ini’: File exists
nginx: unrecognized service
npm WARN optional dep failed, continuing fsevents@0.3.7
Setting up postgresql-contrib-9.4 (9.4.4-1.pgdg14.04+1) ...
host all all 0.0.0.0/0 md5
could not change directory to "/root": Permission denied
CREATE ROLE
* Restarting PostgreSQL 9.4 database server [ OK ]
could not change directory to "/root": Permission denied
rm: cannot remove ‘/etc/nginx/sites-available/default’: No such file or directory
rm: cannot remove ‘/etc/nginx/sites-enabled/default’: No such file or directory
ps-watcher won't be started/stopped unless it is configured