Cleaning the disk and removing the previous database did nothing.
...
After upgrading from Windows server 2008 R2 to Windows server 2012 R2 and reinstalling WSUS, there was always an error that the post-installation task WSUS could not be completed.