NR 5.0.1 - Repeated Node-RED must be restarted to enable upgraded modules

After upgrading a pi to 5.0.1 (from 4), and nodejs upgrade to 24 (using the script) I see the 'Node-RED must be restarted to enable upgraded modules' popup when I refresh the page, even after restarts. There is nothing obvious in the log and node-red appears to be functioning normally.

Any suggestions as to what I should look at to diagnose what might be causing it?

Aargh! Too many terminal windows open. I was restarting the wrong one. Sorry for the noise.