Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

METRICS doesn't work #282

Closed
ghost opened this issue May 3, 2024 · 11 comments · Fixed by #310
Closed

METRICS doesn't work #282

ghost opened this issue May 3, 2024 · 11 comments · Fixed by #310
Assignees

Comments

@ghost
Copy link

ghost commented May 3, 2024

As I installed the new instance, acesttoi.fr, metrics doesn't work. I did no changes to the main branch.

Browser shows "nginx 404"….

@missytake
Copy link
Contributor

Hm, what does your /etc/cron.d/chatmail-metrics file say? It's supposed to create /var/www/html/metrics, which apparently doesn't exist.

@ghost
Copy link
Author

ghost commented May 6, 2024 via email

@link2xt
Copy link
Contributor

link2xt commented May 7, 2024

Or we should switch to using systemd timer as we depend on systemd anyway.

@ghost
Copy link
Author

ghost commented May 7, 2024 via email

@ghost
Copy link
Author

ghost commented May 19, 2024 via email

@missytake
Copy link
Contributor

Or we should switch to using systemd timer as we depend on systemd anyway.

I don't have a problem with it, but it makes it slightly harder for the openBSD folks.

@missytake
Copy link
Contributor

missytake commented May 19, 2024

There are more cronjobs, which also would need a systemd timer (when they fail it's less obvious, but even more problematic).

Or we just install cron, which would be less work.

I'm fine with both :)

@hagenest
Copy link
Contributor

currently deliberating if my love for systemd outweighs my love for easy solutions

@hpk42
Copy link
Contributor

hpk42 commented May 22, 2024 via email

@hagenest
Copy link
Contributor

hagenest commented May 26, 2024

only reason afaik is that cron is deprecated on Debian 12 and it may not be installed on all systems by default. Using systemd would mean we need one fewer dependency.

But on most of our users systems, cron was installed anyways. It may only happen on Raspbian?

@ghost
Copy link
Author

ghost commented May 26, 2024 via email

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

Successfully merging a pull request may close this issue.

4 participants