Page 1 of 1

Update Issues from Wheezy to Jessie

Posted: Fri Jul 07, 2017 8:51 am
by donat
Hi,

I have following issues after upgrading from wheezy to jessie:

Code: Select all

apache2 (2.4.10-10+deb8u9) wird eingerichtet ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
IP.conf  letsencrypt.conf  phpmyadmin.conf  phppgadmin  vesta.conf
apache2: Syntax error on line 105 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/vesta.conf: Syntax error on line 31 of /home/admin/conf/web/apache2.conf: No matches for the wildcard 'apache2.Domain.conf*' in '/home/admin/conf/web', failing (use IncludeOptional if required)
ERROR: Config file rpaf.conf not properly enabled: /etc/apache2/mods-enabled/rpaf.conf is a real file, not touching it
dpkg: Fehler beim Bearbeiten des Paketes apache2 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von apache2-mpm-prefork:
 apache2-mpm-prefork hängt ab von apache2 (= 2.4.10-10+deb8u9); aber:
  Paket apache2 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes apache2-mpm-prefork (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von apache2.2-common:
 apache2.2-common hängt ab von apache2 (>= 2.3~); aber:
  Paket apache2 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes apache2.2-common (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von libapache2-mod-php5:
 libapache2-mod-php5 hängt ab von apache2 (>= 2.4); aber:
  Paket apache2 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes libapache2-mod-php5 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 apache2
 apache2-mpm-prefork
 apache2.2-common
 libapache2-mod-php5
E: Sub-process /usr/bin/dpkg returned an error code (1)
I saw, that in the file /etc/apt/sources.list.d/vesta.list there was still wheezy instead of jessie

Code: Select all

deb http://apt.vestacp.com/wheezy/ wheezy vesta
When I change this, what are the next steps?

Kind regards
Don

Re: Update Issues from Wheezy to Jessie

Posted: Fri Jul 07, 2017 10:05 am
by donat
Could it also be a problem, because the upgrade made also a version upgrade from apache 2.2 to apache 2.4? Where are the challenges for this?

Re: Update Issues from Wheezy to Jessie

Posted: Fri Jul 07, 2017 1:33 pm
by donat
I had finally luck!

I had to change the Config-Files manually according to this documentation: Https://httpd.apache.org/docs/current/upgrading.html

And also changed in the /etc/apache2/apache2.conf file the line

Code: Select all

LockFile ${APACHE_LOCK_DIR}/accept.lock
into

Code: Select all

Mutex sem
and several "apt-get upgrade" it was working.

Maybe there would be a better way to upgrade, than my style ;-). So a doc would be great for next release upgrade.