Tried upgrading today. I also tried upgrading using the 'Updates' menu. After downloading, reboot and install, the device rebooted, showing the Google screen. This took more then 10 minutes so I rebooted the device. The reboot showed the Google screen again so after 10 minutes I turned of the device.
So I tried to connect the device to my PC with Manjaro, and install with the Ubports installer. This was a smooth process, until I reached the Google screen again. I left it and went for a coffee. That helped. I think it took half an hour before the next screen appeard with the UBport logo. So, be patient!
So when entering the unlock code, it restarted Lomiri. This repeated after entering the unlock code. So, shut down the device, and turned it on again. Now I got another screen after unlocking the phone. It needed to prepair some things ... After that the phone worked correctly.
This is not the answer for @WillemHexspoor but I hope it helps others.