#1969 Alpine install: prosodyctl install fails: "luarocks: not found"

Reporter Maurice R
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-New
  • Type-Defect
  1. Maurice R on

    #On a fresh/clean Alpine container, after initially installing prosody with apk add prosody (success, no errors/warnings) #Trying to install ad mod: "prosodyctl install --server=https://modules.prosody.im/rocks/ mod_e2e_policy" #fails with: "sh: luarocks: not found" #Neither installing packages lua, luarocks, lua5.4 or luarocks5.4 seems to resolve the issue. #Expected behavior: when installing prosody with apk add prosody 1) all required dependencies are installed and functional with prosody and prosodyctl without further user-interaction 2) user is able to use "prosodyctl install" commands on a clean install without experiencing any error-messages. (I guess this can be solved rather simple linking something to something, but would be great to fix it so it works out of the box). -------- OUTPUT prosodyctl about below: ------- # prosodyctl about Prosody 13.0.2 # Prosody directories Data directory: /var/lib/prosody Config directory: /etc/prosody Source directory: /usr/lib/prosody Plugin directories: /var/lib/prosody/custom_plugins - not a directory! /usr/lib/prosody/modules/ # Operating system Linux 6.1.0-39-amd64 # Lua environment Lua version: Lua 5.4 Lua module search paths: /usr/lib/prosody/?.lua /usr/local/share/lua/5.4/?.lua /usr/local/share/lua/5.4/?/init.lua /usr/local/lib/lua/5.4/?.lua /usr/local/lib/lua/5.4/?/init.lua /usr/share/lua/5.4/?.lua /usr/share/lua/5.4/?/init.lua /usr/lib/lua/5.4/?.lua /usr/lib/lua/5.4/?/init.lua /usr/share/lua/common/?.lua /usr/share/lua/common/?/init.lua /root/.luarocks/share/lua/5.4/?.lua /root/.luarocks/share/lua/5.4/?/init.lua /var/lib/prosody/custom_plugins/share/lua/5.4/?.lua /var/lib/prosody/custom_plugins/share/lua/5.4/?/init.lua Lua C module search paths: /usr/lib/prosody/?.so /usr/local/lib/lua/5.4/?.so /usr/local/lib/lua/5.4/loadall.so /usr/lib/lua/5.4/?.so /usr/lib/lua/5.4/loadall.so /root/.luarocks/lib/lua/5.4/?.so LuaRocks: Installed (2.x+) # Network Backend: epoll # Lua module versions LuaExpat: 1.5.2 LuaFileSystem: 1.8.0 LuaSec: 1.3.2 LuaSocket: 3.0.0 luaunbound: 1.0.0 # library versions libcrypto: OpenSSL 3.5.3 16 Sep 2025 libexpat: expat_2.7.2 libunbound: 1.24.0

New comment

Not published. Used for spam prevention and optional update notifications.