heroku-openresty icon indicating copy to clipboard operation
heroku-openresty copied to clipboard

rockspec not install nginx binary

Open jtarchie opened this issue 12 years ago • 7 comments

With the following example, the rockspec does not successfully install nginx and openresty. The README on the example shows the steps to recreate the issue.

I've included the heroku buildpack output. Notice the size of the slug -- 89KB. Binaries are not getting installed correctly.

-----> Fetching custom git buildpack... done
-----> Lua app detected
-----> Copying lua to bin
-----> Installing packages
       Using https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-1.2.8.6-1.rockspec... switching to 'build' mode
       Initialized empty Git repository in /tmp/luarocks_heroku-openresty-1.2.8.6-1-7431/heroku-openresty/.git/
       fatal: Not a git repository: '.'
       Using https://raw.github.com/jtarchie/sinatra-openresty/master/sinatra-dev-1.rockspec... switching to 'build' mode
-----> Discovering process types
       Procfile declares types -> web

-----> Compiled slug size: 89K
-----> Launching... done, v8
       http://afternoon-lake-7245.herokuapp.com deployed to Heroku

To [email protected]:afternoon-lake-7245.git
 + 8aee32d...dadfd6b master -> master (forced update)

jtarchie avatar Aug 29 '13 00:08 jtarchie

can you show me your packages rockspec?

leafo avatar Aug 29 '13 00:08 leafo

actually nevermind, what happens when you try to use https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec instead of https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-1.2.8.6-1.rockspec

The error message you included says it's having trouble checking out the git repository

leafo avatar Aug 29 '13 00:08 leafo

The dev rockspec worked. I'll stick with unless there are any objections.

Now, best way to cat the log files. :)

jtarchie avatar Aug 29 '13 02:08 jtarchie

Strange, I'll try to see why the versioned rockspec doesn't work.

leafo avatar Aug 29 '13 02:08 leafo

Ever figure out the issue? I'm about to give it another go.

@leafo are you still using this for your heroku deployments with LAPIS?

jtarchie avatar Oct 13 '13 23:10 jtarchie

Ah, sorry, completely forgot about this issue. I still use it but I've been using the dev rockspec. I'm going to release a screencast about deploying lapis to heroku soon so I'd like to find out what's going on so I don't have to tell people to use the dev version.

leafo avatar Oct 14 '13 00:10 leafo

Hey, im having this problem too.

josellausas avatar Dec 11 '15 02:12 josellausas