Successfully provisioned and deployed to server but I am not getting the startup page

Hello,

I successfully provisioned and deployed the server but when I visit it, no response. Nginx and php server is running and the project successfully deployed to the right directory.

This is the only thing in the error log I could find:
2016/10/29 03:31:15 [notice] 4407#4407: signal process started

Any ideas?

I am running Ubuntu 16.04.1 on digital ocean.

So when you say visit “it”, are we talking about the url for the site you provisioned?
Normally at that point there is no database or anything set up on the remote servers, you need to upload your database backup and rewrite your URLs before you get anything.

Your best bet is to just throw a PHPinfo file into the /current/web/phpinfo.php and then try visiting example.com/phpinfo.php

Just add this code to the file:

<?php phpinfo(); ?>

Then if you see the php information you know its your site not the server.

Also get rid the the phpinfo file right away after you test it.

1 Like

I mean when I visit the site, I get a can’t connect error in my browser. Usually when there’s a configuration error setting up nginx servers I atleast get to see the nginx gateway page.

I dropped in a phpinfo page as you described and I am getting the same connection error.

These are the running services:
[ + ] acpid
[ + ] apparmor
[ + ] apport
[ + ] atd
[ - ] bootmisc.sh
[ - ] checkfs.sh
[ - ] checkroot-bootclean.sh
[ - ] checkroot.sh
[ + ] console-setup
[ + ] cron
[ - ] cryptdisks
[ - ] cryptdisks-early
[ + ] dbus
[ + ] fail2ban
[ + ] ferm
[ + ] grub-common
[ - ] hostname.sh
[ - ] hwclock.sh
[ + ] irqbalance
[ + ] iscsid
[ + ] keyboard-setup
[ - ] killprocs
[ + ] kmod
[ - ] lvm2
[ + ] lvm2-lvmetad
[ + ] lvm2-lvmpolld
[ + ] lxcfs
[ - ] lxd
[ + ] mdadm
[ - ] mdadm-waitidle
[ + ] memcached
[ - ] mountall-bootclean.sh
[ - ] mountall.sh
[ - ] mountdevsubfs.sh
[ - ] mountkernfs.sh
[ - ] mountnfs-bootclean.sh
[ - ] mountnfs.sh
[ + ] mysql
[ + ] networking
[ + ] nginx
[ + ] ntp
[ + ] ondemand
[ + ] open-iscsi
[ + ] php7.0-fpm
[ - ] plymouth
[ - ] plymouth-log
[ + ] procps
[ + ] rc.local
[ + ] resolvconf
[ - ] rsync
[ + ] rsyslog
[ - ] screen-cleanup
[ - ] sendsigs
[ + ] ssh
[ + ] udev
[ + ] ufw
[ - ] umountfs
[ - ] umountnfs.sh
[ - ] umountroot
[ - ] unattended-upgrades
[ + ] urandom
[ - ] uuidd

What do you have in trellis/hosts/production ? Does it match what you’re typing into your web browser to access the site? Can you ping the server by its IP and or DNS name? Does it reply from the same IP in both cases?

1 Like

Did you run sudo nginx -t

Also

sudo service nginx status

sudo service php7.0-fpm status