• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Latest Plesk 8 update breaks things

Pagemakers

Silver Pleskian
Just done the latest Plesk 8 update that became available this morning. Now horde has stopped working as well as all of my 4PSA applications.
 
You are correct. I just upgraded one server running Plesk 8 and webmail no longer works.
 
Thank you, thank you! I did that and restarted httpd.

It's back up.
 
Originally posted by jusu313
Run this guys:
/usr/local/psa/admin/bin/websrvmng -a

Thanks, this works, but what does the command actually do? What did the Plesk update do to break things?
 
Plesk told me "It seems that old config files for apache are the reason. Since Plesk 8.0 a file /etc/httpd/conf/httpd.include was moved to /etc/httpd/conf.d/zz010_psa_httpd.conf"
 
Have the same issues as descriped. My 4PSA Tools are still broken (i guess the apache alias are not definied anymore)

... any idea how i can solve that issue?
 
Originally posted by Pagemakers
Got mine sorted. You need to go the 4PSA website and re-download and install the apps again.

Thats something i don't want to do. Reinstalling is not a solution in my humble oppinion. I reinstalled the past days plesk8 over and over again because something got ****ed by something (f.e. removing spamassassin)

... i am tired of this procedure.

Wrote the 4psa support, maybe they have an other solution :)
 
my plesk is broken after last update, each domain shows a apache default page for fedora core 4. Can anyone help?
 
Having the same issue:

After update all my domains show a default server noindex page (aka Red Hat Enterprise Test Page).

Any solutions are appreciated.
 
I am thinking the following file:

/etc/httpd/conf.d/zz010_psa_httpd.conf

Didn't get rebuilt completely as it only contains:

ServerName myservername.com

If someone could be so kind as to post what is in there file if it is more than just the servername that would be fantastic.
 
Originally posted by chillax
I am thinking the following file:

/etc/httpd/conf.d/zz010_psa_httpd.conf

Didn't get rebuilt completely as it only contains:

ServerName myservername.com

If someone could be so kind as to post what is in there file if it is more than just the servername that would be fantastic.

You are correct, /etc/httpd/conf.d/zz010_psa_httpd.conf
should contain more. I was having same problem, i checked the file and it contained the one line mentioned above.

What i did to resolve this issue, was to create a test domain with standard forwarding, which in turn rebuilt the above mentioned file.

My file is now quite big, and cant really be posted, but i will post the format it should take
 
<b>This is the format that your file should look</b>

NameVirtualHost 00.00.00.1:80
NameVirtualHost 00.00.00.2:80
NameVirtualHost 00.00.00.1:443
NameVirtualHost 00.00.00.2:443
ServerName AccountNo.domain-name.info
ServerAdmin [email protected]

DocumentRoot /var/www/vhosts/default/htdocs

<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<Directory "/var/www/vhosts">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>

<Directory "/usr/lib/mailman">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>

<IfModule mod_userdir.c>
UserDir disabled
</IfModule>
Include /var/www/vhosts/domain.co.uk/conf/httpd.include

<VirtualHost \
00.00.00.1:80 \
00.00.00.2:80 \
>
ServerName default
UseCanonicalName Off
DocumentRoot /var/www/vhosts/default/htdocs
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory "/var/www/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/vhosts/default/htdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
</IfModule>
</Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost 00.00.00.1:443 >
ServerName default-00-00-00-2
UseCanonicalName Off
DocumentRoot /var/www/vhosts/default/httpsdocs
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-HSJ8Xg
<Directory "/var/www/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/vhosts/default/httpsdocs>
SSLRequireSSL
</Directory>
</VirtualHost>

<VirtualHost 00.00.00.2:443 >
ServerName default-00-00-00-2
UseCanonicalName Off
DocumentRoot /var/www/vhosts/default/httpsdocs
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-HSJ8Xg
<Directory "/var/www/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/vhosts/default/httpsdocs>
SSLRequireSSL
</Directory>
</VirtualHost>

</IfModule>

<VirtualHost \
00.00.00.1:80 \
00.00.00.2:80 \
>
DocumentRoot /usr/share/psa-horde/
Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<Directory /usr/share/psa-horde>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost \
00.00.00.1:443 \
00.00.00.2:443 \
>
DocumentRoot /usr/share/psa-horde/
Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /etc/httpd/conf/httpd.pem
<Directory /usr/share/psa-horde>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log/psa-horde:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
SSLRequireSSL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


</IfModule>

<VirtualHost \
00.00.00.1:80 \
00.00.00.2:80 \
>
DocumentRoot /var/www/vhosts/default/htdocs
ServerName lists
ServerAlias lists.*
UseCanonicalName Off
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /icons/ /var/www/icons/
Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /usr/lib/mailman/archives/>
Options FollowSymLinks
</Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost \
00.00.00.1:443 \
00.00.00.2:443 \
>
DocumentRoot /var/www/vhosts/default/httpsdocs
ServerName lists
ServerAlias lists.*
UseCanonicalName Off
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /icons/ /var/www/icons/
Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /usr/lib/mailman/archives/>
Options FollowSymLinks
</Directory>
</VirtualHost>


</IfModule>

Include /var/www/vhosts/domainname.com/conf/httpd.include

Include /var/www/vhosts/domainname.info/conf/httpd.include

Include /var/www/vhosts/anothername.com/conf/httpd.include



<VirtualHost 82.165.36.122:80>
ServerName a-domain-name.com
ServerAlias www.a-domain-name.com
ServerAdmin "[email protected]"
RedirectPermanent / "http://www.a-domain-name.co.uk/"
</VirtualHost>
 
Thanks, I did get it fixed last night by rebuilding all virtual hosts using:

/usr/local/psa/admin/bin/websrvmng -a

For some reason, when I was trying to do:

/usr/local/psa/admin/bin/websrvmng -ar

It was not getting the job done.
 
Our sites went to the default page, but after an apache restart all was back to normal.

Although overkill we stopped and restarted psa as well and have found no problems throughout.

Webmail works fine as well too.

We're on a 1and1 server, too, which as all 1n1 clients knows, upgrades can be a bit tedious.
 
I applied this latest patch yesterday, after 5 mins of applied, I noticed webmail gone, just by guessing, I ran

/usr/local/psa/admin/bin/websrvmng -a

and then restarted apache.

problem solved. apparently the latest patch doesnt run it, or changes something.

further the webmail problem I havent had any other issue, and if I had, was solved by the reconfiguration script.

regards,
 
Back
Top