Skip to content

How to upgrade Docker multiOTP Open Source

Hello everyone,

I'm posting on the forum to ask for an explanation, or a step-by-step guide, if anyone has successfully updated their Docker version.

It's currently at version 5.10.1.5, and an update is available as a zip file for 5.10.2.1.
I tried copying the files from the Docker image to /usr/local/bin/multiotp, but nothing updates.

I also tried copying the files to the /var/lib/docker/rootfs/overlayfs/bb315dd65a05af7a78c15b39df281342b696f292dd3f44cef904d3944b94837f/usr/local/bin/multiotp/ directory, but again, nothing happens. The web interface remains constantly on 5.10.1.5. As soon as Docker is restarted, everything disappears and it reverts to the base 5.10.1.5 image. What steps should I take, or should I wait for the Docker image to be updated to 5.10.2.1?
Thank you in advance for any information you can provide.

Eric

Comments

  • edited April 2
    Hello,
    As for any docker appliance installation, in order to upgrade an appliance provided as a Docker, you have to upgrade the Docker itself.
    1) Please be sure that you have bind the /etc/multiotp, /etc/freeradius, /var/log/multiotp and /var/log/freeradius to an external folder
    2) Stop the container and upgrade the full container from the docker side
    3) Restart the container with the upgraded app

    You cannot upgrade the data inside a docker, as the docker content is reset each time you reboot. You need to create a docker appliance with the last 5.10.2.1 source, or wait until a new docker appliance is available.

    Regards
Sign In or Register to comment.