Updates
PunchPlus Web checks for new versions on the Service Info-Rapide site. Install one from the banner or from Settings > Updates; the previous version is saved and can be put back.
Service Info-Rapide publishes new versions of PunchPlus Web on its site. PunchPlus Web checks for them on its own and shows a banner when one is available. Installing takes a few seconds: the current version is saved first, so you can always go back to it.
An update changes only the program. Your data (employees, punches, days), the password, the store keys and the settings are never part of an update.
The update banner
When a new version is available, a banner appears at the top of every page: A new version of PunchPlus Web is available, with the version number, its date and what it changes.
| Button | What it does |
|---|---|
| Update now | Installs the new version, after a confirmation. |
| Later | Hides the banner for this version. The update stays available in Settings > Updates. The banner comes back for the next version. |
A page left open learns about a new version too: it looks again every 10 minutes.
How often PunchPlus Web checks
In Settings, panel Updates, choose Check for updates: Each time PunchPlus Web starts, Daily, Weekly (default), Monthly or Never, then click Save.
Online (on the web server), the cron job of the web server does the check; there, Each time PunchPlus Web starts means once a day. Without the cron job, use Check now.
The Version panel in Settings
At the bottom of Settings, the Version panel shows the version installed.
| Item | What it does |
|---|---|
| Last check | The date of the last check, with up to date or the error if the site could not be reached. When a version is available, a box gives its number, its date and what it changes. |
| Check now | Checks right away. The message says PunchPlus Web is up to date., that a version is available, or The check failed with the reason. |
| Install version n | Appears when a version is available: installs it, after a confirmation. |
| Message line | The result of the last install or rollback, for example Updated 1.3.2 → 1.4.0. |
| Go back to a previous version | The versions saved before each update or rollback: Version, Saved (date), Reason, and a Restore button. |
How to install an update
- Click Update now in the banner, or in Settings > Updates click Install version n.
- Confirm. PunchPlus Web restarts; anyone using it on another computer must reload the page.
- The page PunchPlus Web is restarting… waits for the new version, then opens Settings > Updates by itself.
What PunchPlus Web does when it installs:
- it downloads the new version from the Service Info-Rapide site and checks that the file is complete and is the published one;
- it saves the current program and a copy of the database in the
updatesfolder beside the database; - it replaces the program files and restarts.
If anything goes wrong before the files are replaced, the message Update failed, nothing was changed gives the reason and the current version keeps running.
How to go back to a previous version
- In the menu, click Settings, then go to the Version panel.
- Under Go back to a previous version, find the version you want.
- Click Restore, then confirm.
PunchPlus Web restarts with that version. The version you leave is saved first, so you can install it again the same way. Going back changes only the program: the punches and days stay as they are.
PunchPlus Web keeps the 6 most recent saved versions and the 2 most recent database copies made before an update.
If PunchPlus Web no longer opens after an update
The end of the Version panel says what to do on your installation:
- On a store or office computer: double-click
Roll back PunchPlus Web.batin the PunchPlus Web folder, then start PunchPlus Web again. - Online (web server): in cPanel, open Terminal, enter the application (the command shown at the top of Setup Python App), run
python -m punchweb.update --rollback, then click Restart in Setup Python App.
If the restart takes long, the restarting page says so: close the PunchPlus Web window and start it again with Start PunchPlus Web, or, online, click Restart in cPanel > Setup Python App, then reload the page.
Installing an update file you received
Online, when Service Info-Rapide sends you an update file (for example PunchPlusWeb-update-1.36.1.zip): upload it with cPanel > File Manager to your home folder, open Terminal, enter the application (the command shown at the top of Setup Python App), run python -m punchweb.update --install-file ~/PunchPlusWeb-update-1.36.1.zip, then click Restart in Setup Python App. The current version and a copy of the database are saved first, as for any update.