Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Issue with Prosody when setting up a Jitsi server (returning a nil value).
I followed the tutorial and seem to have a problem with Prosody generating the error below (hostname removed for security reasons):
Oct 24 19:06:17 <my hostname> prosody: A problem occurred while reading the config file /etc/prosody/prosody.cfg.lua
Oct 24 19:06:17 <my hostname> prosody: Error: /etc/prosody/conf.d/<my hostname>.cfg.lua:98: attempt to call global ‘Virtualhost’ (a nil value)
Oct 24 19:06:17 <my hostname> prosody: More help on configuring Prosody can be found at https://prosody.im/doc/configure
Oct 24 19:06:17 <my hostname> prosody: Good luck!
I have checked both the cfg.lua files in both conf.d and conf.avail subfolders in case of a miss-spelling of the host name, and they checked out OK. When I go to use the Jitsi server, I’m not greeted with a log-in prompt when I want to start a meeting. I also am unable to create a user in the console using the line command:
sudo prosodyctl register user my_domain password
Again I get an error as per the log entries above.
I’m a bit of a novice when it comes to server configuration, so any advice on how I can fix this would be of great help please. Many thanks.
The droplet I’ve set up is using Ubuntu 20.04.1LTS, and fully updated.