Open hopelesslylostadmin opened 1 week ago
We have documented how to update here: https://github.com/louislam/uptime-kuma/wiki/%F0%9F%86%99-How-to-Update
Should be as simple as pulling a new image and running it or as simple as running a git fetch ..
and related commands.
Your issue seems to be npm related, more specifically nvm related.
You will need to install make
on your server. Which package this is a part of is somewhat dependent on your os, but on ubuntu this would be
sudo apt-get install build-essential
Thank you for your comment, I should have mentioned that I am following the steps under Non-Docker in the link you posted and that's what is giving me those errors.
However, the installation of make has allowed the npm install --production step to go through,'
However I'm getting errors when trying to run npm run download-dist.
This is the output i'm seeing:
> uptime-kuma@1.23.13 download-dist
> node extra/download-dist.js
Downloading dist
https://github.com/louislam/uptime-kuma/releases/download/1.23.13/dist.tar.gz
https://objects.githubusercontent.com/github-production-release-asset-2e65be/382496361/05a726c8-fc24-423e-9139-f62e6d772c8b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240912%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240912T155821Z&X-Amz-Expires=300&X-Amz-Signature=ee550e5bff66bcfe062d1455b093a7801688202fc5733fdb544362839ebd3afd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=382496361&response-content-disposition=attachment%3B%20filename%3Ddist.tar.gz&response-content-type=application%2Foctet-stream
node:events:491
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on ClientRequest instance at:
at TLSSocket.socketErrorListener (node:_http_client:481:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -104,
code: 'ECONNRESET',
syscall: 'read'
}
Econreset usually means you have bad/non existent internet connectivity to the asset Server of GitHub. Could you please use curl to make sure that no firewall is blocking your connectivity?
β οΈ Please verify that this question has NOT been raised before.
π‘οΈ Security Policy
π Describe your problem
Hi! I've recently inherited an UpdateKuma server that hasn't been updated in quite some time. I'm trying to update to the newest version and I've been having nothing but issues. I know such a massive edition jump is probably not going to be so clean, but I seem to be stuck.
I've tried to manually update the dependencies that kept giving me deprecation errors, but i'm still getting the same errors. I'm still pretty inexperienced with Linux so there is a very good chance I'm missing something.
I also do not know how to check Runtime. PLease let me know if there's any other information I should provide for this, thank you so much!
π Error Message(s) or Log
2024-09-12T13_28_20_846Z-debug-0.log
π» Uptime-Kuma Version
1.17.1
π» Operating System and Arch
Ubuntu 22.04.4 LTS
π Browser
Firefox 130
π₯οΈ Deployment Environment