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

Maintenance Live Check #4

Open
toyinal1200 opened this issue Oct 7, 2024 · 2 comments
Open

Maintenance Live Check #4

toyinal1200 opened this issue Oct 7, 2024 · 2 comments

Comments

@toyinal1200
Copy link

toyinal1200 commented Oct 7, 2024

Hi,

How to reproduce
Ive enabled the Maintenance Live Check for 60 secs interval. But the Maintenance Live Check Message is not showing on the bottom right.
On the command line type php /var/www/moodle/admin/cli/maintenance.php --enablelater=10
to schedule maintenance mode in 10 minutes.
A Maintenance Schedule Counter, should show on the bottom right of any page, However it is not showing.

Im on Maintenance mode (live check) version 4.3-r2
Server: Moodle 4.3.7, PHP 8.0, NGINX, DEBIAN 12 (bookworm)
Theme: Boost or Classic
User System: HP Elitebook 720, Windows 11, Chrome, Firefox, MS Edge Web Browser

Thanks

@abias
Copy link
Member

abias commented Nov 4, 2024

Well, this is hard to debug from remote.
If you have enabled the plugin on /admin/settings.php?section=local_maintenance_livecheck and have waited long enough after enabling the maintenance mode in the CLI, then the maintenance warning should appear.

Please open your web inspector and have a look at the network requests.
You should see a request to /local/maintenance_livecheck/ajax.php (which is the request which is doing the live check) every 60 seconds based on your plugin configuration. Please check if this request is triggered and post its result here.

@toyinal1200
Copy link
Author

Thanks for your response
, but after enabling the live check and running cli maintenance.php with option —enablelater 10 for 10 mins delay. No local/maintenance_livecheck/ajax.php was shown in the network tab of chrome developer tools menu.

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

2 participants