radiumfu / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

Unable to Install Previous Version of ELSA (r861) via Install Script #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Create "/etc/elsa_vars.sh" with contents "VERSION=r861"
2.  The install script will initially load r861, then 865, then 861...

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Ubuntu 12.04 LTS

Please provide any additional information below.
I'm continuing to have issues with rsyslog parsing into ELSA with correct 
CLASS.  I wiped the elsa install and used "elsa_vars.sh" to load r861 since an 
update to r865 didn't fix my issue.  The install appears to install r861 as I 
expected, but then loads r865 and goes back and forth in what looks like an 
infinite loop (I built another VM and did a full install of ELSA via defaults 
while the initial box cycled between 861 & 865 for an hour).  

Thanks again for your assistance here...great tool!

Original issue reported on code.google.com by br...@hurrikane.net on 8 May 2013 at 2:13

GoogleCodeExporter commented 8 years ago
Not sure if it will solve all your problems, but I think you need to specify 
"VERSION=861".  Drop the 'r'.  
I was able to do this last night and got things working.  Also probably 
wouldn't hurt to remove /usr/local/syslog-ng/etc/syslog-ng.conf before hand.

Original comment by kebut...@gmail.com on 8 May 2013 at 5:28

GoogleCodeExporter commented 8 years ago
Worst case scenario:

# Put this in /etc/elsa_vars.sh:
USE_LOCAL_INSTALL=1

Download version 861 or 865 via svn:
$ svn -r 861 --non-interactive $SVN_TRUST_SERVER_CERT --force export 
"https://enterprise-log-search-and-archive.googlecode.com/svn/trunk/elsa"

$ cd enterprise-log-search-and-archive-read-only/elsa/contrib

#Then do the install from here.
$ sudo sh -c "sh install.sh node update && sh install.sh web update"

That should stop the install script from restarting with the downloaded install 
script after the svn sync.

Original comment by kebut...@gmail.com on 8 May 2013 at 5:36

GoogleCodeExporter commented 8 years ago
I've located another issue which was causing my syslog messages to have an 
extra ']' in them, thus hosing parsing after the fix last night.  Thanks much 
for your help!

As far as loading an old version goes, removing the 'r' from the version worked 
and I was able to successfully load 861 (as far as I can tell...not a svn pro). 
 What I did notice was that the ELSA UI says 865 in the "ELSA" "About - ELSA 
Version" section.  Not sure how it's pulling that info, so it may or may not 
have worked, but there was definitely no endless loop.

Original comment by br...@hurrikane.net on 8 May 2013 at 6:12

GoogleCodeExporter commented 8 years ago
I've fixed version to show correctly if not using HEAD.

Original comment by mchol...@gmail.com on 8 May 2013 at 6:49