buildpack-nginx
buildpack-nginx copied to clipboard
Could not open lock file
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?
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... https://github.com/progrium/buildstep/issues/113#issuecomment-59690914
They recommend updating custom build packs to local installs (they give one example in the list above)
Do you think that could work?
Florian
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
This would should work: https://github.com/florianheinemann/dokku-buildpack-nginx
@florianheinemann Thanks a lot.. another one, I found that works for me is https://github.com/socialshop/heroku-buildpack-nginx