Run the platform · Keep it running
Updating
Install a new version from the admin panel, or by hand.
Make a backup before every update.
#From the admin panel
-
Open Admin → System and press Upload update. Choose the zip file of the new version.
- Upload update. The line above it shows the version and build that are installed now.
The page checks the package and shows its version and build number, how many files it holds and which database updates it brings. Only an original package with the publisher's signature is accepted. A package that was changed, or one that is not newer than the installed build, is refused.
Press Install update and enter your password, and the code of two-step verification when it is on.
The application replaces its files, applies the database updates and restarts. This takes about a minute. When the page says the new build is running, press Reload the page.
Your .env file, the apps/api/storage folder, the installed packages and files you added yourself are never touched. The files of the previous build stay in the .update/previous folder until the next update. If a database update fails, or the new build cannot start, the previous build is put back by itself and the System page tells you why.
#What happens at the restart
| Installation | What happens |
|---|---|
| cPanel | The application stops and your host starts it again with the next visit. If an update needs new packages and they cannot be installed from the panel, the page says so: press Run NPM Install, then Restart in Setup Node.js App. |
| VPS with pm2 | The application stops and pm2 starts it again. New packages are installed by the application. |
| Started another way | The page asks you to restart the application yourself. If your process manager restarts a stopped application (systemd with Restart=always), set UPDATE_RESTART=exit and the restart happens by itself. |
| Docker | The page offers no upload, because the files inside an image are replaced when the image is built. Use the steps below. |
If you changed the source code (see Changing the interface), your files no longer match the signed package of the next version: update by hand and apply your changes again.
#By hand
Upload the new version over the old files. Keep your
.envfile and theapps/api/storagefolder.Run
npm install --omit=dev. On cPanel press Run NPM Install.Restart the application. cPanel: Restart. VPS:
pm2 restart convoq.Open Admin → System and press Update the database if updates are waiting.
With Docker, replace the files and run docker compose up -d --build. Database updates are applied automatically at start.