EasyEngine stack installation failed


#1

ee stack install Adding repository for MySQL, please wait… Adding repository for NGINX, please wait… Adding repository for PHP, please wait… Adding SWAP file, please wait… Oops Something went wrong!! Check logs for reason tail /var/log/ee/ee.log & Try Again!!!


#2

what linux distribution do you used ? what is displayed in /var/log/ee/ee.log ?


#3

its ubuntu 16.04.02 x64 in digitalocean.


#4

this is kind of a new issue on digitalocean. 3 days back i setup a server with datacenter region to india-bangalore and the complete setup was fine. But now when i am selecting datacenter region to india-bangalore, i got issue with the ee stack installation. but when the datacenter region is new-york, its working fine (easyengine and stack installation) with the same linux distribution.


#5

here is the ee.log data after failed stack installation

2017-07-22 12:22:05,857 (DEBUG) ee : logging initialized for ‘ee’ using LoggingLogHandler 2017-07-22 12:22:06,202 (DEBUG) ee : [’/usr/local/bin/ee’, ‘stack’, ‘install’] 2017-07-22 12:22:06,202 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7fa3f93d00b8> 2017-07-22 12:22:06,205 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.stack.EEStackController object at 0x7fa3f93d0748> 2017-07-22 12:22:06,207 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.stack_services.EEStackStatusController object at 0x7fa3f93d0a90> 2017-07-22 12:22:06,211 (INFO) ee : Initializing EasyEngine Database 2017-07-22 12:22:06,216 (DEBUG) ee : e[95mSetting apt_packages variable for Nginxe[0m 2017-07-22 12:22:07,968 (DEBUG) ee : e[95mSetting apt_packages variable for PHPe[0m 2017-07-22 12:22:09,033 (DEBUG) ee : e[95mSetting apt_packages variable for MySQLe[0m 2017-07-22 12:22:09,033 (DEBUG) ee : e[95mRunning command: mysqladmin pinge[0m 2017-07-22 12:22:09,037 (DEBUG) ee : e[95mCommand Output: , Command Error: /bin/sh: 1: mysqladmin: not found e[0m 2017-07-22 12:22:09,038 (DEBUG) ee : e[95mSetting apt_packages variable for Postfixe[0m 2017-07-22 12:22:09,584 (DEBUG) ee : e[95mSetting packages variable for WP-CLIe[0m 2017-07-22 12:22:09,584 (DEBUG) ee : e[95mRunning command: which wpe[0m 2017-07-22 12:22:09,589 (DEBUG) ee : e[95mCommand Output: , Command Error: e[0m 2017-07-22 12:22:09,589 (DEBUG) ee : e[95mSetting packages varible for phpMyAdmin e[0m 2017-07-22 12:22:09,589 (DEBUG) ee : e[95mSetting packages variable for Adminer e[0m 2017-07-22 12:22:09,589 (DEBUG) ee : e[95mSetting packages variable for utilse[0m 2017-07-22 12:22:09,589 (DEBUG) ee : e[95mCalling pre_prefe[0m 2017-07-22 12:22:09,590 (DEBUG) ee : e[95mPre-seeding Postfixe[0m 2017-07-22 12:22:09,590 (DEBUG) ee : e[95mRunning command: echo “postfix postfix/main_mailer_type string ‘Internet Site’” | debconf-set-selectionse[0m 2017-07-22 12:22:09,794 (DEBUG) ee : e[95mCommand Output: , Command Error: e[0m 2017-07-22 12:22:09,795 (DEBUG) ee : e[95mRunning command: echo “postfix postfix/mailname string $(hostname -f)” | debconf-set-selectionse[0m 2017-07-22 12:22:10,002 (DEBUG) ee : e[95mCommand Output: , Command Error: e[0m 2017-07-22 12:22:10,003 (INFO) ee : e[94mAdding repository for MySQL, please wait…e[0m 2017-07-22 12:22:10,004 (DEBUG) ee : e[95mAdding key for deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial maine[0m 2017-07-22 12:22:10,004 (DEBUG) ee : e[95mRunning command: gpg --keyserver keyserver.ubuntu.com --recv-keys 0xF1656F24C74CD1D8e[0m 2017-07-22 12:22:10,605 (DEBUG) ee : e[95mCommand Output: , Command Error: gpg: requesting key C74CD1D8 from hkp server keyserver.ubuntu.com gpg: key C74CD1D8: “MariaDB Signing Key signing-key@mariadb.org” not changed gpg: Total number processed: 1 gpg: unchanged: 1 e[0m 2017-07-22 12:22:10,605 (DEBUG) ee : e[95mRunning command: gpg -a --export --armor 0xF1656F24C74CD1D8 | apt-key add - e[0m 2017-07-22 12:22:10,810 (DEBUG) ee : e[95mCommand Output: OK , Command Error: e[0m 2017-07-22 12:22:10,811 (DEBUG) ee : e[95mPre-seeding MySQLe[0m 2017-07-22 12:22:10,811 (DEBUG) ee : e[95mecho "mariadb-server-10.1 mysql-server/root_password password " | debconf-set-selectionse[0m 2017-07-22 12:22:10,995 (DEBUG) ee : e[95mCommand Output: , Command Error: e[0m 2017-07-22 12:22:10,995 (DEBUG) ee : e[95mecho "mariadb-server-10.1 mysql-server/root_password_again password " | debconf-set-selectionse[0m 2017-07-22 12:22:11,187 (DEBUG) ee : e[95mCommand Output: , Command Error: e[0m 2017-07-22 12:22:11,188 (DEBUG) ee : e[95mWritting configuration into MySQL filee[0m 2017-07-22 12:22:11,188 (DEBUG) ee : e[95mSetting my.cnf permissione[0m 2017-07-22 12:22:11,188 (DEBUG) ee : e[95mChanging permission of /etc/mysql/conf.d/my.cnf, Perm:384e[0m 2017-07-22 12:22:11,189 (INFO) ee : e[94mAdding repository for NGINX, please wait…e[0m 2017-07-22 12:22:11,189 (DEBUG) ee : e[95mAdding ppa of Nginxe[0m 2017-07-22 12:22:11,189 (DEBUG) ee : e[95mRunning command: gpg --keyserver hkp://keys.gnupg.net --recv-keys 3050AC3CD2AE6F03e[0m 2017-07-22 12:22:13,625 (DEBUG) ee : e[95mCommand Output: , Command Error: gpg: requesting key D2AE6F03 from hkp server keys.gnupg.net gpg: key D2AE6F03: “home:rtCamp OBS Project home:rtCamp@build.opensuse.org” not changed gpg: Total number processed: 1 gpg: unchanged: 1 e[0m 2017-07-22 12:22:13,626 (DEBUG) ee : e[95mRunning command: gpg -a --export --armor 3050AC3CD2AE6F03 | apt-key add - e[0m 2017-07-22 12:22:13,852 (DEBUG) ee : e[95mCommand Output: OK , Command Error: e[0m 2017-07-22 12:22:13,853 (INFO) ee : e[94mAdding repository for PHP, please wait…e[0m 2017-07-22 12:22:13,853 (DEBUG) ee : e[95mAdding ppa for PHPe[0m 2017-07-22 12:22:13,853 (DEBUG) ee : e[95mRunning command: add-apt-repository -y ‘ppa:ondrej/php’e[0m 2017-07-22 12:22:16,742 (DEBUG) ee : e[95mCommand Output: OK , Command Error: gpg: keyring /tmp/tmp3o75rvl1/secring.gpg' created gpg: keyring/tmp/tmp3o75rvl1/pubring.gpg’ created gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com gpg: /tmp/tmp3o75rvl1/trustdb.gpg: trustdb created gpg: key E5267A6C: public key “Launchpad PPA for Ondřej Surý” imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) e[0m 2017-07-22 12:22:16,743 (INFO) ee : e[94mAdding SWAP file, please wait…e[0m Hit:1 https://repos.sonar.digitalocean.com/apt main InRelease Ign:2 http://download.opensuse.org/repositories/home:/rtCamp:/EasyEngine/xUbuntu_16.04 InRelease Hit:3 http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial InRelease Hit:4 http://download.opensuse.org/repositories/home:/rtCamp:/EasyEngine/xUbuntu_16.04 Release Hit:5 http://sgp1.mirrors.digitalocean.com/ubuntu xenial InRelease Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Hit:7 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu xenial InRelease Get:9 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates InRelease [102 kB] Hit:10 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Hit:11 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-backports InRelease Ign:12 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/main Sources Ign:13 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/restricted Sources Ign:14 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/universe Sources Get:15 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/multiverse Sources [6,948 B] Ign:16 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/universe amd64 Packages Ign:17 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/universe Translation-en Ign:18 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/multiverse amd64 Packages Get:19 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/multiverse Translation-en [7,476 B] Get:12 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/main Sources [259 kB] Err:12 http://sgp1.mirrors.digitalocean.com/ubuntu xenial-updates/main Sources Hash Sum mismatch Fetched 463 kB in 4s (97.0 kB/s) Reading package lists… 2017-07-22 12:22:26,036 (INFO) ee : e[94me[91mOops Something went wrong!!e[0m 2017-07-22 12:22:26,037 (ERROR) ee : e[91mCheck logs for reason tail /var/log/ee/ee.log & Try Again!!!e[0m


#6

i saw the log file. there only php installed. Nginx and MySQL not installed.


#7