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

500 error upon submitting a work in deployed QA branch #216

Closed
Janell-Huyck opened this issue Sep 21, 2023 · 4 comments
Closed

500 error upon submitting a work in deployed QA branch #216

Janell-Huyck opened this issue Sep 21, 2023 · 4 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@Janell-Huyck
Copy link
Contributor

When running locally and submitting a work, I end up at the following page:
Screenshot 2023-09-21 at 9 48 19 AM
Following the same path along the libappstest.uc.edu gives me a 500 error:
Screenshot 2023-09-21 at 9 49 22 AM
Discover why we get a 500 error upon submitting a work in qa and resolve it.

@haitzlm
Copy link
Contributor

haitzlm commented Sep 21, 2023

the urls are different in the two examples. The working one is /publications, and the non-working one is /other_publications

@hortongn
Copy link
Member

@Janell-Huyck I think this issue is a duplicate of #162. The problem may only exist on our servers.

If you'd like the app to show detailed error pages on libappstest, you can temporarily change https://github.com/uclibs/aaec/blob/qa/config/environments/production.rb#L16 to true and deploy the branch. You'll see error pages just like you do on your machine.

@Janell-Huyck
Copy link
Contributor Author

the urls are different in the two examples. The working one is /publications, and the non-working one is /other_publications

True, but I got the same result either way. other_publications is another kind of publication, "Other". It works fine in local, and errors in deploy.

@Janell-Huyck
Copy link
Contributor Author

@Janell-Huyck I think this issue is a duplicate of #162. The problem may only exist on our servers.

If you'd like the app to show detailed error pages on libappstest, you can temporarily change https://github.com/uclibs/aaec/blob/qa/config/environments/production.rb#L16 to true and deploy the branch. You'll see error pages just like you do on your machine.

You're right, this is a duplicate of #162 . I couldn't find it earlier and assumed it had gotten closed or something. Closing this issue now, as duplicate.

Thanks for the tip about the details errors!

@Janell-Huyck Janell-Huyck added the duplicate This issue or pull request already exists label Oct 12, 2023
@hortongn hortongn removed this from the Next deploy milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants