This happens only when docker Xray was installed and upgraded by non-root user, resulting in following logs:
Creating xray_rabbitmq_1
ERROR: Failed to backup Rabbitmq definitions during upgrade process!!!
ERROR: Upgrade failed
The problem is with the user permission of docker installer but there's a way to workaround it without changing the permission if you encounter this error when upgrading the xray.