Problem upgrading jitsi-videobridge → jitsi-videobridge2

Upgrading to jitsi-videobridge2 broke my installation since during the upgrade the file /etc/jitsi/videobridge/config got replaced. The new file had

JVB_OPTS="--apis=rest, "

(note the missing xmpp api!)

We are migrating the use of deprectaed components to usnig mucs.

Well, yes. But why aren’t the files under ‘/etc/jitsi’ marked as configuration files in the Debian package? That way changes during an update would be reported to the admin. Silently replacing a customized file will break installations.
BTW, the same goes for interface_config.js - clearly a file meant to be configured but happily overwritten by an update (Bonus Points: not under /etc so even etckeeper won’t catch the changes. Lukily I had a local backup …)

Hi Ralf, did you finally manage to fix? Can you share the full upgrade steps? Thanks

BTW I checked an exiting jvb1 installation and JVB_OPTS is set to an empty string

I simply tried removing vb1 and it installed vb2! :smiley:

root@meeting:~# apt remove jitsi-videobridge
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  jicofo jitsi-meet jitsi-meet-prosody jitsi-meet-web jitsi-meet-web-config jitsi-videobridge2
Recommended packages:
  jitsi-meet-turnserver | apache2
The following packages will be REMOVED:
  jitsi-videobridge
The following NEW packages will be installed:
  jitsi-videobridge2
The following packages will be upgraded:
  jicofo jitsi-meet jitsi-meet-prosody jitsi-meet-web jitsi-meet-web-config
5 upgraded, 1 newly installed, 1 to remove and 48 not upgraded.
Need to get 69.9 MB of archives.
After this operation, 3,743 kB of additional disk space will be used.
Do you want to continue? [Y/n]