How to deploy umbraco 13 to on prem hosting?

Hi!
I am starting to get really desperate here.

I have built a small website based on Paul seals Clean Starter template.
It works fine on my local dev environment, but now when I want to deploy it to my hosting provider everything goes wrong.

First of all, I have already an existing database and my connectionstring is set up to point to that DB.
But Umbraco still gives me the installation page on first run.
Furthermore, if I go through with the installation page, I cannot browse the site, only the backoffice works. On the site I get runtime errors complaining about my classes doesn’t exist.

I would really appreciate some pointers here since I am stuck and this site needs to be published as soon as possible.

I am using visual studio and I have tried different publish settings. The files are uploaded to the hosting provider via FTP.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/113669-how-to-deploy-umbraco-13-to-on-prem-hosting