# 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
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.
# 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:
Backup htdocs folder
Before you replace any files you should backup your htdocs folder
Unpack the webclient into the htdocs folder of your webserver.
Copy the old
config.jsonand replace the one in the htdocs folder
Copy the old
privacy-policy-content.htmland replace the one in the htdocs folder
If anything fails you should be able to restore your webclient restoring the files from the backuped folder.