• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

[How to] Upgrade Plesk 8.1.1 on Debian 3.1 to Plesk 8.2 on Debian 4.0

D

Daniel15

Guest
This upgrade is actually quite simple :)
1) Download the Plesk 8.2 autoinstaller for Debian 3.1 from http://www.swsoft.com/en/download/plesk82/. Upgrade your current installation and make sure everything works fine
2) Edit your /etc/apt/sources.list file and change all "sarge" references to "etch". For example, this is what my file looks like:
Code:
deb [url]http://204.152.191.7/debian/[/url] etch main
deb-src [url]http://204.152.191.7/debian/[/url] etch main
deb [url]http://security.debian.org[/url] etch/updates main

deb [url]http://packages.dotdeb.org[/url] etch all

deb [url]http://autoinstall.plesk.com/debian/PSA_8.2.0[/url] etch all
Make sure the Plesk line says "PSA_8.2.0"
3) Update the package listing by running apt-get update
4) Perform the upgrade by running apt-get dist-upgrade

I've just done this, and haven't encountered any large problems so far. One minor problem is that /etc/crontab is overwritten by the Debian upgrade. After the upgrade, open your /etc/crontab file and change it to:
Code:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#


23 17 * * * root /opt/php52/bin/php5 /opt//sitebuilder/utils/update_key.php > /dev/null 2>&1
26 * * * * root /opt/php52/bin/php5 /opt//sitebuilder/utils/clear_trial_sites.php  > /dev/null 2>&1
12 11 * * 0 root /opt/php52/bin/php5 /opt//sitebuilder/utils/sip1.php   > /dev/null 2>&1
12 11 * * 0 root /opt/php52/bin/php5 /opt//sitebuilder/utils/sip2.php   > /dev/null 2>&1
*/5 * * * * root (cd /opt/sitebuilder/utils && /opt/php52/bin/php5 tasksmng.php > /dev/null 2>&1)

Another minor problem was that this error popped up:
Code:
===> Preparing upgrade
 Trying to backup MySQL database... done
 MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.dump.gz
/var/lib/dpkg/tmp.ci/preinst: line 4473: PREPARE_FUNCTIONS_82: command not found
It is problem with inet daemon
I'm not sure whether this is bad or not (I've got no idea what "PREPARE_FUNCTIONS_82" is actually meant to be :p)

Anyways, hope I helped someone :D. Like I said, I haven't encountered any major problems (my sites still work fine), but I'll try and post back here if I find anything.
 
Back
Top