Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trobule Updating to newest version #5106

Open
2 tasks done
hopelesslylostadmin opened this issue Sep 12, 2024 · 5 comments
Open
2 tasks done

Trobule Updating to newest version #5106

hopelesslylostadmin opened this issue Sep 12, 2024 · 5 comments
Labels

Comments

@hopelesslylostadmin
Copy link

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ 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

  • Runtime: no idea
  • Database: sqlite
  • Filesystem used to store the database on: ext4
  • number of monitors: no idea how to check
@CommanderStorm
Copy link
Collaborator

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

@hopelesslylostadmin
Copy link
Author

hopelesslylostadmin commented Sep 12, 2024

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'
}

@CommanderStorm
Copy link
Collaborator

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?

@baokhuu-phoenix
Copy link

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?

Hi @CommanderStorm I have the same issue, because github was blocked on the server that I want to install uptimekuma, is there anyway that I can install without having access to github ?

@CommanderStorm
Copy link
Collaborator

Use the docker installation path instead. This way you don't need to git clone from github, but you need docker to be not blocked instead..

In the end, you need an allowance either way..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants