Hello, we’ve just moved an alpha8 LibreTime install in an Ubuntu 16.04 server to a v63db4e0b8 (nov30) install in a 18.04 server. (we found a Xmrig Trojan eating all the cpus in the 16.04 server a couple of days ago, but that’s another story)
We followed the backup guide in libretime.org/backing-up-the-server and it seemed to work allright except that we changed the hostname in the process and got to the RabbitMq issues point
The “new” thing to me was that after following the steps in libretime.org/troubleshooting#rabbitmq-hostname-changes (which I’ve done quite a few times already) I was still getting a message related to Rabbitmq but with a different bit:
airtime_analyzer.log
[message_listener] [ERROR] Connection to message queue failed.
[message_listener] [ERROR] (403, "ACCESS_REFUSED - access to exchange 'airtime-uploads' in vhost '/airtime' refused for user 'airtime
[message_listener] [INFO ] Retrying in 5 seconds...
The “airtime-uploads” part was new to me or at least I haven’t seen it before.
Checking the related part in the guide above:
rabbitmqctl set_permissions -p /airtime airtime
"airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor"
"airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor"
"airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor"
I realized the “airtime-uploads” part wasn’t present in the command but I wasn’t sure if it was implied in those permissions.
I listed the permissions set with:
#rabbitmqctl list_permissions -p /airtime
Listing permissions in vhost "/airtime"airtime airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor
After trying a couple of times and searching a bit without success I just tried adding the required permission to the ones in the guide doing:
rabbitmqctl set_permissions -p /airtime airtime "airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor|airtime-uploads" "airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor|airtime-uploads" "airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor|airtime-uploads"
Now I get :
# rabbitmqctl list_permissions -p /airtime
Listing permissions in vhost "/airtime"
airtime airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor|airtime-uploads airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor|airtime-uploads airtime-pypo|pypo-fetch|airtime-analyzer|media-monitor|airtime-uploads
and LibreTime seems to be working ok.
My questions are:
-Should the migration from alpha8 in ubuntu16 to v63db4e0b8 in ubuntu18 work ok?
I mean not only the database import and store folder copying but with the Libretime functioning itself.
-Are there any other things I should check in the new install?
-Are the docs outdated regarding RabbitMQ hostname changes?
as usual, thanx a lot,
Matias