Hi,
Updating the Jitsi server within the last year was never an issue,
with the exception of the last two weeks,
where I finally updated our Jitsiserver after the 3rd attempt, after two failed update attempts.
I was on the versions (from October 21 2022):
ii jitsi-meet 2.0.7882-1
ii jitsi-meet-prosody 1.0.6644-1
ii jitsi-meet-turnserver 1.0.6644-1
ii jitsi-meet-web 1.0.6644-1
ii jitsi-meet-web-config 1.0.6644-1
ii jitsi-videobridge2 2.2-45-ge8b20f06-1
*ii lua-basexx 0.4.1-jitsi1 *
ii lua-cjson:amd64 2.1.0.10-jitsi1 *
Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-131-generic x86_64)
The update to the current version (per yesterday Feb 7 2023)
*ii jitsi-meet 2.0.8252-1 *
ii jitsi-meet-prosody 1.0.6943-1
ii jitsi-meet-turnserver 1.0.6943-1
ii jitsi-meet-web 1.0.6943-1
ii jitsi-meet-web-config 1.0.6943-1
ii jitsi-videobridge2 2.2-69-gad606ca2-1
*ii lua-basexx 0.4.1-jitsi1 *
ii lua-cjson:amd64 2.1.0.10-jitsi1
Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-137-generic x86_64)
The main issue was, that the Jitsi Prosody module would not install, due to failed depdancies.
Per article Self-Hosting Guide - Debian/Ubuntu server | Jitsi Meet
I added the link to the prosody repository
sudo -i
echo deb …
wget …
apt install lua5.2
(cannot post the full line because the forum only allows two links)
Then
sudo apt update
apt-get install prosody
sudo apt update
In my various tests, I found that the prosody update removed the last line
Include "conf.d/.cfg.lua"*
In the file
/etc/prosody/prosody.cfg.lua
so I readded that.
(per Info from morlac in [link removed due to 2 link posting limit] )
After this, the update to Jitsi was almost flawless
sudo apt update && sudo apt upgrade
which didn’t fail, except the error:
Prosody was unable to find lua-unbound
This package can be obtained in the following ways:
-
- Debian/Ubuntu | sudo apt install lua-unbound*
-
luarocks | luarocks install luaunbound*
-
Source | [link removed due to 2 link posting limit]*
-
Old DNS resolver library will be used
More help can be found on our website, at [link removed due to 2 link posting limit]
Otherwise, there were no errors with the update.
Tested the server, video, sound, user logins work.
Now I wanted to create a new user account, which failed:
sudo prosodyctl register testuser v.test.com testpassword1234
Prosody was unable to find lua-unbound
This package can be obtained in the following ways:
- Debian/Ubuntu | sudo apt install lua-unbound*
-
luarocks | luarocks install luaunbound*
-
Source | [link removed due to 2 link posting limit]*
Old DNS resolver library will be used
More help can be found on our website, at [link removed due to 2 link posting limit]
Installing lua-unbound failes When I do
sudo apt install lua-unbound
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package lua-unbound is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘lua-unbound’ has no installation candidate
I checked
apt list -a prosody
Listing… Done
prosody/unknown,now 0.12.2-1~focal1 amd64 [installed]
prosody/focal 0.11.4-1 amd64
Then I tried to install Prosody according to the Article
[link removed due to 2 link posting limit]
from tofu from April 2022
apt install libunbound-dev liblua5.3-dev
luarocks install luaunbound
this also fails:
apt install libunbound-dev liblua5.3-dev
[…]
luarocks install luaunbound
Installing [link removed due to 2 link posting limit] luaunbound-1.0.0-1.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.2 -c lunbound.c -o lunbound.o
lunbound.c:6:10: fatal error: lualib.h: No such file or directory
*** 6 | #include <lualib.h>***
*** | ^~~~~~~~~~***
compilation terminated.
Error: Build error: Failed compiling object lunbound.o
Now I am stuck,
and do not know what to do further to fix the problem.
I’m glad that I have this production system running on a VM, so I just did a snapshot-rollback to revert the install of
apt install libunbound-dev liblua5.3-dev
Hope it is a simple issue, where I do not need to reinstall the server.
Appreciate your fix-ideas.