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
[Feat]: enable apt repository for raspberrypi os / raspbian #13428
Comments
This is on our list to properly support long-term, but we currently have no ETA for when that may actually happen (at minimum it won’t be before we finish the migration of our package hosting from Package Cloud to self-hosted infrastructure, but we also have no concrete ETA for when that will be done either). Short-term, there are two options:
|
The biggest issue with the kickstart script is that it's not easily automate-able. Ideally I want to be able to plugin to my ansible playbook something like - name: add netdata signing key
apt_key: url=https://netdata.cloud/...
- name: add netdata repository
apt_repository:
repo: deb https://netdata.cloud/....
- name: install netdata
apt: name=netdata And then push out a config file if necessary and be done. And then updates are managed as normal using I may try to install the vanilla debian package and see how it goes. It suffers from some of the same problems being that there's no repo so I can't apt install and need to manually update the deb as necessary, but I can at least point ansible to a .deb so that it's more automated. Anyway, thanks for responding, good to know that this is at least on your radar even if there's no ETA yet. If I end up trying out the vanilla deb package I'll update here to let you know how it goes. Cheers |
FWIW, on platforms we publish packages for, if you turn off auto-updates you can, in fact, just use the system package manager after installing with the kickstart script. The script itself is also intended to be safe to run against an existing install (and mostly idempotent as well for that matter), but there’s currently no good way to detect whether it changed anything or not.
Actually, provided the package works, you should also be able to use the same repository configuration packages we publish for the Debian repositories (those are what I linked in my previous answer). Once you have the appropriate one of those bootstrapped on the target system by downloading it and installing the package directly, it should be possible to just use APT to directly manage installing and updating Netdata, as well as updating the repository configuration package as it changes. Internally, this is actually how the kickstart script handles installing on platforms that we officially publish packages for. Alternatively, you could also just use the repo and key URLs directly.
If you can confirm that the regular Debian package actually does work, we can probably add a special case to the kickstart script so that it treats Raspbian and Raspberry Pi OS as if they were Debian so it automatically uses the Debian packages when installing on these systems instead of falling back to the static builds. |
#14200 is relevant here. Essentially, our plan for the time being is to try and get the kickstart script to recognize Raspbian and Raspberry Pi OS as Debian systems so that they use the existing Debian repository infrastructure. |
This issue has been mentioned on the Netdata Community Forums. There might be relevant details there: |
A quick update here regarding the information I posted previously for attempting to use the existing packages on these platforms: We’ve recently merged support for overriding the distribution auto-detection code in the kickstart script, so it should be possible now to use the kickstart script to install the existing native packages. The general approach for this consists of adding If you actually get this working correctly, please post back here to let us know so we can add an override in the kickstart script to handle this automatically. |
Problem
No response
Description
Following the guide here (https://learn.netdata.cloud/guides/monitor/pi-hole-raspberry-pi) to enable netdata on a raspberry pi it mentions that it will build netdata from source. Since the project already provides compiled binaries for aarch64 and arm7l architectures, and you maintain a debian apt repository, it would be nice if you could create/enable a repository for raspberry pi OS so that we can manage netdata installations using our normal package manager (noting that the official recommendation is to not use netdata packaged by upstream debian)
I'm selecting
blocker
for importance because I really want to use netdata agent, but not having a way to install it using my package manager is a show stopper for me. I understand of course if this is not a priority for the project as a whole.Importance
blocker
Value proposition
Proposed implementation
You already provide debian deb packages and a debian repository, raspberry pi os is based on debian 11 bullseye (or the legacy edition is based on debian 10 buster).
I'm not exactly sure what is required to create a new repository, but I'm hoping that you can extend what's already in place in order to better support raspberry pi os. I'm also happy to help test/debug if it's necessary.
The text was updated successfully, but these errors were encountered: