Hello there,
I'm using Debian 7 but need to upgrade to Debian 8. I read the instructions from: 1. https://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.e... 2. https://www.virtualmin.com/documentation/system/os/debian-wheezy-to-jess...
In the instructions provided by virtualmin it's not mentioned what to do with virtualmin repositories, so I comment them before upgrade. Another thing not mentioned in the instructions is how to resolve config conflicts. I check all of them for apache config files, spamassassing config file, networking init.d file and accept the new versions. I make some notes to fix only spamassassin config.
After this I received there were problems with: 1. apache2 2. libapache2-mod-php5 3. apache2-mod-php5 4. apache2-mod-prefork 5. mailman
I noticed there is no directory for enabled modules and all sites were disabled (listed only in sites available directory) and no mpm module was loaded. After fixing there problems (enable all modules + mpm-prefork and sites) and make small changes in site configurations (change to Require all granted) I started apache and it was working again. The problem was that php was not parsed and apache returns it as a text. I decide to upgrade virtualmin with hope it will check the configurations and will fix this problem. To upgrade virtualmin I just enable the new repositories and make apt-get update && apt-get upgrade. After this procedure virtualmin was updated but not fully working - and reporting that virtual host can not be configured to be executed as owner of the host because installed packages are from official debian repository (not from virtualmin repo) and the problem with php parsing still exits.
So my question is - is there someone else that upgraded Debian 7 to 8 and can it provide more detailed procedure. If there is no one can you tell me how to tell virtualmin to check and report for configuration problems and to install all required packages from it's repository?
Here is some more info:
After opening virtualmin there is this error:
Here (http://www.virtualmin.com/node/37685) it's written that this is theme problem but I changed the theme and it's still here.
Sites are not working and this is in error-log file:
If someone can help me with this
Howdy,
Starting with the last problem you mentioned, about the sites not working -- if you go into Server Configuration -> Website Options, try changing the PHP Execution Mode to "CGI". That should generate some additional errors in the Apache error log, which will hopefully make it more clear why your websites are having issues.
-Eric
Hi Eric,
thank you for this suggestion. I will try it next time it's possible. Now I'm trying to duplicate the server in virtual machine, so I can test upgrade without stopping the services. I have other question related with this but it is for new thread.
Finally I migrate to Debian 8. It was not as planed (upgrade Debian 7 to Debian 8). Instead of this I used migrate procedure (https://virtualmin.com/documentation/system/migrate):
Make backup with virtual min
``` virtualmin backup-domain --dest /root/backups/ --all-domains --all-features --newformat --all-virtualmin
mount --bind /var/tmpn /tmp chmod 777 /tmp chmod +t
max_allowed_packet = 16M ```
Hope this will help someone.