Caution. This article is only applicable to the Docker-based installation
The following guide will help you upgrade your version of Lucy 4.2 installed in the Docker container to the new version 4.3.
If you do not know what type of installation is used in your system, please contact our technical support service by e-mail firstname.lastname@example.org. For other types of installation, please follow the instructions in this article.
Caution: All campaigns must be stopped before the update.
Note: It is recommended to transfer large archives to the host system and later restore it through the terminal rather then web-console:
docker cp lucy:/opt/phishing/files/backups/<id>/backup.tar.gz /srv/backup.tar.gz
<id> is an identification number of the backup (can be found in the link to the file).
or use the command below to automatically find and copy the last created backup (simply copy and paste the command to the terminal):
docker cp lucy:/opt/phishing/files/backups/`ls -tr /opt/phishing/files/backups | tail -1`/backup.tar.gz /srv/backup.tar.gz
In order to create an image based on the current container with Lucy 4.2 please run the following command terminal:
docker commit lucy lucysecurity/lucy:4.2
Note. It may take from several minutes to several hours to execute this command, depending on the size of the container. It is extremely important to have at least 50% free disk space. Please be patient, do not interrupt the process.
After the process is complete, check for saved images by running the command (it must be displayed with 4.2 TAG):
If the image was successfully saved, you should remove the current container to prepare for the installation of the new version of Lucy. To do this, please follow the steps:
docker stop lucy docker ps -a docker container rm <OLD container ID>
<OLD container ID> is an identification number of the container with Lucy 4.2.
Warning: DO NOT REMOVE the old container without making sure that the image was successfully created. If you are not sure about your actions, please contact our technical support.