# Update Psono Webclient
Update guide of the Psono Webclient
# Update with Docker
Update the docker image
docker pull psono/psono-client:latest
Stop old psono-client
docker stop psono-client
Start new psono-client
docker run --name psono-client-new \ -v /opt/docker/psono-client/config.json:/usr/share/nginx/html/config.json \ -v /opt/docker/psono-client/privacy-policy-content.html:/usr/share/nginx/html/privacy-policy-content.html \ -d --restart=unless-stopped -p 10101:80 psono/psono-client:latest
TIP
Leave out the line with the privacy policy if you have no own
Cleanup
If everything works you can cleanup your containers with the following commands:
docker rm psono-client docker rename psono-client-new psono-client
If anything fails you should be able to start the old docker container again.
TIP
If you experience issues that the portal still reports the old version, check out our FAQs here about how to solve that.
# Update without Docker
The webclient is a pure html / js website, that can be hosted with any webserver and has zero dependencies.
Download the webclient artifact
Visit the following url and download the webclient:
get.psono.com/psono/psono-client/latest/webclient.zip (opens new window)
Backup htdocs folder
Before you replace any files you should backup your htdocs folder
Install webclient
Unpack the webclient into the htdocs folder of your webserver.
Restore
config.json
Copy the old
config.json
and replace the one in the htdocs folder(optional) Restore
privacy-policy-content.html
Copy the old
privacy-policy-content.html
and replace the one in the htdocs folderAdjust permissions
chmod -R 644 htdocs
If anything fails you should be able to restore your webclient restoring the files from the backuped folder.
TIP
If you experience issues that the portal still reports the old version, check out our FAQs here about how to solve that.