This module hasn’t worked since 0.10, and its main feature is provided by mod_muc_mam since 0.11 anyway.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_storage_muc_log
For earlier versions see the documentation for installing 3rd party modules