Acuparse Update Guide¶
Detailed upgrade instructions for significant releases will be published in the docs/updates folder, when required and are listed below.
Updating from below version 3¶
If you are running a version less than 3, follow the Version 3 Update Guide.
Updating from below version 2.3¶
Local Install¶
- Pull the changes from Version Management.
cd /opt/acuparse
sudo git pull
- Navigate to your Acuparse website to complete the update.
Docker Install¶
The Acuparse CI system rebuilds the latest images weekly to ensure the images include upstream updates.
- If you installed using the installer and have the helper scripts available.
sudo acuparse update
- If the helpers are not installed. Pull the image from Docker with compose.
docker-compose pull
docker-compose -f /opt/acuparse/docker-compose.yml up -d
- To update just the Acuparse image
docker pull acuparse/acuparse
docker-compose -f /opt/acuparse/docker-compose.yml up -d
Update Docker Compose¶
- If you installed using the installer and have the helper scripts available.
sudo acuparse update
sudo acuparse update_compose
- If the helpers are not installed. Update Compose manually
curl -L "https://github.com/docker/compose/releases/download/{COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose -f /opt/acuparse/docker-compose.yml up -d
Update Debian Buster to Bullseye¶
Bare Installer¶
-
A script is available to update your OS from Debian Buster to Bullseye.
curl -O https://gitlab.com/acuparse/installer/-/raw/master/resources/bullseye && sudo bash bullseye | tee ~/bullseye.log
-
The installer will also attempt to update your Apache config to include support for TLS1.1 Check your
/etc/apache2/sites-available/acuparse-ssl.conf
and ensure you have the following afterSSLEngine on
- Run
systemctl restart apache2
if you need to make changes.
SSLProtocol all +TLSv1.1 -SSLv3 SSLCipherSuite ALL:@SECLEVEL=1
- Run
-
Docker Installer¶
-
Docker installer users can update the base OS by running
sed -i 's/buster/bullseye/g' /etc/apt/sources.list sed -i 's#deb http://security.debian.org/ bullseye/updates#deb https://security.debian.org/debian-security bullseye-security#g' /etc/apt/sources.list sed -i 's#deb-src http://security.debian.org/ bullseye/updates#deb-src https://security.debian.org/debian-security bullseye-security#g' /etc/apt/sources.list apt update apt dist-upgrade
-
Rasbian users should also update Docker Compose
pip3 install docker-compose