Closed abom closed 4 years ago
Fixed in https://github.com/threefoldtech/jumpscaleX_builders/commit/e4b46f2966df334287181a143bf88bf1e1b8808a by only removing luarocks related files, not the files that're created/managed by openresty builder.
Make sure to install openresty before trying to install lua to fix missing files, after that, the problem should not occur again when passing reset=True to lua builder install().
kosmos "j.builders.web.openresty.install(reset=True)"
Then kosmos "j.builders.runtimes.lua.install(reset=True)"
should work if executed many times without problems.
verified on development :
....+++++
.................................................................................+++++
writing new private key to '/sandbox/cfg/ssl/resty-auto-ssl-fallback.key'
-----
kosmos "j.builders.runtimes.lua.install()"
Gives the following error (seems like some paths are incorrect).