Upgrading
Upgrading IPCop after Cop+ has been installed.
There is always a risk that an IPCop update will overwrite something and break an addon. You do not need to uninstall Cop+ before upgrading IPCop, but the Cop+ install script should usually be re-run manually after installing IPCop updates.
If you've installed Cop+ 2.1 or later on IPCop 1.4.4 or later here's how to upgrade you IPCop to 1.4.5, 1.4.6 etc.
- Apply the IPCop upgrade like normal via the GUI. (Things may disappear from the GUI menus. If so do step 2)
- Logon to the console as root and
uninstall and reinstall the addons server:
cd /addons
./addoncfg -u
./addoncfg -i - Still at the console, rerun the Cop+ install script:
cd /var/ipcop/copplus
./copplussetup
IPCop 1.4.9 update - No
problems. Just do step 1.
IPCop 1.4.10, 11, 12 and 13 updates - Step 2 isn't necessary, but make sure you do step 3 above.
IPCop 1.4.14 and 1.4.15 updates - Beware! Cop+ 2.1 isn't compatible with IPCop 1.4.14 or later without manual mods, but Cop+ 2.2 is.
Uninstall Cop+ 2.1 from the addons GUI page.
Restart Squid by going to the IPCop web inteface, Services - Proxy page and hit the Save button.
Upgrade your IPCop to at least 1.4.15
Install Cop+ 2.2
Cop+ 2.2 is compatible with IPCop 1.4.15 thru 1.4.21
(Note: the Cop+ uninstall program does not delete the dansguardian
config files, so if you've customized what dansguardian is blocking,
your settings will be retained when Cop+ 2.2 is installed. You will,
however, need to reset the location you want to download blacklists
from.))
Cop+ 2.1 to 2.2 Upgrades
Uninstall Cop+ 2.1 from the addons GUI page.
Restart Squid by going to the IPCop web inteface, Services - Proxy page and hit the Save button.
Upgrade your IPCop to at least 1.4.15
Install Cop+ 2.2
Cop+ 2.0 to 2.1 Upgrades
(Only if you have the beta
or build 1 version of Cop+ 2.0 you
need to replace the uninstall program
first.) If you don't want to loose your Content filter logfiles
use WinSCP or some other method to copy them out of the
/var/log/dansguardian folder of IPCop. From IPCop's GUI. go to the Addons - Addons
page. Uninstall Cop+ 2.0.
From the same place, upload and install Copplus 2.1.
- Cop+ 2.1 will use your old Dansguardian config files. You will not
need to tweak DG all over again.
Cop+ version 1
I
do not recommend restoring
your system files from a Cop+ version 1 system to a Cop+ 2.0 system.
The dansguardian.conf file is different in DG version 2.8 from the one
in version DG 2.6. It may not work. - untested
If you've modified the dansguardian config files use WinSCP to
manually back them up from the /etc/dansguardian directory, or "edit"
the files with the GUI and copy and paste their contents into notepad
and save. Then do a clean install of IPCop, then addons, then Cop+.