Implement a Down for Maintenance screen
-
Thinking about websites & apps with regular data-creation.
In the event of migrating from one Cloudron to another, it may be necessary to take the site offline for the transition period to ensure the restore contained all the latest data.
Thoughts?
-
@marcusquinn @girish - We can already customize the 502 page though, right? I have mine customized and it looks good. I suppose the only time it doesn't show up is if the server is actually not responding to requests at all but there's nothing that can be done about that anyways in that case. Maybe I'm misunderstanding the use-case?
-
@d19dotca Right, https://docs.cloudron.io/branding/#custom-pages . I wasn't clear that I was referring to not having a UI to set the page without having to SSH.
I guess maybe @marcusquinn wants more like a "Turn on maintenance mode" button in the old cloudron while he migrates to the new location or equivalent ? Of course a hack is to put a surfer page in that location while the migration happens
-
@girish yup, exactly. Tick-box sys-admin makes me happy . I think a logo, a support email and a link field (that we'd use to point to a separate status updates URL) would be awesome. It just reassures people we know we're down and working on it, otherwise it just looks like we went bust
-
@marcusquinn For Cloudrons that host multiple domains and companies, those would be better differentiated per App/group.
-
What about a "Turn on maitenance mode" like @girish suggested, but you'd be able to specify which page from the
/home/yellowtent/boxdata/custom_pages
you want displayed. This would allow a lot more flexibility and even let you have app-specific maintenance pages that you made beforehand.