easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

EasyEngine v3.1.4 | Can't install stack

Open wolerine opened this issue 11 years ago • 17 comments

root@web:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.8 (wheezy) Release: 7.8 Codename: wheezy root@web:~# ee -v EasyEngine v3.1.4 Copyright (c) 2015 rtCamp Solutions Pvt. Ltd.

root@web:/etc/apt/sources.list.d# ee stack install --all System RAM is less than 1GB Mail scanner packages are not going to install automatically Adding repository for MySQL, please wait... Adding repository for NGINX, please wait... Adding repository for PHP, please wait... Adding repository for HHVM, please wait... Updating apt-cache, please wait... Installing packages, please wait... Oops Something went wrong!! Check logs for reason tail /var/log/ee/ee.log & Try Again!!! root@web:/etc/apt/sources.list.d# tail /var/log/ee/ee.log The following information may help to resolve the situation:

The following packages have unmet dependencies: mariadb-galera-server-10.0 : Depends: mariadb-client-10.0 (>= 10.0.17+maria-1~wheezy) but it is not installable Depends: libmariadbclient18 (>= 10.0.17+maria-1~wheezy) but it is not installable PreDepends: mariadb-common but it is not installable Recommends: libhtml-template-perl but it is not going to be installed E: Unable to correct problems, you have held broken packages. 2015-05-07 20:03:02,650 (INFO) ee : Oops Something went wrong!! 2015-05-07 20:03:02,651 (ERROR) ee : Check logs for reason tail /var/log/ee/ee.log & Try Again!!!

I stuck when i am trying to install stack I have tried with 32 bit, 64 bit also Ubuntu 14.04 with 32-64bit. Still the same problem.

wolerine avatar May 07 '15 17:05 wolerine

I solved this problem but now another one happaned.

root@web:/etc/apt# tail /var/log/ee/ee.log 2015-05-07 21:40:17,250 (DEBUG) ee : Running command: openssl req -new -batch -subj /commonName=127.0.0.1/ -key /var/www/22222/cert/22222.key -out /var/www/22222/cert/22222.csr 2015-05-07 21:40:17,262 (DEBUG) ee : Moving file from /var/www/22222/cert/22222.key to /var/www/22222/cert/22222.key.org 2015-05-07 21:40:17,262 (DEBUG) ee : Running command: openssl rsa -in /var/www/22222/cert/22222.key.org -out /var/www/22222/cert/22222.key 2015-05-07 21:40:17,268 (DEBUG) ee : Running command: openssl x509 -req -days 3652 -in /var/www/22222/cert/22222.csr -signkey /var/www/22222/cert/22222.key -out /var/www/22222/cert/22222.crt 2015-05-07 21:40:17,299 (DEBUG) ee : EEGit: git commit at /etc/nginx 2015-05-07 21:40:17,337 (INFO) ee : Reload : nginx 2015-05-07 21:40:17,383 (DEBUG) ee : nginx: [emerg] "worker_rlimit_nofile" directive is duplicate in /etc/nginx/nginx.conf:4 nginx: configuration file /etc/nginx/nginx.conf test failed 2015-05-07 21:40:17,384 (INFO) ee : [Failed] 2015-05-07 21:40:19,135 (DEBUG) ee : Extracting file /tmp/pma.tar.gz to loaction /tmp/

i solve that problem also while editing nginx.conf but, after that i am getting 404 error on php files. including port 22222

wolerine avatar May 07 '15 18:05 wolerine

Hello @wolerine ,

2015-05-07 21:40:17,383 (DEBUG) ee : nginx: [emerg] "worker_rlimit_nofile" directive is duplicate in /etc/nginx/nginx.conf:4

To resolve this error do following

vim /etc/nginx/nginx.conf

and remove one line of worker_rlimit_nofile . after that,

nginx -t && service nginx reload

Also can you give me answer of following questions so that we will able to find exact cause of this issue:

  1. Is EasyEngine fresh installed or updated from old release?
  2. If possible can give us /var/log/ee.log file so that we can debug more.

gau1991 avatar May 08 '15 05:05 gau1991

Hello again. Yes it is fresh install. I stuck again MariaDB install process and could not solve it yet.

I solved MariaDB issue before adding another repo into sources.list. But it did not help me this time.

You can check out : http://youtu.be/3Y1bX59427w

wolerine avatar May 08 '15 07:05 wolerine

Hello @wolerine , Thanks for Video, Can you give me server access so that I can debug more. You can add my public key from http://docs.rtcamp.com/easyengine/keys.html

gau1991 avatar May 08 '15 08:05 gau1991

Hello @wolerine , I confirm this bug, This is introduced because of recent updates in MariaDB, so it is trying to install mariadb-galera-server-10.0. We analyzing this bug and soon we will fix this in EasyEngine..

gau1991 avatar May 08 '15 08:05 gau1991

Hello @gau1991 I have added you SSH key. My IP address is 188.166.1.45

wolerine avatar May 08 '15 08:05 wolerine

Hello, This is not bug from EasyEngine, this is from MariaDB repos itself. MariaDB packages are built for Wheezy but in these package are missing in index, so apt-get is not recognizing these packages..

Ref this mirror: http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/debian/dists/wheezy/main/binary-amd64/Packages.gz

gau1991 avatar May 08 '15 11:05 gau1991

Also reported to MariaDB bug tracker: https://mariadb.atlassian.net/browse/MDEV-8120

gau1991 avatar May 08 '15 11:05 gau1991

@gau1991 @wolerine Package is updated with new version

Refer: https://mariadb.atlassian.net/browse/MDEV-8118

Can you please try again and let me know

MiteshShah avatar May 08 '15 14:05 MiteshShah

@MiteshShah MIrror update process is not instantaneous, it will take sometime hours to updates all mirrors..

gau1991 avatar May 08 '15 14:05 gau1991

The status of https://mariadb.atlassian.net/browse/MDEV-8118 has been closed, yet the resolution won't fix.

codxse avatar May 09 '15 09:05 codxse

About nginx, I think related to this too, http://serverfault.com/questions/690265/nginx-1-6-3-to-1-8-upgrade/690313#690313

I can confirm that, after uprading to nginx 1.8.x the php-fpm doesn't work, it throwing a blank site.

codxse avatar May 09 '15 11:05 codxse

I tested with Ubuntu 14.04 x64. There was not any problem. It seems it is only for Debian.

wolerine avatar May 09 '15 13:05 wolerine

I created two EC2 instances last night in an attempt to start fresh when an update crashed my site and I initially received GPG errors, then did an apt update & apt upgrade and installed ee without error, HOWEVER, php was definitely having problems and I too was getting a blank white site with no errors being thrown in the log and I verified all services were running, restarted them and same issue. I'm now back on an Image I made of my working ee 2.2.2 server and everything is great. I've had zero long term success with any of the 3.x updates and I have a sneaking suspicion that part of that issue is the way the nginx conf is changed and I have VERY SPECIFIC ssl rules in place for one site.

On Saturday, May 9, 2015, wolerine [email protected] wrote:

I tested with Ubuntu 14.04 x64. There was not any problem. It seems it is only for Debian.

— Reply to this email directly or view it on GitHub https://github.com/rtCamp/easyengine/issues/538#issuecomment-100481332.

MattyLB avatar May 09 '15 20:05 MattyLB

I too have been having back to back issues with using easyengine with debian. Decided to jump ship to Ubuntu and it seems to work fine.

sarconus avatar May 12 '15 22:05 sarconus

@MattyLB @sonontse

Solution for white page on Debian:

Add following line on /etc/nginx/fastcgi_params file

fastcgi_param SCRIPT_FILENAME $request_filename;

Now reload nginx

nginx -t && service nginx reload

MiteshShah avatar May 13 '15 11:05 MiteshShah

To clarify, I was using A Ubuntu stack, not Debian, so it was happening on Ubuntu as well. The real issue was that there are two upgrade paths, one prior to 3.x and one for versions after - this is only mentioned on github and not on the easy engine landing page on rtCamp.com. Once I followed the github upgrade instructions, all was well. Just an FYI.

On Thursday, May 14, 2015, Gaurav Ashtikar <[email protected] javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

Closed #538 https://github.com/rtCamp/easyengine/issues/538 via 5067386 https://github.com/rtCamp/easyengine/commit/50673867d4e64c23dcbedd81a4b85b62ec0a4e39 .

— Reply to this email directly or view it on GitHub https://github.com/rtCamp/easyengine/issues/538#event-304603108.

MattyLB avatar May 14 '15 17:05 MattyLB