I reverted back to a backup with a empty data path and the upgrade was now successful, but not flawless.
After updating the docker image, the log showed the following:
but stuck then at 1 cpu core 100%. I did let it run for 2 hours just to be sure but nothing happened. The webinterface was not working.
I restarted the docker and then the webinterface was showing the upgrade page.
After I switched back to my real data path, it did want to update mail (and this time also notes) again as seen above. I removed the appdata_xxxxx folder in the data dir and NC20 is finally running.
I tried to use the old database with this install but it gets a internal error. There must have happened something to it. So what I am missing now is a day of file uploads.