This tutorial is a follow-up of the tutorial Setup of Uptime Kuma Standalone on Ubuntu with a Reverse Proxy and describes how to update your Uptime Kuma instance.
The time required for this tutorial is about 5 minutes.
You need a running Uptime Kuma instance that does not use the Docker setup.
Also, I recommend that you backup your Uptime Kuma instance before updating it. If you do not know how to do that, you can follow the tutorial Backup and Restore of your Uptime Kuma Instance.
This tutorial will update your Uptime Kuma instance to version 1.22.1 BUT you need to check whether that is the Latest Uptime Kuma Release latest version and replace the version number in command #5 below with the latest version number.
sudo systemctl stop uptime-kumato stop the Uptime Kuma instance.
git fetch --all && git checkout 1.22.1 --force && npm install --production && npm run download-distto pull the latest changes from the Uptime Kuma repository - !! DO NOT FORGET TO REPLACE THE VERSION NUMBER WITH THE LATEST VERSION NUMBER !!
sudo systemctl start uptime-kuma.
exitto leave the SSH session.
Now you know how to update your Uptime Kuma instance.
Thank you for reading this tutorial.
Copyright (c) 2023 Konstantin Protzen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
By making a contribution to this project, I certify that:
The contribution was created in whole or in part by me and I have the right to submit it under the license indicated in the file; or
The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same license (unless I am permitted to submit under a different license), as indicated in the file; or
The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the license(s) involved.