Thank you! :)
It finally works!
I spent the day trying the "Advanced install with Apache". The certificates worked but not much else... So I started again with Debian 9 and the installation worked without errors this time. But... ended with a 404 error on teslamate page, car_id=1 timeout error...