darold/squidanalyzer

How to upgrade Squidanalyzer 6.5 to 6.6

chek69 opened this issue · 5 comments

Hello everybody,

I want to upgrade squidanalyzer 6.5 to 6.6 without losing my data .
Squidanalyzer is installed on Centos.

Thanks :)

Just proceed as usual:

wget https://github.com/darold/squidanalyzer/archive/v6.6.tar.gz  -O squidanalyzer-6.6.tar.gz
tar xzf squidanalyzer-6.6.tar.gz
cd squidanalyzer-6.6/
perl Makefile.PL
make
sudo make install

there is no incompatibilities between these version.

thank's for your reply, and i'm not going to lose my logs, reports, configuration after installing the new version ?

Normaly not, the new configuration file will be installed into /etc/squidanalyzer/squidanalyzer.conf.sample have a look into it to see what have changed, but your /etc/squidanalyzer/squidanalyzer.conf file will not change and so on squid-analyzer behavior. This is just a maintenance release to fix bug.

Note that this doesn't prevent you to make a backup of the data directory before upgrading for security. I'm not bug-proof, so a backup is always a good practice before upgrading, not just only with SquidAnalyzer :-)

I'm going to make makeup before upgrading, and indeed it's a very good and usefull practice :)
Thank you very much.

I can confirm that the upgrade is as simple as just running the commands that @darold posted.