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

Could not open lock file #15

Open
florianheinemann opened this issue Oct 29, 2014 · 4 comments
Open

Could not open lock file #15

florianheinemann opened this issue Oct 29, 2014 · 4 comments

Comments

@florianheinemann
Copy link

Hi!

I get the following errors when I try to push an app... Any idea what that could be? All other build packs with as usual.

remote: HEAD is now at 6380bff... Back to nginx
-----> Fetching custom buildpack
-----> nginx app detected
remote: E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
remote: E: Unable to lock directory /var/lib/apt/lists/
remote: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
remote: E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
@florianheinemann
Copy link
Author

Okay. Got feedback from the progrium guys. Seems with the latest version of build step the process isn't executed as root anymore and hence apt-get will not work anymore... progrium/buildstep#113 (comment)

They recommend updating custom build packs to local installs (they give one example in the list above)

Do you think that could work?

Florian

@alexbeletsky
Copy link

Unfortunately it still doesn't work. Are there any other buildpacks for dokku and nginx? I would be happy to fix it if I had more details on issue. ping @progrium

@florianheinemann
Copy link
Author

This would should work: https://github.com/florianheinemann/dokku-buildpack-nginx

@alexbeletsky
Copy link

@florianheinemann Thanks a lot.. another one, I found that works for me is https://github.com/socialshop/heroku-buildpack-nginx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants