Problem upgrading


#1

I’m trying to upgrade EE, but when I do this is what the console lists:

Executing apt-get update, please wait… Cloning EasyEngine (ee) stable branch, please wait… Installing EasyEngine (ee), please wait… [ Thu Mar 5 23:29:14 PST 2015 ] Unable to copy EasyEngine (ee) auto completion file, exit status = 1

Any idea what the issue might be?


#2

Hi @NinePlanets,

Will you please tell me which command had you used to upgrade EE.

Thanks


#3

This was the command I used:

wget -q http://rt.cx/ee && sudo bash ee


#4

Another new upgrade out, tried upgrading with the following command:

wget -qO eeup http://rt.cx/eeup && sudo bash eeup

This time it just says this:

Executing apt-get update, please wait…

Then it sits there forever and never does anything. Anyone have any ideas?


#5

@NinePlanets,

Can you give me output of following commands?

rm eeup
wget -qO eeup rt.cx/eeup && sudo bash -x eeup

#6

This is what it listed:

+ [[ 0 -ne 0 ]]
+ ee_lib_echo 'Executing apt-get update, please wait...'
++ tput setaf 4
++ tput sgr0
+ echo 'Executing' apt-get update, please 'wait...'
Executing apt-get update, please wait...
+ apt-get update
+ '[' '!' -x /usr/bin/lsb_release ']'
+ ee_branch=
+ readonly ee_version_old=2.2.3
+ ee_version_old=2.2.3
+ readonly ee_version_new=3.1.2
+ ee_version_new=3.1.2
+ readonly ee_log_dir=/var/log/ee/
+ ee_log_dir=/var/log/ee/
+ readonly ee_install_log=/var/log/ee/install.log
+ ee_install_log=/var/log/ee/install.log
++ awk '{print $3}'
++ lsb_release -i
+ readonly ee_linux_distro=Ubuntu
+ ee_linux_distro=Ubuntu
++ lsb_release -sc
+ readonly ee_debian_version=trusty
+ ee_debian_version=trusty
+ '[' Ubuntu '!=' Ubuntu ']'
+ egrep -e '12.04|14.04|wheezy'
+ lsb_release -d
+ '[' 0 -ne 0 ']'
+ '[' '!' -d /var/log/ee/ ']'
+ '[' -f /usr/local/sbin/easyengine ']'
+ '[' '!' -f /usr/local/bin/ee ']'
+ grep 3.1.2
+ ee -v
```

#7

Still having trouble with this. Any other ideas?


#8

@NinePlanets,

Look like apt-get update is not running on you system. I need some more information so that I can debug more,

ee -v
tail -n 100 /var/log/ee/ee.log

lsb_release -a

#9

Here are the results of those commands:

usage: git config [options]

Config file location –global use global config file –system use system config file –local use repository config file -f, --file use given config file –blob read config from given blob object

Action –get get value: name [value-regex] –get-all get all values: key [value-regex] –get-regexp get values for regexp: name-regex [value-regex] –get-urlmatch get value specific for the URL: section[.var] URL –replace-all replace all matching variables: name value [value_regex] –add add a new variable: name value –unset remove a variable: name [value-regex] –unset-all remove all matches: name [value-regex] –rename-section rename section: old-name new-name –remove-section remove a section: name -l, --list list all -e, --edit open an editor –get-color find the color configured: [default] –get-colorbool find the color setting: [stdout-is-tty]

Type –bool value is “true” or “false” –int value is decimal number –bool-or-int value is --bool or --int –path value is a path (file or directory name)

Other -z, --null terminate values with NUL byte –includes respect include directives on lookup

EasyEngine v3.1.1 Copyright © 2015 rtCamp Solutions Pvt. Ltd.

2015-04-24 14:42:46,164 (DEBUG) ee : logging initialized for ‘ee’ using LoggingLogHandler 2015-04-24 14:42:46,678 (DEBUG) ee : [’/usr/local/sbin/ee’, ‘sync’] 2015-04-24 14:42:46,678 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7f0fcc9b4518> 2015-04-24 14:42:46,682 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.sync.EESyncController object at 0x7f0fcc9b4630> 2015-04-24 14:42:46,685 (INFO) ee : Initializing EasyEngine Database 2015-04-24 14:42:46,688 (INFO) ee : Synchronizing ee database, please wait … 2015-04-24 14:42:46,696 (DEBUG) ee : Finding string DB_NAME to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,696 (DEBUG) ee : Finding string DB_USER to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,696 (DEBUG) ee : Finding string DB_PASSWORD to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,697 (DEBUG) ee : Finding string DB_HOST to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,705 (DEBUG) ee : Updating ee db record for nginx 2015-04-24 14:42:46,716 (DEBUG) ee : Finding string DB_NAME to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,717 (DEBUG) ee : Finding string DB_USER to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,717 (DEBUG) ee : Finding string DB_PASSWORD to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,717 (DEBUG) ee : Finding string DB_HOST to file /var/www/nginx/wp-config.php 2015-04-24 14:42:46,719 (DEBUG) ee : Updating ee db record for nginx 2015-05-08 14:40:46,097 (DEBUG) ee : logging initialized for ‘ee’ using LoggingLogHandler 2015-05-08 14:40:46,530 (DEBUG) ee : [’/usr/local/sbin/ee’, ‘update’] 2015-05-08 14:40:46,531 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7f592e8b25c0> 2015-05-08 14:40:46,535 (DEBUG) ee : collecting arguments/commands for <ee.cli.plugins.update.EEUpdateController object at 0x7f592e8b26d8> 2015-05-08 14:40:46,537 (INFO) ee : Initializing EasyEngine Database 2015-05-08 14:40:46,543 (INFO) ee : Downloading update script 2015-05-08 14:40:48,694 (INFO) ee : [Done] 2015-05-08 14:40:48,694 (INFO) ee : updating EasyEngine, please wait … 2015-05-21 10:15:18,041 (DEBUG) ee : logging initialized for ‘ee’ using LoggingLogHandler 2015-05-21 10:15:18,443 (DEBUG) ee : [’/usr/local/sbin/ee’, ‘-v’] 2015-05-21 10:15:18,443 (DEBUG) ee : collecting arguments/commands for <ee.cli.controllers.base.EEBaseController object at 0x7fd8012c85c0>

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty


#10

Hi @NinePlanets

Please try the latest EasyEngine. Use ee update to upgrade your current EasyEngine version to the latest.

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#11