Solved
Restored the backup, reconfigured the apache webserver to default configuration, did the Upgrade, restored my own configuration. Now it’s working. Please change the order you install the files. The .htaccess must be in place before any call to the website is done.