After installing EE I installed other packages such as mysql, php, etc… But Nginx won’t install. I’m running Ubuntu 18.04 on an A1 instance on an AWS EC2 instance. I get the following error:
2018-12-21 13:15:41,449 (DEBUG) ee : Setting apt_packages variable for Nginx
2018-12-21 13:15:45,147 (DEBUG) ee : Calling pre_pref
2018-12-21 13:15:45,148 (INFO) ee : Adding repository for NGINX, please wait...
2018-12-21 13:15:45,149 (DEBUG) ee : Adding ppa of Nginx
2018-12-21 13:15:45,149 (DEBUG) ee : Running command: gpg --keyserver hkp://keys.gnupg.net --recv-keys 3050AC3CD2AE6F03
2018-12-21 13:15:45,528 (DEBUG) ee : Command Output: ,
Command Error: gpg: WARNING: unsafe ownership on homedir '/home/dougs/.gnupg'
gpg: key 3050AC3CD2AE6F03: 1 signature not checked due to a missing key
gpg: key 3050AC3CD2AE6F03: "home:rtCamp OBS Project <home:[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
2018-12-21 13:15:45,528 (DEBUG) ee : Running command: gpg -a --export --armor 3050AC3CD2AE6F03 | apt-key add -
2018-12-21 13:15:45,973 (DEBUG) ee : Command Output: OK
,
Command Error: gpg: WARNING: unsafe ownership on homedir '/home/dougs/.gnupg'
Warning: apt-key output should not be parsed (stdout is not a terminal)
2018-12-21 13:15:45,974 (INFO) ee : Updating apt-cache, please wait...
Hit:1 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:3 http://us-east-1.ec2.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:4 http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu bionic InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Ign:6 http://download.opensuse.org/repositories/home:/rtCamp:/EasyEngine/xUbuntu_18.04 InRelease
Hit:7 http://download.opensuse.org/repositories/home:/rtCamp:/EasyEngine/xUbuntu_18.04 Release
Hit:9 http://ppa.launchpad.net/jonathonf/gcc/ubuntu bionic InRelease
Hit:10 http://ppa.launchpad.net/nginx/stable/ubuntu bionic InRelease
Hit:11 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Reading package lists...
2018-12-21 13:15:53,539 (INFO) ee : Installing packages, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Package nginx-custom is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
nginx-common
E: Package 'nginx-custom' has no installation candidate
E: Unable to locate package nginx-ee
2018-12-21 13:15:54,207 (INFO) ee : Oops Something went wrong!!
2018-12-21 13:15:54,208 (ERROR) ee : Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!
I tried installing from here too, https://virtubox.github.io/nginx-ee/, but I got some other errors. I can install nginx-full and nginx-custom using apt-get but EE doesn’t see nginx as installed when I do that.
I don’t know if the A1 instance type is the issue or not. I haven’t deployed a T2 to test that. This is a complete new server. Any suggestions or help would be greatly appreciated.
Thanks