General Upgrade Instructions
Binary Overlay
(1) Download the updated binaries in Downloads area. Upgrade binaries link is next to ACP Image download link on the left most column
(2) Make back up of /opt/acclaim/bin/ and then empty the directory (delete all files in /opt/acclaim/bin/ directory)
(3) Copy new files to /opt/acclaim/bin/
(4) Make sure files are executable (644 is fine) and owned by user acclaim
v1.0 to v1.1
Your ACP v1.0 image can be upgraded to work with the new ACP v1.1 and ACP Pro v1.1 plugins. ACP v1.0 image will NOT work with v1.1 plugin without these changes.
VPN Routing Fix
-Follow the instructions here to fix your routing
-Additionally, we made some changes to the Openvpn configuration file. We provide the conf file here as a reference.
Mysql/mariadb Admin Access
DB admin (acclaim) needs to have localhost access to the DB – i.e. the admin needs to have client access from the host.
For this to happen, log in as root to the DB (same one temp password) using phpmyadmin (installed on image), then adjust acclaiim’s hostname from localhost to %. If you prefer a tighter control, apply it instead in such a way that acclaim user can access the ACP DB via a sql client running locally on the image,
v1.1 to v1.2
(1) Perform Binary Overlay as described above.
(2) We added an option to choose your own network for guest IP addresses. You must enter a value and save the settings after updating the Plugin
(3) There was a bug whereby the guest admin was not properly made a sudo user. Any previously created guests will need to be updated to make the guest admin a proper sudo user. To do this, (a) login to ACP Image as acclaim (b) sudo to the guest admin (sudo su – <guest admin username> (c) change directory to /home/<guest admin username>/vms/<machine id>/ (d) ssh into the host as user vagrant. Command is vagrant ssh. At this point, you are logged in as superadmin for guest. You may make the guest sudo user. One way is by editing /etc/sudoers.d/<guest admin username> and adding or editing the lines: ${user_name} ALL = NOPASSWD:ALL to <guest admin username> ALL = NOPASSWD:ALL, then restarting the sshd service or rebooting the guest – sorry that was a pain.
(4) setup cron job to update/ sync server session information by un-commenting the session line on the ACP Image: (a) %sudo crontab -e (b) uncomment the line: * * * * /opt/acclaim/bin/session.
v1.2 to v1.3
(1) Perform Binary Overlay as described above.
(2) Edit the file /etc/ufw/before.rules and find the line:
-A POSTROUTING -s 10.8.0.0/8 -o ens32 -j MASQUERADE
COMMIT
Change it to match the network interface id:
-A POSTROUTING -s 10.8.0.0/8 -o ens33 -j MASQUERADE
COMMIT
restart firewall:
sudo ufw disable
sudo ufw enable
(3) sudo apt install ipcalc
(4) edit crontab (using sudo crontab -e) to look as follows:
* * * * /opt/acclaim/bin/session >> /opt/acclaim/log/session.log 2>&1
0 * * * * /opt/acclaim/bin/centauri >> /opt/acclaim/log/centauri.log 2>&1
(5) fix /etc/hosts to add – make sure the dns mapping is correct and matches WordPress config:
127.0.0.1 localhost acp.acclaimconsulting.com
v1.3 to v1.4
Sorry but this is not possible as the underlying cluster architecture does not allow automated upgrade. Contact us for help migrating from non-clusters to cluster ACP.
v1.4 to v1.5
(1) Perform Binary Overlay as described above.