Question about changing a Zegbee antenna

Show us your current Z2M config, especially the serial section. That error you're seeing is referenced in the troubleshooting link you got, and it's specifically due to incorrect serial configuration. Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT.

Also, what Hardware are you running HA on?