ST P-Nucleo-LRWAN2 stopped working

Yes, it’s being sent in the EU868 join RX2 window, which uses fixed settings.

That might hint at your problem though: TTN normally uses non-standard RX2 settings of SF9BW125, but for join RX2 still needs standard SF12BW125.

It’s possible that if your node has been configured for TTN, it’s mistakenly listening during join RX2 at SF9 rather than SF12, by confusing what it would be told in the join accept to do for ordinary (not join) RX2.