Hi to all hard working lara-coders. Unfortunately i am having great issues in building a custom server with Forge on AWS while on Digital Ocean is as easy as it is supposed to be. Nginx and php are missing after the provisional script finishes no matter how many efforts i 've done. Unfortunately i have to do everything manually. Does anyone else face this kind of problem because Forge support doesn't get back to me regarding this anymore?
Yes i 've used a fresh Ubuntu 14.04 instance every time. The procedure finished but the nginx just wasn't around. Here is where i spot some issues:
The following NEW packages will be installed:
autoconf automake autotools-dev debhelper dh-apparmor dh-php5
fontconfig-config fonts-dejavu-core gettext intltool-debian libasprintf-dev
libc-client2007e libcroco3 libfontconfig1 libgd3 libgettextpo-dev
libgettextpo0 libjbig0 libjpeg-turbo8 libjpeg8 libltdl-dev libltdl7
libmail-sendmail-perl libmemcached11 libonig2 libpq5 libqdbm14 libssl-dev
libssl-doc libsys-hostname-long-perl libtiff5 libtool libunistring0 libvpx1
libxpm4 m4 mlock php-pear php5-apcu php5-cli php5-common php5-curl php5-dev
php5-gd php5-gmp php5-imap php5-json php5-mcrypt php5-memcached php5-mysqlnd
php5-pgsql php5-readline php5-sqlite php5-xdebug pkg-php-tools po-debconf
shtool zlib1g-dev
0 upgraded, 58 newly installed, 0 to remove and 8 not upgraded.
Need to get 14.7 MB of archives.
After this operation, 56.2 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libgd3 libmemcached11 php5-common php5-json php5-cli php-pear php5-apcu
php5-curl php5-dev php5-gd php5-gmp php5-imap php5-mcrypt php5-memcached
php5-pgsql php5-readline php5-sqlite php5-xdebug dh-php5 php5-mysqlnd
pkg-php-tools
E: There are problems and -y was used without --force-yes
ln: failed to create symbolic link '/etc/php5/mods-available': No such file or directory
sudo: php5enmod: command not found
nginx: unrecognized service
forge.sh: line 227: php: command not found
curl: (23) Failed writing body (0 != 8030)
mv: cannot stat 'composer.phar': No such file or directory
sed: can't read /etc/php5/cli/php.ini: No such file or directory
sed: can't read /etc/php5/cli/php.ini: No such file or directory
sed: can't read /etc/php5/cli/php.ini: No such file or directory
sed: can't read /etc/php5/cli/php.ini: No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
libjpeg-turbo8 libjpeg8 libonig2 libqdbm14 libtiff5 libvpx1 libxpm4
libxslt1.1 nginx-common nginx-full php5-cli php5-common php5-json
php5-readline
Suggested packages:
libgd-tools fcgiwrap nginx-doc ssl-cert php-pear php5-user-cache
The following NEW packages will be installed:
fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0
libjpeg-turbo8 libjpeg8 libonig2 libqdbm14 libtiff5 libvpx1 libxpm4
libxslt1.1 nginx nginx-common nginx-full php5-cli php5-common php5-fpm
php5-json php5-readline
0 upgraded, 21 newly installed, 0 to remove and 8 not upgraded.
Need to get 7970 kB of archives.
After this operation, 29.4 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libgd3 php5-common php5-json php5-cli php5-fpm php5-readline
E: There are problems and -y was used without --force-yes
rm: cannot remove '/etc/nginx/sites-enabled/default': No such file or directory
rm: cannot remove '/etc/nginx/sites-available/default': No such file or directory
nginx: unrecognized service
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/nginx/nginx.conf: No such file or directory
sed: can't read /etc/nginx/nginx.conf: No such file or directory
sed: can't read /etc/php5/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/php5/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/php5/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/php5/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/php5/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/php5/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/nginx/nginx.conf: No such file or directory
sed: can't read /etc/nginx/nginx.conf: No such file or directory
forge.sh: line 283: /etc/nginx/sites-available/catch-all: No such file or directory
ln: failed to create symbolic link '/etc/nginx/sites-enabled/catch-all': No such file or directory
php5-fpm: unrecognized service
nginx: unrecognized service
uid=1001(forge) gid=1001(forge) groups=1001(forge),27(sudo),33(www-data)
forge : forge sudo www-data
forge.sh: line 326: pecl: command not found
forge.sh: line 327: /etc/php5/mods-available/mongo.ini: No such file or directory
ln: failed to create symbolic link '/etc/php5/fpm/conf.d/20-mongo.ini': No such file or directory
ln: failed to create symbolic link '/etc/php5/cli/conf.d/20-mongo.ini': No such file or directory
Looks to me like there's a problem with the installation of php5. You can see a list of all php5 related packages installed on your system with this command dpkg -l php5*
Ok, great, really thank you for your response. I ve used php -v and which php without success so now i erased the instance. I guess you haven't managed to use Forge for AWS EC2 servers? Unfortunately i 've sent my log file to Forge support so i can help them solve this issue with AWS but never got a response after 40 days. I guess they are that busy with Envoyer. Forge is a great tool but unfortunately i have many servers to manage on AWS and i am doing everything manually so i use Forge only for Digital Ocean for the time being.
You're right I don't use AWS but i use Azure which is something similar and there it's working without problems!!
The problems on your instances I think come from apt nothing else.