store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Sun Dec 15, 2019 7:15 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Plesk 10 to Plesk 12
Unread postPosted: Fri Nov 28, 2014 7:24 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
I'm about to upgrade a few Plesk 10.4.4 installations to 12.x

I usually do so via Migrations, but on this occasion I'm thinking of doing in-place upgrades.

All the systems have ASL installed.

Can anybody who has already done this give me any hints as to the kind of problems I'm likely to encounter and how to deal with them?

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 10 to Plesk 12
Unread postPosted: Fri Nov 28, 2014 10:46 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
Never had any major issues with in-place upgrades, here's some tips (assuming you run CentOS 6):

First: read the badly written docs for pre-upgrade requirements! ;-)
http://download1.parallels.com/Plesk/PP ... ion-guide/

You may want to run the pre-upgrade checker for an upgrade to Plesk 11.5 (yeah, it's fine for 12.0 upgrades):
Code:
wget http://kb.parallels.com/Attachments/kcs-441/plesk115_preupgrade_checker.zip
unzip plesk115_preupgrade_checker.zip
rm -f plesk115_preupgrade_checker.zip
php -d safe_mode=Off -d disable_functions="" plesk115_preupgrade_checker.php `cat /etc/psa/.psa.shadow`


Everything OK? Download and run the latest autoinstaller:
Code:
mv ~/.my.cnf ~/.my.cnf.backup
wget http://autoinstall.plesk.com/plesk-installer
chmod +x plesk-installer
./plesk-installer --console


After having upgraded, don't forget to (in this order):
- Restore any custom limits you have set to the POP/IMAP mail server.
- Qmail? Restore any custom xinetd limits.
- SSL? Configure your own SSL certificate for POP, IMAP, SMTP and FTP.
- Horde? -> remove temp files with "rm -rf /tmp/.horde"
- Re-apply POODLE mitigation, see http://kb.sp.parallels.com/en/123160
- ASL firewall? Remove references to port 8880 in Plesk default vhost and skeleton files
- No IPv6? Configure local named with -4 option.
- Check if there are mail boxes with capital letters: mysql -uadmin -p$(cat /etc/psa/.psa.shadow) psa -e "select mail_name from psa.mail where mail_name regexp binary '[A-Z]';" and change them to lowercase.
- Perhaps you also want to disable the automatic redirect of domain aliases (which can seriously mess up together with other domain rewrites): mysql -uadmin -p$(cat /etc/psa/.psa.shadow) -D psa -Nse "select name from domain_aliases;" | xargs -i plesk bin domalias -u {} -seo-redirect false (tip: temporarily set your apache restart interval time to a high value in Plesk before doing this on a server with a lot of domains)
- Regenerate the mailserver configuration via "/usr/local/psa/admin/sbin/mchk"
- Regenerate the webserver configuration via "/usr/local/psa/admin/bin/httpdmng --reconfigure-all"
- If you are using qmail-scanner, run "yum reinstall -y qmail-scanner"
- If you are using ASL, run "yum reinstall -y psa-proftpd" and "asl -s -f"

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 10 to Plesk 12
Unread postPosted: Sat Nov 29, 2014 6:27 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
That's exactly what I wanted to know. THANK YOU!

I'm a little confused over some things if you could help me out please?

> Check if there are mail boxes with capital letters
Is there something different in Plesk 12 that causes problems with capitals in mailbox names? In 10.4.4, the email client has to use the same capitals if they have created a mailbox with capitals. I assume something has changed in 12?

> Perhaps you also want to disable the automatic redirect of domain aliases (which can seriously mess up together with other domain rewrites)
Can you give more details please? I don't understand this at all :-)

> Regenerate the mailserver configuration via "/usr/local/psa/admin/sbin/mchk"
Not: --with-spam ?

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 10 to Plesk 12
Unread postPosted: Sun Nov 30, 2014 9:45 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 01, 2006 2:45 pm
Posts: 573
Location: Netherlands
faris wrote:
That's exactly what I wanted to know. THANK YOU!

I'm a little confused over some things if you could help me out please?

> Check if there are mail boxes with capital letters
Is there something different in Plesk 12 that causes problems with capitals in mailbox names? In 10.4.4, the email client has to use the same capitals if they have created a mailbox with capitals. I assume something has changed in 12?


I have seen weird issues due to Plesk not always being consistent in how to deal with being case (in)sensitive in different parts of their software. Just lowercase it all to be sure. For end-users it doesn't matter, since e-mail addresses are case insensitive. You should also learn your end-users not to apply mixed casing where it doesn't make sense.

Quote:
> Perhaps you also want to disable the automatic redirect of domain aliases (which can seriously mess up together with other domain rewrites)
Can you give more details please? I don't understand this at all :-)


Plesk redirects domain aliases to the main domain by default using ModRewrite. This is definitely something that you will want to turn off to prevent issues such as endless loops in case you are using ModRewrite rules yourself.

Quote:
> Regenerate the mailserver configuration via "/usr/local/psa/admin/sbin/mchk"
Not: --with-spam ?


Only if you are using the Plesk anti-spam tools. And you wouldn't if you are using qmail-scanner.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
Reply with quote  
 Post subject: Re: Plesk 10 to Plesk 12
Unread postPosted: Mon Dec 01, 2014 6:39 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 2321
Thank you! That's really extremely useful.

This mod_rewrite thing for domain aliases is very interesting. Hmm.....

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group