An in-place upgrade is supported but never recommended, a better option may be to clean install it, patch fully, add the RRAS role, restore the configuration.
https://directaccess.richardhicks.com/2019/07/22/error-importing-windows-server-rras-configuration/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--