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

Prometheus Install fails because version 3 doesn't include consoles and console_libraries #25

Open
arminreiter opened this issue Feb 24, 2025 · 0 comments

Comments

@arminreiter
Copy link

running ./monitoring-installer.sh --1

results in:

AvalancheGo monitoring installer
--------------------------------
STEP 1: Installing Prometheus

Checking environment...
Found amd64 architecture...
Prometheus install archive found: https://github.com/prometheus/prometheus/releases/download/v3.2.0/prometheus-3.2.0.linux-amd64.tar.gz
Attempting to download: https://github.com/prometheus/prometheus/releases/download/v3.2.0/prometheus-3.2.0.linux-amd64.tar.gz
prometheus.tar.gz                                       100%[===============================================================================================================================>] 108.87M  61.3MB/s    in 1.8s
2025-02-24 14:25:05 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/6838921/ea79bd2f-216d-454e-8d68-b9093ea1bb3a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250224%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250224T142503Z&X-Amz-Expires=300&X-Amz-Signature=cd3cff80bf18882a88a3685cb5477e68664ff61144a752f3c9d1e41a013da301&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dprometheus-3.2.0.linux-amd64.tar.gz&response-content-type=application%2Foctet-stream [114163078/114163078] -> "prometheus.tar.gz" [1]
prometheus-3.2.0.linux-amd64/prometheus.yml
prometheus-3.2.0.linux-amd64/LICENSE
prometheus-3.2.0.linux-amd64/NOTICE
prometheus-3.2.0.linux-amd64/prometheus
prometheus-3.2.0.linux-amd64/promtool
Installing...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apt-transport-https is already the newest version (2.7.14build2).
software-properties-common is already the newest version (0.99.49.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cp: cannot stat 'consoles': No such file or directory
cp: cannot stat 'console_libraries': No such file or directory

since version 3, its no longer needed to copy consoles and console_libraries.
Commenting/removing sudo cp -r {consoles,console_libraries} /etc/prometheus/ solves the issue.

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

No branches or pull requests

1 participant