Upgrading from 3.0.2.5 to 3.0.2.6 fails inexplicably

Report bugs and workarounds
Post Reply
kingramon0
Posts: 27
Joined: 28 Jun 2014 19:17

Upgrading from 3.0.2.5 to 3.0.2.6 fails inexplicably

Post by kingramon0 »

Here is the complete log when I run the update:

Code: Select all

[EFA] Good you are root
[EFA] Starting update to EFA-3.0.2.6
[EFA] Good you are root
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * EFA: dl7.efa-project.org
 * base: mirror.umd.edu
 * epel: mirror.math.princeton.edu
 * extras: mirrors.tripadvisor.com
 * mariadb: yum.mariadb.org
 * updates: ftp.osuosl.org
No Packages marked for Update
--2018-01-27 02:08:47--  https://dl.efa-project.org/update/EFA-Update-3.0.2.5-3.0.2.6.tar.gz
Resolving dl.efa-project.org... 83.149.109.94, 2001:1af8:3100:a00f::220
Connecting to dl.efa-project.org|83.149.109.94|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45761 (45K) [application/octet-stream]
Saving to: “/tmp/EFA-Staging/EFA-Update-3.0.2.5-3.0.2.6.tar.gz”

     0K .......... .......... .......... .......... ....      100%  195K=0.2s

2018-01-27 02:08:48 (195 KB/s) - “/tmp/EFA-Staging/EFA-Update-3.0.2.5-3.0.2.6.tar.gz” saved [45761/45761]

--2018-01-27 02:08:48--  https://dl.efa-project.org/update/EFA-Update-3.0.2.5-3.0.2.6.tar.gz.md5
Resolving dl.efa-project.org... 83.149.109.94, 2001:1af8:3100:a00f::220
Connecting to dl.efa-project.org|83.149.109.94|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68 [application/octet-stream]
Saving to: “/tmp/EFA-Staging/EFA-Update-3.0.2.5-3.0.2.6.tar.gz.md5”

     0K                                                       100% 3.24M=0s

2018-01-27 02:08:48 (3.24 MB/s) - “/tmp/EFA-Staging/EFA-Update-3.0.2.5-3.0.2.6.tar.gz.md5” saved [68/68]

EFA-Version-Upgrade
Files/
Scripts/
Scripts/EFA-Configure
Scripts/EFA-SA-Update
Scripts/EFA-Backup
Scripts/EFA-Renew-Certs
Scripts/EFA-MS-Update
Scripts/DMARC-Schema.sql
Scripts/EFA-Monitor-cron
Scripts/lib-EFA-Configure/
Scripts/lib-EFA-Configure/func_recovermariadb
Scripts/lib-EFA-Configure/func_mailwatchsettings
Scripts/lib-EFA-Configure/func_apachesettings
Scripts/lib-EFA-Configure/func_virussettings
Scripts/lib-EFA-Configure/func_tunables_children
Scripts/lib-EFA-Configure/func_askhighspammailwatch
Scripts/lib-EFA-Configure/func_askrecursion
Scripts/lib-EFA-Configure/func_askmaxsizemailwatch
Scripts/lib-EFA-Configure/func_resetadmin
Scripts/lib-EFA-Configure/libraries-filelist.txt
Scripts/lib-EFA-Configure/func_asknonspam
Scripts/lib-EFA-Configure/func_trustednetworks
Scripts/lib-EFA-Configure/func_askmalwarepatrol
Scripts/lib-EFA-Configure/func_peruser
Scripts/lib-EFA-Configure/func_ipsettings
Scripts/lib-EFA-Configure/func_autoupdates
Scripts/lib-EFA-Configure/func_spamsettings
Scripts/lib-EFA-Configure/func_sethostname
Scripts/lib-EFA-Configure/func_askcleandeliver
Scripts/lib-EFA-Configure/func_askdccservers
Scripts/lib-EFA-Configure/func_greylisting
Scripts/lib-EFA-Configure/func_retention
Scripts/lib-EFA-Configure/func_getipsettings
Scripts/lib-EFA-Configure/func_askmaxsize
Scripts/lib-EFA-Configure/func_tunables_procdb
Scripts/lib-EFA-Configure/func_mailsettings
Scripts/lib-EFA-Configure/func_dkim_dmarc
Scripts/lib-EFA-Configure/func_letsencrypt
Scripts/lib-EFA-Configure/func_tunables
Scripts/lib-EFA-Configure/func_setipsettings
Scripts/lib-EFA-Configure/func_maintenance
Scripts/lib-EFA-Configure/func_asksigrules
Scripts/lib-EFA-Configure/func_systemrestore
Scripts/lib-EFA-Configure/func_askspam
Scripts/lib-EFA-Configure/func_ipv6settings
Scripts/EFA-Daily-DMARC
Scripts/EFA-Weekly-DMARC
Starting update to eFa 3.0.2.6
Update to Version 3.0.2.6 FAILED.  Updates cancelled.
Please visit https://www.efa-project.org for more information.
sendmail: fatal: root(0): No recipient addresses found in message header
Update to Version 3.0.2.6 FAILED. Updates cancelled.
Please visit https://www.efa-project.org for more information.
/var/EFA/update/EFA-update-script died with exit status 1
As you can see, it starts the update and immediately fails with no indication as to why.

Code: Select all

Starting update to eFa 3.0.2.6
Update to Version 3.0.2.6 FAILED.  Updates cancelled.
There isn't anything helpful in syslog either.

Any ideas?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrading from 3.0.2.5 to 3.0.2.6 fails inexplicably

Post by shawniverson »

What happens when you run this?

Code: Select all

/usr/local/sbin/EFA-Backup -backup
kingramon0
Posts: 27
Joined: 28 Jun 2014 19:17

Re: Upgrading from 3.0.2.5 to 3.0.2.6 fails inexplicably

Post by kingramon0 »

It starts taking the backup. But during the update process I set the NOBACKUP=1 variable to skip that and just rely on my VM snapshot.

I can try again without the variable set tonight.
kingramon0
Posts: 27
Joined: 28 Jun 2014 19:17

Re: Upgrading from 3.0.2.5 to 3.0.2.6 fails inexplicably

Post by kingramon0 »

So when I didn't set the NOBACKUP variable to anything, the update completed successfully. Maybe that is buggy, or maybe I should have set it to some value other than 1?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrading from 3.0.2.5 to 3.0.2.6 fails inexplicably

Post by shawniverson »

Yep, a bug, it should be fixed now.
Post Reply