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

Quick win/easy to implement: Update command like pihole "pihole -up" #1222

Closed
Majestic7979 opened this issue Jan 23, 2024 · 8 comments
Closed
Assignees
Labels
resolution:fixed Fixed type:feature New feature or request

Comments

@Majestic7979
Copy link

Maxim, thanks for your contiuned development and support of the PiKVM, I honestly can't put in words how much I appreciate you for creating and maitaining this.

You probably know about the PiHole, right? To update it, you just SSH into the device running it, the the command below and press enter:

pihole -up

And then a script is invoked somewhere, and it spits out the status on the screen. Simple and job done.

I noticed that doing pacman -Syu on the PiKVM lately has been throwing errors, and that it's necessary to do a curl command to start a script from your site.

Since the script seems to be hosted always on the same path, could you please give us a similar thing in the PiKVM?

Maybe the command could imitatee the PiHole and be

pikvm -update

By typing that and hitting enter, the PiKVM would curl and execute that script (provided the user has entered root and put the file system in rw mode, of course).

I don't imagine this would take more than 20 minutes of your time and would provide a much easier, better way of updating properly than using pacman and potentially breaking things.

Please give it a thought and if you can make it happen on your next update release that would be super cool!

Thanks again.

@mdevaev
Copy link
Member

mdevaev commented Jan 26, 2024

Hello! In fact, I've already thought about it, and I'm going to implement it in the coming days

@mdevaev mdevaev self-assigned this Jan 26, 2024
@mdevaev mdevaev added the type:feature New feature or request label Jan 26, 2024
@Majestic7979
Copy link
Author

Hi @mdevaev not rushing you, please take your time. Just wanna know if you managed to release this? It's because I updated the system using the curl command and was wondering if the update included this change? If so what command do you intend to be using for this feature? I'll try it on future updates :) Thanks!

@mdevaev
Copy link
Member

mdevaev commented Feb 6, 2024

I need to take a careful approach to the release of this so as not to break anything. The script should handle various situations and correctly perform rootfs remounting if necessary.

@Majestic7979
Copy link
Author

I need to take a careful approach to the release of this so as not to break anything. The script should handle various situations and correctly perform rootfs remounting if necessary.

That's cool Maxim, no rush, I was just wondering what is the actual command you will choose to use with this, will it be "pikvm -update" or something else?

@mdevaev
Copy link
Member

mdevaev commented Feb 7, 2024

Probably pikvm-update, one word.

@mdevaev
Copy link
Member

mdevaev commented Feb 17, 2024

It's done. Install the update with this:

curl https://files.pikvm.org/update-os.sh | bash

After that, you will receive the command pikvm-update which can be used for all future updates.

@Majestic7979
Copy link
Author

Done and works like a charm, thanks very much for always listening to your user's suggestions and needs. I hope you manage to fix that issue with black screens/disconnections in Chrome WebRTC for us soon 🙏

@mdevaev
Copy link
Member

mdevaev commented Feb 19, 2024

👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:fixed Fixed type:feature New feature or request
Development

No branches or pull requests

2 participants