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

Fix bbb_exporter docker deployment #369

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Fix bbb_exporter docker deployment #369

merged 1 commit into from
Nov 30, 2023

Conversation

Chasethechicken
Copy link
Contributor

Mount /etc/bigbluebutton/bigbluebutton-release in bbb_exporter docker container.
This is needed for bbb_exporter to export the deployed BBB version.

Otherwise bbb_exporter:latest fails to start with:

bbb-exporter   | Traceback (most recent call last):
bbb-exporter   |   File "server.py", line 46, in <module>
bbb-exporter   |     REGISTRY.register(collector)
bbb-exporter   |   File "/usr/local/lib/python3.8/site-packages/prometheus_client/registry.py", line 24, in register
bbb-exporter   |     names = self._get_names(collector)
bbb-exporter   |   File "/usr/local/lib/python3.8/site-packages/prometheus_client/registry.py", line 64, in _get_names
bbb-exporter   |     for metric in desc_func():
bbb-exporter   |   File "/app/collector.py", line 111, in collect
bbb-exporter   |     with open("/etc/bigbluebutton/bigbluebutton-release", "r") as f:
bbb-exporter   | FileNotFoundError: [Errno 2] No such file or directory: '/etc/bigbluebutton/bigbluebutton-release'
bbb-exporter exited with code 1

This is needed for bbb_exporter to export the deployed BBB version.
@BrutalBirdie BrutalBirdie added the bug Something isn't working label Nov 27, 2023
@BrutalBirdie BrutalBirdie self-assigned this Nov 27, 2023
@BrutalBirdie BrutalBirdie requested a review from Davka November 27, 2023 11:07
@BrutalBirdie BrutalBirdie merged commit 40a7bed into ebbba-org:master Nov 30, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants