-
Notifications
You must be signed in to change notification settings - Fork 45
Maintenance mode option added in Caddyfile, used by creating a maintenance.on file in the maintenance_mode/ directory #1799
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
Conversation
…nance.on file in the maintenance_mode/ directory
|
@Didayolo We can use this to deploy the next update instead of shutting down Caddy. At least like this, people can see that the site is on maintenance instead of just having a generic "Bad Gateway" message |
|
@ObadaS We need to document this in the Wiki |
|
Yes, I will update the wiki page for Administrators to explain this feature and show how to use it. |
|
J'ai essayé d'ajouter sur
Cependant ça ne fonctionne pas, je pense que quelque chose m'échappe dans la gestion des chemins par le Caddyfile. Une idée ? |
|
@Didayolo I have fixed the problem. |
* show server error instead of fronend parsing error * show back button in edit only. Show help in create only * do not allow special chars in usernames * Enable/Disable competition forum (codalab#1774) * forum enable/disable functionality added * new forum_enabled field added to competition dump data * Email in lowercase (codalab#1769) * on signup email stored in lower case letters. Whitelist emails conveted to lowercased * whitespace removed * convert email to lowercased during login * latest competition fields added to dump (codalab#1786) Co-authored-by: Adrien Pavão <adrien.pavao@gmail.com> * User quota is updated to GB from Bytes (codalab#1749) * user assigned quota will now be in GB instead of bytes * unused counter removed * File Sizes cleanup (codalab#1752) * sizes Kib to Bytes, size formatting functions cleanup * space between size and unit, removed factor multiplication from size calcualtion * file_size to bytes in SubmissionDetail * added missing migration * migration conflict resolved * reseting file sizes task removed * Resource interface: quota unit is now GB instead of B * Create CODE_OF_CONDUCT.md * Added log rolling to limit log size to 5GB for now, can be changed * Maintenance mode option added in Caddyfile, used by creating a maintenance.on file in the maintenance_mode/ directory (codalab#1799) * Maintenance mode option added in Caddyfile, used by creating a maintenance.on file in the maintenance_mode/ directory * Add offline.png * Fixed image not loading --------- Co-authored-by: Obada Haddad <obada.haddad@lisn.fr> Co-authored-by: didayolo <adrien.pavao@gmail.com> * Update version.json for release 1.18.0 * Add remove button for cancelled submissions (codalab#1808) * Add remove button for cancelled submissions * Allow remove of cancelled submissions * Update compute_worker.py * Add permissions check for bulk download * flake8 fix * Add hide_score_output option (codalab#1838) * Add hide_score_output option * Update test * Add the options for v1 bundles * Make more generic tests (v1, v2) * version update workflow removed * Add hide_prediction_output feature * Calendar lock fixed, additional check added for start and end date * Simplify code * Version bump * Removed time and updated date to today --------- Co-authored-by: Ihsan Ullah <ihsan2131@gmail.com> Co-authored-by: Adrien Pavão <adrien.pavao@gmail.com> Co-authored-by: Obada Haddad <obada.haddad@lisn.fr> Co-authored-by: Obada Haddad-Soussac <11889208+ObadaS@users.noreply.github.com> Co-authored-by: GitHub Actions <actions@github.com>
A brief description of the purpose of the changes contained in this PR.
Added a maintenance mode to Codabench using Caddy and a maintenance.on file that is created (and deleted) when needed.
A checklist for hand testing
maintenance.onfile in the new maintenance_mode folder then check the homepagemaintenance.onfile to make sure the homepage goes back to normalChecklist