# Update Psono Admin Client
Update guide of the Psono Admin Client
# Update with Docker
Update the docker image
docker pull psono/psono-admin-client:latest
Stop old psono-admin-client
docker stop psono-admin-client
Start new psono-admin-client
docker run --name psono-admin-client-new \ -v /opt/docker/psono-client/config.json:/usr/share/nginx/html/portal/config.json \ -d --restart=unless-stopped -p 10102:80 psono/psono-admin-client:latest
If everything works you can cleanup your containers with the following commands:
docker rm psono-admin-client docker rename psono-admin-client-new psono-admin-client
If anything fails you should be able to start the old docker container again.
# Update without Docker
The admin client 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/portal folder
Before you replace any files you should backup your htdocs/portal folder
Unpack the webclient into the htdocs/portal folder of your webserver.
Copy the old
config.jsonand replace the one in the htdocs/portal folder
chmod -R 644 htdocs/portal
If anything fails you should be able to restore your admin webclient restoring the files from the backuped folder.