-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
dokku ps:restore fails due to CHECKS file #1943
Comments
Please include the info requested in our issue template. If you're using a data store plugin, perhaps that container isn't up at the time of restore? |
@z0mt3c Are you using a data store plugin? |
The actual app with check file didn't "use" any plugins.. i think there was another app linked to a mongo instance. I will try to have another deeper look next days and provide further information. thanks! |
I'm having a somewhat similar issue (at least symptoms are the same), but not sure it's because of Basically
If I try to re-build it, it hangs on
So I have to destroy and re-create app in the end. Destroying app gives
|
Sounds like your container is failing to start when you call |
Hm, but this happens just a minute after I called |
Can you verify that that is the case? Also, can you run the commands with Again, I don't think you're having the same issue. Can you file a new issue? |
Maybe this helps: Only solutions are SSDs or longer wait times. You might be facing a different issue, but it is worth mentioning it, and just maybe it already resolves the mystery. |
That issue was fixed in gliderlabs/herokuish#117 and will be out in the next herokuish release. You can just pull the latest release manually if you wish. |
@josegonzalez Oh, cool. Don't have the problem anymore as I moved that parts to different container hosts. But good to know that this is fixed. |
Seems like we're good here. Please feel free to comment if not. |
Do we upgrade herokuish with If so, I don't think it's released yet?
I'd prefer not to make it a habit of pulling the latest release manually, so I'm happy waiting if |
I'll push a release of that out tonight. |
It's been released :) |
Is there a lag between when it's released and when it's available through
|
You'll want to run |
@michaelshobbs Ahh, running Though it also took down my app (navigating to the webpage returned
Looks like something's still running:
( This broke my Route 53 failover checking, which is set to use the HTTP endpoint (HTTPS failover checking is extra, and I haven't set up an SSL certificate). So now I need to figure out how to make that For the future, is |
Upgrading is not advised on running apps. You'll want to stop everything first. |
@michaelshobbs I know it doesn't fit here, but maybe you can point me to where to look: How to upgrade the server with no or little downtime? Logging into my digital ocean droplet i see upgrade notes quite frequently. If I stop the app I obviously have downtime. Also many times upgrades need a server restart. Wondering how Heroku does it. I assume they upgrade on a new server then start the app there and switch over to avoid downtime. |
@ncri This question definitely doesn't belong here. Please open a new issue. |
Description of problem:
For me it seems a
CHECKS
preventsdokku ps:restore
from restoring the applications/instances. I noticed it because suddenly the my services didn't come back after system reboots Whenever i published an app containing aCHECKS
file none of my applications were started after reboot (ps:restore). (Even there were some without aCHECKS
file as well.) May they were started and terminated after a few seconds. May it's just my fault? Did i miss something? Any idea?My
CHECKS
file looked like this:My
upstart/dokku-redeploy.log
looked like this when it went wrong (withCHECKS
file) for the particular app:Removing the CHECKS file helped. Afterwards it starts just fine:
Output of the following commands
uname -a
: Linux app 3.19.0-51-generic dokku should clean up containers #57~14.04.1-Ubuntu SMP Fri Feb 19 14:36:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxdocker version
: 1.10.2docker run -ti gliderlabs/herokuish:latest herokuish version
: 0.3.8dokku version
: 0.4.14My app is just a simple node application using the default builtsteps with a Procfile containing
The text was updated successfully, but these errors were encountered: