Admin panel not accessible on Heroku
See original GitHub issueHow to reproduce the behaviour
I deployed doccano on Heroku using the 1-click heroku deployment here
It is explained in the FAQ how to create a user, however attempting to access the admin panel returns 500:
All 3 paths below return 500.
https://mydeployment.herokuapp.com/admin/
https://mydeployment.herokuapp.com/admin/login
https://mydeployment.herokuapp.com/admin/login/
https://mydeployment.herokuapp.com/admin
returns this error:
Here are heroku logs:
2022-05-04T12:01:27.284796+00:00 heroku[router]: at=info method=GET path="/admin" host=dep.herokuapp.com request_id=334e11d9-32c3-4a75-bad5-d85de0b9216f fwd="185.198.243.162" dyno=web.1 connect=0ms service=2ms status=200 bytes=2867 protocol=https
2022-05-04T12:01:32.991609+00:00 heroku[router]: at=info method=GET path="/admin/" host=dep.herokuapp.com request_id=6fa182fe-4a8a-4dc2-a160-ca9f8bc89e3a fwd="185.198.243.162" dyno=web.1 connect=3ms service=3ms status=302 bytes=454 protocol=https
2022-05-04T12:01:33.086642+00:00 heroku[router]: at=info method=GET path="/admin/login/?next=/admin/" host=dep.herokuapp.com request_id=adef48c1-0c09-463b-8234-6086fa12c396 fwd="185.198.243.162" dyno=web.1 connect=0ms service=40ms status=500 bytes=452 protocol=https
2022-05-04T12:15:05.020301+00:00 heroku[router]: at=info method=GET path="/admin/login/?next=/admin/" host=dep.herokuapp.com request_id=44abdb50-2dbf-46a1-999e-e633c7756232 fwd="185.198.243.158" dyno=web.1 connect=1ms service=32ms status=500 bytes=452 protocol=https
Your Environment
- Operating System:
- Python Version Used:
- When you install doccano: 4 may 22
- How did you install doccano: Heroku 1-click install button
The following issues: 1778 and 1447 seem to face the same problem, however no solution has been suggested as of yet.
I can provide any other information upon request. Any help would be greatly appreciated! @Hironsan
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cannot access Django admin panel in a Heroku deployment
The FAQ describes how to create a user via the Django admin panel for a locally hosted Doccano. When run locally, I have...
Read more >Cannot login to Admin panel after deploying Heroku
Go back to your admin's login page and enter the superuser's credentials again, you should be logged into the admin panel.
Read more >[HEROKU] Unable to access wp-admin | WordPress.org
Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause....
Read more >Why did I lose access to a Heroku Connect add-on?
The ability to view a connection in the Heroku Connect dashboard depends on the permissions that you have on the Heroku app that...
Read more >View [admin.users.index] not found. in local it works for me, ...
View [admin.users.index] not found. in local it works for me, but in the server of heroku not ; <?php namespace App ; Http\Controllers...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fedi112 A temporary fix for me was the following:
Resolved in https://github.com/doccano/doccano/pull/1907