Update version is not correct when attempting to perform an upgrade
2 years ago
Originally Published: 2016-04-22
Article Number
000067520
Applies To
RSA Product Set: Security Analytics
RSA Product/Service Type: SA Security Analytics Server
RSA Version/Condition: 10.5.x, 10.6.x
Platform: CentOS
O/S Version: 6
 
Issue
When attempting to upgrade a server from 10.6.2 to 10.6.4
uploaded the 10.6.4.0 upgrade files to the server but 10.6.4.0 was not in the "Select version" list on the Hosts screen
10.6.4.2 was in the Select version list that was not correct as we wanted to install 10.6.4
Resolution
 
In order to resolve this issue we want to perform a few steps.
Using the root user:

1.   Cleanup the directory containing the updates.  > cd /var/netwitness/srv/www/rsa/updates/
remove everything from this directory.  
# pwd
 /var/netwitness/srv/www/rsa/updates
# rm -rf *
This will remove everything under the updates folder.


2. We want to clean up the repo in mongo
Using the root user:

#mongo puppet
> Show collections
system.indexes  564.00B (uncompressed), 32.00KB (compressed)
nodes   3.09KB (uncompressed),  72.00KB (compressed)
repos   2.73KB (uncompressed),  32.00KB (compressed)
host_manifest   277.00B (uncompressed), 32.00KB (compressed)
appliance_update        0.00B (uncompressed),   32.00KB (compressed)
>db.appliance_update.drop()
>db.repos.drop()
>db.host_manifest.drop()

3. Once the above two steps have been completed, we can not load the zip files into the system.
Manual update page

Once we have the z zip files loaded we can move them to the Repo.
You will now notice the the update folder has the version you just uploaded.
A refresh of the system UI browser will reveal that you are now able to upgrade to the version specified in the update.