3.0.0.4 Update Problems and Guidance

Report bugs and workarounds
Post Reply
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

3.0.0.4 Update Problems and Guidance

Post by shawniverson »

Fixes to help with updating to 3.0.0.4 have been backported.

https://github.com/E-F-A/v3/commit/99ce ... b83171b6f0
https://github.com/E-F-A/v3/commit/c0f5 ... 0f107ecff6

If you have already updated to version 3.0.0.4, please run the attached file to ensure proper functioning of your EFA...
Attachments
update-3.0.0.4-fix.sh.zip
(2.09 KiB) Downloaded 687 times
dajones70
Posts: 2
Joined: 26 Apr 2014 17:09

Re: 3.0.0.4 Update Problems and Guidance

Post by dajones70 »

I had a couple of bugs in this script. Line 48 had an extra "fi" and the empty functions "update-3.0.0.2()" and "update-3.0.0.1()" caused errors.

I deleted lines 48 and 148-165 and it worked. The empty functions could have an echo added to them to make them valid functions.

This fixed the 3.0.0.3 bug where the "EFA-Configure" command didn't bring up the menu and just exited back to the prompt.
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: 3.0.0.4 Update Problems and Guidance

Post by mshanley »

how about some instructions on how to run this?
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: 3.0.0.4 Update Problems and Guidance

Post by shawniverson »

Errors fixed. Also converted from dos to unix file format.

Instructions...

Code: Select all

wget -O ./update-3.0.0.4-fix.sh.zip http://forum.efa-project.org/download/file.php?id=22
unzip  ./update-3.0.0.4-fix.sh.zip
chmod u+x ./update-3.0.0.4-fix.sh
sudo ./update-3.0.0.4-fix.sh
mshanley
Posts: 41
Joined: 26 Apr 2014 05:19

Re: 3.0.0.4 Update Problems and Guidance

Post by mshanley »

this works,
Thank You!
now I have the EFA Configure Menu back and im running 3.0.0.4.
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: 3.0.0.4 Update Problems and Guidance

Post by shawniverson »

Just noticed....some of you that may be using open-vm-tools...

Make sure you have a real vmtoolsd init script (and that it is not 0 bytes in size)

Code: Select all

sudo wget -O /etc/init.d/vmtoolsd https://raw.githubusercontent.com/E-F-A/v3/3.0.0.4/build/EFA/vmtoolsd.init --no-check-certificate
sharktech
Posts: 89
Joined: 14 Jan 2014 14:23

Re: 3.0.0.4 Update Problems and Guidance

Post by sharktech »

Ran EFA-Update to go form fresh install to v3.0.0.4 ran the bash script and that worked fine, i then read the vmtools bit and tried to download it but i keep getting SSL error "cert common name www.github.com doesnt match requested hostname raw.githubusercontent.com

If i run with the --no-check-certificate i get error 404

When i did the upgrade using efa-update i did notice this aswell

Cheers
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: 3.0.0.4 Update Problems and Guidance

Post by shawniverson »

double check your syntax, the above command with --no-check-certificate is working for me.
apoangel
Posts: 2
Joined: 17 Jun 2014 05:54

Re: 3.0.0.4 Update Problems and Guidance

Post by apoangel »

Hi all,

I have a little problem.

When i try to do :

sudo ./update-3.0.0.4-fix.sh

I have the error :

sudo: unable to execute ./update-3.0.0.4-fix.sh: Permission denied

I'm in the tmp directory

If i try : sudo sh /tmp/update-3.0.0.4-fix.sh/update-3.0.0.4-fix.sh
I have the error : /tmp/update-3.0.0.4-fix.sh/update-3.0.0.4-fix.sh: line 86: `update-3.0.0.4': not a valid identifier
User avatar
shawniverson
Posts: 3650
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: 3.0.0.4 Update Problems and Guidance

Post by shawniverson »

Try running the script somewhere else besides /tmp :D
mintra
Posts: 4
Joined: 01 Apr 2014 12:47

Re: 3.0.0.4 Update Problems and Guidance

Post by mintra »

Hi

After 3.0.0.4 update issues I stopped using efa for my system as it all got too difficult, I was testing it on my domain and if I had been using it for clients this would have caused a lot of ear ache.

Anyway I find that one of my clients has from their own volition chosen to use efa so I want to have another go at solving the 3.0.0.4 update issue.

I have a snapshot of the system before the last aborted attempt so I feel I should revert to that first run the update, and then run the script. (That is the script which has a fix on it).

However when I try

wget -O ./update-3.0.0.4-fix.sh.zip http://forum.efa-project.org/download/file.php?id=22

wget: unable to resolve host address âforum.efa-project.orgâ

I can not ping forum.efa-project.org

Is the script listed at the top of the page still wrong?

Any help would be most welcome.
mintra
Posts: 4
Joined: 01 Apr 2014 12:47

Re: 3.0.0.4 Update Problems and Guidance

Post by mintra »

Sorry just being daft the DNS service does not seem to be running right on the efa server.
Post Reply