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

Documentation screenshots out of date #300

Open
Sargeant-wtpmi opened this issue Oct 26, 2021 · 7 comments
Open

Documentation screenshots out of date #300

Sargeant-wtpmi opened this issue Oct 26, 2021 · 7 comments
Labels
install troubleshooting Help getting Library instances up and running.

Comments

@Sargeant-wtpmi
Copy link

Context (Environment)

I am deploying a pilot wiki from a folder on a personal google drive (before proposing we use a shared staff drive to create one)

Expected Behavior

Deploying my heroku app and seeing my wiki.

Actual Behavior

I received the"Uh oh, that's a 500." message. I've checked through all my work twice, read responses in the google group and here -- and still no luck.

I checked my the activity log and found this:

image

And I checked the error message for the page and found this:

image

And I can see reference to "personalizedhomepage" in the page's code but have no idea what to do with this information.

image

To Reproduce

NA

Additional Information

NA (none that I know of)

Possible Solution

See above.

Thank you! I'm so excited to get this to work, and trying my best to do whatever I can to make sense of the error messages on my own; I just hit a wall. Any help would be greatly appreciated.

Thank you again,

Sargeant Donovan-Smith

@Sargeant-wtpmi Sargeant-wtpmi added the bug Something isn't working label Oct 26, 2021
@afischer
Copy link
Member

Hi @WeThePeopleMI, thanks for reaching out! Sorry to hear you're having issues setting up Library.

If you're getting a 500, I would imagine that error you're seeing is a symptom of a larger set up issue. Would you mind sharing what your heroku logs look like? (Be sure to check that there is no personal information in the logs, such as email or document names you might not want to share before posting)

@Sargeant-wtpmi
Copy link
Author

Hey Andrew,

You mean the activity log? Here are screen shots of the whole log. If it's something else, can you clarify where I can find it?

Thanks!

Sargeant

image

image

image

@afischer
Copy link
Member

Hi @WeThePeopleMI, you can find logs by clicking into your app, using the More menu, and clicking "view logs". Any logs (especially errors) would be very helpful!

image

@afischer afischer added install troubleshooting Help getting Library instances up and running. and removed bug Something isn't working labels Oct 28, 2021
@Sargeant-wtpmi
Copy link
Author

Andrew,

Gotcha! Here is the log output:

image

Thanks,

Sargeant

@Sargeant-wtpmi
Copy link
Author

Andrew,

I just opened the app again, and now the log is running and updating, so ignore my last comment. I'll post the full log (with our stuff covered over) in a bit. Sorry about that. Didn't realize.

Best,

Sargeant

@Sargeant-wtpmi
Copy link
Author

Andrew,

I figured it out (with the help of a colleague)! I'm sharing what we found here -- as it might relates to part of the getting started process no working for us. Not sure if the issue is generalized, or just our unique situation.

When we opened the full logs, and searched for errors, we found this message repeated throughout. Pretty clear.

image

In fact when I reconfigured the Heroku app two nights ago, I had written in my notes that our Google_Application_JSON included different items than the image in NYTimes wiki "Getting Started" process.

Getting Started process:
image

Our Google_Application_Jason (before figuring out mistake):

image

So I had already noted that the JSON items didn't include the same fields. My supervisor remembered that when we went through the setup process the "Create a Key" portion of the "Create a Service Account" instructions never came up for us in the Google Cloud Platform part of the process. It just wasn't an option. So we went back, and sure enough, under the "APIs and Services" section, there was no key configured.

image

So we went ahead and configured the key, and were prompted to save the JSON. Now it looks like the one in the "Getting Started' portion of the wiki:

image

I think what tripped us up:

  1. Even though the instructions told us to create a key, the option didn't appear on the Google side as it did in the images AND in the images (from the Google service configuration) the word "optional" was prominent.
  2. We were prompted to download the JSON file by Google even after this mistake -- so when we got to the configuring the app in Heroku we thought we had everything.

But we're all good now. We went back and set up the key, replaced the Google_Application_JSON in the Heroku configuration, and our wiki loaded!

Just thought I'd share in case its helpful for future users. Many thanks!!!

Best,

Sargeant

@afischer
Copy link
Member

afischer commented Nov 1, 2021

Thanks for the update @WeThePeopleMI! Glad to have you up and running.

Going to keep this open, as we're currently working on updating and refining our documentation. It looks like google has updated its interface since we've taken those screenshots, so we will need to update those.

cc @hopefourie-nyt / @crystalnyt for later!

@afischer afischer changed the title Uh oh, that's a 500 (part deux) Documentation screenshots out of date Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install troubleshooting Help getting Library instances up and running.
Projects
None yet
Development

No branches or pull requests

2 participants