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

Add #!/usr/bin/php to map-poller.php #92

Closed
wants to merge 1 commit into from

Conversation

pepperoni-pi
Copy link

Adding this line seems to be the fix for getting the editor to start working again after my upgrade to PHP8.1. Without this line, edits never get applied and don't display in the WebUI.

@pepperoni-pi
Copy link
Author

Explicitly calling php in the cron file also addresses the issue.

Before:
*/5 * * * * librenms /opt/librenms/html/plugins/Weathermap/map-poller.php >> /dev/null 2>&1

After:
*/5 * * * * librenms php /opt/librenms/html/plugins/Weathermap/map-poller.php >> /dev/null 2>&1

@BarbarossaTM
Copy link
Contributor

This has already been included as part of 4ce6ad1

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

Successfully merging this pull request may close these issues.

None yet

2 participants