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

Its not a feature but a update scripts #4405

Closed
1 task done
Blacksquadman1 opened this issue Jan 21, 2024 · 5 comments
Closed
1 task done

Its not a feature but a update scripts #4405

Blacksquadman1 opened this issue Jan 21, 2024 · 5 comments
Labels
area:deployment related to how uptime kuma can be deployed help question Further information is requested

Comments

@Blacksquadman1
Copy link

Blacksquadman1 commented Jan 21, 2024

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

Other

🔖 Feature description

version=curl -s https:/api.github.com/repos/louislam/uptime-kuma/tags | jq -r 'first(.[].name | select(test("^v?[0-9]")))'

cd /home/status/uptime-kuma #change this to your direction

echo "Updating Uptime Kuma"

echo "Download from Github"

git fetch --all
git checkout $version --force

echo "Installing update"

npm install --production
npm run download-dist

echo "Restart service"

pm2 restart uptime-kuma

echo "Update finished"

✔️ Solution

its not a feature but a Update script

❓ Alternatives

No response

📝 Additional Context

No response

@Blacksquadman1 Blacksquadman1 added the feature-request Request for new features to be added label Jan 21, 2024
@CommanderStorm CommanderStorm added question Further information is requested help and removed feature-request Request for new features to be added labels Jan 21, 2024
@CommanderStorm
Copy link
Collaborator

I don't think that we are currently capable of maintianing an additional way of doing things.
We have dropped the installation script for this exact reson.

Here is our updating docs: https://github.com/louislam/uptime-kuma/wiki/%F0%9F%86%99-How-to-Update
Is there something we are missing/unclear about?

@CommanderStorm CommanderStorm added the area:deployment related to how uptime kuma can be deployed label Jan 21, 2024
@jult

This comment was marked as spam.

@CommanderStorm

This comment was marked as resolved.

@louislam
Copy link
Owner

Thanks, did not know the api.github.com is not required an api key.

Maybe we can implement a smarter npm script (npm run self-update) to self update in the future.

But considering it is not actually a help, I close it now.

@CommanderStorm
Copy link
Collaborator

did not know the api.github.com is not required an api key

It does not, but if you don't provide an api key, the limtis are severely lower (60 requests/h vs 5000 requests/h)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:deployment related to how uptime kuma can be deployed help question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants