vhmlwa
Last Updated: November 06, 2018
·
3.392K
· mattcodez

Dokku Remote App is Locked

Just got this new error when trying to deploy to a Dokku box:
remote: app is currently being deployed or locked. Waiting...
The app had already failed and produced an error in the docker logs. The container was already stopped. However it seems Dokku wasn't aware. Removing the stopped containers didn't help. I did a little investigating and it appears Dokku locks by creating an empty hidden file:
/home/dokku/app/.build.lock
I simply deleted this file and I was able to deploy again.

4 Responses
Add your response

20911

Good one!
Was scourging the internet for a solution, and this was the one.

Best,
Michele

over 1 year ago ·
28302

Thanks

over 1 year ago ·
29159

how did you delete it when it is hidden?

over 1 year ago ·
29167

In my app the file thats locking its .deploy.lock.

@genaro u can just run normal unix commands like rm <filename>.

over 1 year ago ·