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

Deployment: Create static maintenance page served by Apache until we have read only mode. #2588

Closed
kcondon opened this issue Sep 24, 2015 · 10 comments

Comments

@kcondon
Copy link
Contributor

kcondon commented Sep 24, 2015

Needed to help with deployment friendliness. Issue to track read only mode feature: #2587.

@kcondon kcondon added UX & UI: Design This issue needs input on the design of the UI and from the product owner Type: Suggestion an idea Status: Dev labels Sep 24, 2015
@mercecrosas mercecrosas modified the milestone: In Review Nov 30, 2015
@mheppler mheppler added Feature: Performance & Stability and removed UX & UI: Design This issue needs input on the design of the UI and from the product owner labels Jan 27, 2016
@scolapasta scolapasta removed this from the Not Assigned to a Release milestone Jan 28, 2016
@mheppler
Copy link
Contributor

A static maintenance pg has been created, based on input from a quick FRD that outlines the requirements.

Whether anything else is needed for this is up for discussion still. This pg could be stripped to be a more generic template, which we could include in the code source, along with instructions for customizing in the Installation Guide.

screen shot 2016-05-25 at 4 56 33 pm

@mheppler mheppler self-assigned this May 26, 2016
@kcondon
Copy link
Contributor Author

kcondon commented May 26, 2016

Maybe change "going through unexpected maintenance" to "undergoing maintenance" so it sounds less like we're out of control.


From: Michael Heppler notifications@github.com
Sent: Thursday, May 26, 2016 10:08:48 AM
To: IQSS/dataverse
Cc: Condon, Kevin M; Author
Subject: Re: [IQSS/dataverse] Deployment: Create static maintenance page server by Apache until we have read only mode. (#2588)

A static maintenance pg has been created, based on input from a quick FRDhttps://urldefense.proofpoint.com/v2/url?u=https-3A__docs.google.com_document_d_1lyEnvFzOPfm-2DGSwzokM9k6rgSJ-2DcuvV0Sk8iX4oRl60_edit&d=CwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=TUpjWt9sVfaAC8ETCY_cDPtqJKl7s242PLg6-Wx6UpM&m=X9XaZZizw36AUqW56Do15y0gNKIH3-xJGukbdk75oos&s=GoFD0S9-RL5dwJ4vE0CLZTTuNug6YRuFlbS3ib4kYL8&e= that outlines the requirements.

Whether anything else is needed for this is up for discussion still. This pg could be stripped to be a more generic template, which we could include in the code source, along with instructions for customizing in the Installation Guide.

[screen shot 2016-05-25 at 4 56 33 pm]https://urldefense.proofpoint.com/v2/url?u=https-3A__cloud.githubusercontent.com_assets_687227_15577215_88141d3a-2D2329-2D11e6-2D880b-2D01cb5349fd20.png&d=CwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=TUpjWt9sVfaAC8ETCY_cDPtqJKl7s242PLg6-Wx6UpM&m=X9XaZZizw36AUqW56Do15y0gNKIH3-xJGukbdk75oos&s=ASeCmECOQ7z5G1R5AFMZgBD89wprYJ88iJs47lPjupo&e=

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_IQSS_dataverse_issues_2588-23issuecomment-2D221881256&d=CwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=TUpjWt9sVfaAC8ETCY_cDPtqJKl7s242PLg6-Wx6UpM&m=X9XaZZizw36AUqW56Do15y0gNKIH3-xJGukbdk75oos&s=3Ynow6dVHgM4TNjJJgcNpA5byQhldpJjg6mHsEHHj7o&e=

@kcondon kcondon changed the title Deployment: Create static maintenance page server by Apache until we have read only mode. Deployment: Create static maintenance page served by Apache until we have read only mode. Jun 27, 2016
@pdurbin
Copy link
Member

pdurbin commented Jun 27, 2016

@kcondon mentioned that we're looking for a place in the git repo to put the maintenance page.

I'd suggest putting it at doc/sphinx-guides/source/_static/installation/files/var/www/html/maintenance/index.html

I say this because if you look at https://github.com/IQSS/dataverse/tree/v4.3.1/doc/sphinx-guides/source/_static/installation/files/etc/init.d for example, that's where we put files that we want sysadmins to be able to easily download from the Installation Guide. http://guides.dataverse.org/en/4.3.1/installation/prerequisites.html#solr-init-script says, "You can attempt to adjust this Solr init script for your needs or write your own." I can imagine similar text (also with a link to a file) for downloading a sample maintenance page.

@mheppler
Copy link
Contributor

The Administration pg of the Installation Guide has been suggested as where to link to this file.

mheppler added a commit that referenced this issue Jun 28, 2016
mheppler added a commit that referenced this issue Jun 29, 2016
@djbrooke djbrooke added this to the 4.5 milestone Jun 29, 2016
@mheppler
Copy link
Contributor

mheppler commented Jun 29, 2016

EDIT: Found a GitHub Help suggestion with a solution for permanent file links that is more reliable than RawGit, and less hacky than linking to the commit.

UPDATE: I was incorrect in suggesting that solution, the URL's are not to the raw file. I am still looking for the best solution. I found these discussions about linking to files on GitHub and GitHub as a CDN on StackOverflow. We can discuss our options as a group when we meet.

@mheppler mheppler assigned scolapasta and unassigned mheppler Jun 29, 2016
@mheppler
Copy link
Contributor

Assigning to @scolapasta to look at in more detail and make a decision on the best technical decision for this project.

mheppler added a commit that referenced this issue Jun 29, 2016
@djbrooke djbrooke added the ready label Jul 26, 2016
@pdurbin
Copy link
Member

pdurbin commented Sep 27, 2016

@mheppler I noticed that the Harvard logo was missing in the 2588-maintenance-pg branch like this...

screen shot 2016-09-27 at 8 57 25 am

... so I made a change at 0230b8c to fix this. Now it looks better:

screen shot 2016-09-27 at 9 37 03 am

I had a brain fart while trying to get the "2588-maintenance-pg" branch up to date with develop and ended up merging 2588-maintenance-pg prematurely into develop. I backed this out of develop however and I think we're ready to make a pull request from the 2588-maintenance-pg branch. Any objections? Is there still more you want to do? I'm co-assigning this issue to you.

@pdurbin
Copy link
Member

pdurbin commented Sep 27, 2016

@mheppler and I discussed this issue and agreed we should go ahead and make a pull request, which I did at #3385

This issue and the pull request are in Code Review at https://waffle.io/IQSS/dataverse if anyone would like to take a look but I think it's ready for QA. @mheppler mentioned that as customization is worked on for #2003 the header might change to say "Harvard Dataverse" rather than just "Dataverse" or something.

@kcondon
Copy link
Contributor Author

kcondon commented Oct 13, 2016

Looks good, closing.

@kcondon kcondon closed this as completed Oct 13, 2016
@kcondon kcondon reopened this Oct 13, 2016
@kcondon kcondon closed this as completed Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants