-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
add documentation about clearing migrations lock (w/ FAQ/Troubleshooting entry for Heroku) #1911
Comments
Hi @julianriedelsheimer , can you post more of the application log that is written when the application loads up? I'm guessing there is something in there that can give us a clue about what's going on. |
thx for getting back. sure. heroku restart -a APP_name gives me the following:
after opening the url in the browser I get the following:
repeating every second. |
Seeing this with our setup as well, restarting does not seem to help though. For us this started happening yesterday, about a week after we upgraded to 0.14.1.
|
@agilliland Some more info about the issue: Tried a clean install on heroku - it worked fine, but after pointing it to the database from our original install it hangs on So it looks like Metabase's db might be corrupted/has some weird data, is there a way to debug what exactly is going wrong during the initialization process? |
@whatthewhat are you able to directly connect to the postgres database which contains the Metabase application data? i'm curious what you see if you do |
Should I just delete this record? |
Yes. go ahead and delete that row and then restart the Metabase instance and lets see if it starts up properly. |
Yep, that worked! Thanks a lot for the help! :) |
good hear. i've updated this ticket to capture a task around adding some more documentation about this particular issue and how to resolve it. |
We have a command to release the migration lock automatically. |
I hosted metabase on heroku and it has been working fine for 1 or 2 weeks. sometimes I got the following error:
2016-02-10T08:42:12.782052+00:00 app[web.1]: 2016-02-10 08:42:12,782 [ERROR] metabase.middleware :: GET /api/health 503 (0 ms) 2016-02-10T08:42:12.782055+00:00 app[web.1]: {:status "initializing", :progress 0.3}
after
heroku restart -a APP_NAME
it worked again. But since 2 or 3 days restarting heroku does not fix it anymore. I keep getting the error.Do you know what this could be? thank you!
The text was updated successfully, but these errors were encountered: