Replies: 15 comments
-
I second this request. |
Beta Was this translation helpful? Give feedback.
-
This would be a great enhancement! Probably metrics will have to be locked down as well during maintenance mode? |
Beta Was this translation helpful? Give feedback.
-
Yes please, that would very nice for upcoming OJS 3 migrations |
Beta Was this translation helpful? Give feedback.
-
Each time I have an upgrade (managing 5 OJS installations fo various journals), I get nervous and come looking for a solution to upgrading without knowing if people are currently doing serious work in the backend. At some point I need to change the config file installed to off to get the 2 minutes I need to do the upgrade and swap out the files. I prefer not to change document folder names, so I would love a maintenance mode that would lock out editors and managers for these brief minutes of downtime. |
Beta Was this translation helpful? Give feedback.
-
@JamieFowlie raises a good point that there are maybe two parts to this, one easier than the other:
Doing the second will be really difficult because we rely on the sessions table and don't have a clear distinction between "frontend" and "backend" pages. But I think that we could do something like the first without too much difficulty, by hooking into @mfelczak I know that this is one the hosting team has been interested in. Would it help to do the first even if we can't do the second? |
Beta Was this translation helpful? Give feedback.
-
The statistics table is a point that is usually quite expensive in upgrades of major OJS installations. Separating it, perhaps as a micro service, would not bring advantages, in addition to facilitating the implementation of item 2? And for sessions, the option of being able to store them in something like Redis could be interesting. |
Beta Was this translation helpful? Give feedback.
-
Forum post related to this issue: |
Beta Was this translation helpful? Give feedback.
-
@NateWr, confirming that this would be helpful as the first step before a production install is taken offline to start an upgrade. |
Beta Was this translation helpful? Give feedback.
-
This should improve from 3.3 onwards because we have replaced our database migrations toolset. We expect downtime during upgrades to be significantly shorter. |
Beta Was this translation helpful? Give feedback.
-
I second the request for a maintenance mode. Preferably one that leaves journals available but prevents changes in the database. |
Beta Was this translation helpful? Give feedback.
-
It might be interesting to see how gitlab manages to upgrade without downtime: Maybe it's applicable to OJS. |
Beta Was this translation helpful? Give feedback.
-
Interesting, @diegoabadan -- though that's more related to how we write migrations than adding a maintenance mode. I'll consider some of these approaches in coding upgrade scripts in the future. |
Beta Was this translation helpful? Give feedback.
-
You're right, I was thinking more about how to avoid needing a maintenance mode. :) Thank you and cheering for an increasingly painless upgrade process. |
Beta Was this translation helpful? Give feedback.
-
I vote for the original request of having a maintenance mode (I don't mind blocking viewers from published content as well since it's easier to achieve). Maintenance mode covers other use cases over and above an upgrade.
|
Beta Was this translation helpful? Give feedback.
-
During my free time, I've created a small plugin to enable maintenance mode. In a spirit like Magento and his https://github.com/henriqueramos/maintenanceMode/releases/tag/3.3.x This is a release for 3.3.x version (probably works well on the previous versions too). Any comments and PRs are welcome. |
Beta Was this translation helpful? Give feedback.
-
From SaaS document:
Discussion:
@asmecher:
@NateWr:
Beta Was this translation helpful? Give feedback.
All reactions