-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Feature/maintenance mode #7019
Feature/maintenance mode #7019
Conversation
e654d10
to
b02a6aa
Compare
73842e3
to
ce8873c
Compare
if (fromVersion < versioning.canMigrateFromVersion) { | ||
return versioning.showCannotMigrateError(); | ||
return Promise.reject(new errors.DatabaseVersion(i18n.t('errors.data.versioning.index.cannotMigrate.error'))); |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
ce8873c
to
def3463
Compare
NoDatabaseFound.prototype = Object.create(Error.prototype); | ||
NoDatabaseFound.prototype.name = 'NoDatabaseFound'; | ||
|
||
module.exports = NoDatabaseFound; |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
71ca05c
to
9c11e9d
Compare
closes TryGhost#6976 - add maintenance mode when running migrations - refactor update/populate migrations
05edbc7
to
5c67d77
Compare
travis is green, ready to merge |
refs TryGhost#6976, TryGhost#7019, TryGhost#7125 - Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot - Remove stack trace from 503 errors - Add error message to 503 error - Ensure error page is rendered for Ghost-Admin on reload with 503
closes TryGhost#6976 - add maintenance mode when running migrations - refactor update/populate migrations
refs TryGhost#6976, TryGhost#7019, TryGhost#7125 - Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot - Remove stack trace from 503 errors - Add error message to 503 error - Ensure error page is rendered for Ghost-Admin on reload with 503
closes TryGhost#6976 - add maintenance mode when running migrations - refactor update/populate migrations
refs TryGhost#6976, TryGhost#7019, TryGhost#7125 - Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot - Remove stack trace from 503 errors - Add error message to 503 error - Ensure error page is rendered for Ghost-Admin on reload with 503
closes #6976
TODO
help
color