Updating configuration and browsers
Updating the browser list is the most frequent maintenance task. Two paths: the fast one (restarts WebSummoner — fine for personal setups) and the zero-downtime one (recommended for production clusters).
The short way — cm update
Section titled “The short way — cm update”./cm websummoner updateThis downloads the latest WebSummoner release, pulls browser images,
regenerates browsers.json and restarts WebSummoner. Useful flags:
./cm websummoner update --vnc # VNC-capable images./cm websummoner update --last-versions 5 # keep N last versions (default 2)To pull images and regenerate the config without restarting:
./cm websummoner configure --vnc --last-versions 5The zero-downtime way — hot reload
Section titled “The zero-downtime way — hot reload”-
Edit
browsers.json(add/remove versions) and pull any new images, e.g.:Terminal window docker pull websummoner/chrome:152.0The
jqone-liner in Browsers configuration pulls everything the file mentions. -
Reload without restarting the process:
Terminal window kill -HUP <pid> # when running as a binarydocker kill -s HUP websummoner # when running as a container(Use only one of the two commands.)
-
Verify the reload took effect:
Terminal window curl -s http://example.com:4444/ping# {"uptime":"2m46s","lastReloadTime":"...","numRequests":42}
/ping returns 200 OK when healthy, along with uptime, the last reload
time and the total number of processed session requests.