Ok fixed all the issues::
figured it out myself
1. changing docroot: from customercontrolpanel.de/produkte.php -> administration and configuration of domain -> edit settings -> docroot (cannot change it from plesk directly)
2. symlink was not working because of the weird base_directory. I'm not sure why, but my cli uses '/domain.com/httpdocs' as webroot (__DIR__) but the website (accessed from web) uses '/var/www/vhosts/hosting___.___.netcup.net/domain.com/httpdocs/' as webroot (__DIR__). And if we try to use opposite, it doesn't work for either place. Then I used relative symlink public > ln -sr ../storage/app/public storage. It worked like a charm
3. For the same reason as (2), after using php artisan optimize or php artisan config:cache, I updated all the strings using '/domain.com/httpdocs' to '/var/www/vhosts/hosting___.___.netcup.net/domain.com/httpdocs/'. Fixed
Thank you
We need the netcup support to fix these. The support is kind of slow and doesn't reply to replies ![]()