I have upgraded a server from ubuntu 18.04 to 20.04 today, and also upgraded ispconfig to the latest version. somehow in the process, HHVM appeared and was set as PHP version for the default website on the webserver, so I switched it back to php-FPM, restarted apache2 and now phpinfo() gives error 503. I don't know how this HHVM thing got installed and why it was set as default. I had never heard of it before. I removed and purged HHVM from the server and ran update and upgrade. Now I get how to fix this?
An ISPConfig update does not change the config of websites at all, so the change to HHVM must be caused by something else. Current ISPConfig versions do not even support HHVM anymore, it has been removed a few years ago. This website is still set to HHVM PHP Mode for whatever reason. Go to the website settings, select php-fpm as PHP modeand press save to change the PHP mode of that site. If this does not work, use debug mode to find out why.
yes, I did that already, I set it to FPM already, but the above error keeps coming can you please clarify about debug mode?
https://www.faqforge.com/linux/debugging-ispconfig-3-server-actions-in-case-of-a-failure/ and have a look into the /etc/apacahe2/sites-available/ folder to see if there is a copy of the vhost config file of that site with .err file ending.
To debug an action, you must do that action. In your case, switch the site to php-fpm (or if it#s there already, switch it to php-fcgi mode, press save, and switch back to php-fpm and press save.
You might also want to go through the perfect server guide for Ubuntu 20.04 and run each apt-get install command to ensure that all new required packages are installed.
or has something changed in how to serve the default site? It was as easy as replacing 000-default.conf with dummy.com.vhost or am I mistaken?
I believe lexicographically based on file name, so the default on your system would be: Code: ls -1 /etc/apache2/sites-enabled/ | head -1
that would be @000-apps.vhost so a lot has changed, I don't remember that file from 2012 so if I have created a "website" in the ISPconfig3 interface and a @100.dummy.com.vhost has been created in /etc/apache2/sites-enabled/ how do I make dummy.com the default website on that server? (it's something I did before, I mean in 2012, but it seems a little different today) should this method still work: https://www.howtoforge.com/community/threads/2-essential-add-ons-for-ispconfig3.57539/#post-283623 ??
Nothing has changed since 2012, Apache works still in the same way. I guess @Jesse Norell command is a bit oversimplified as it shows you the first file in alphabetical order, but the vhost in that file must also listen on the right IP and port (which the command can't check). The apps vhost listens on port 8081 and not port 80 and 443, so the apps vhost is not the default vhost of your system. To create a default vhost, add a new website in ISPConfig and use e.g. 000default.tld as domain name. But you must take care that ou also enable SSL and create a self-signed SSL cert for it. and all websites on your server incl. that default vhost must use the same IP (or preferably all use +). never mix IP and *.