# 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
Cleanup
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:
get.psono.com/psono/psono-admin-client/latest/adminclient.zip (opens new window)
Backup htdocs/portal folder
Before you replace any files you should backup your htdocs/portal folder
Install webclient
Unpack the webclient into the htdocs/portal folder of your webserver.
Restore
config.json
Copy the old
config.json
and replace the one in the htdocs/portal folderAdjust permissions
chmod -R 644 htdocs/portal
If anything fails you should be able to restore your admin portal restoring the files from the backuped folder.