• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Cannot complete upgrade

Loic66

New Pleskian
Hello,

I have been trying to upgrade from 11.0.8 to 12.0.5 but have encountered various issues - after running the bootstrapper multiple times and applying fixes found in the forum and kb my plesk is still unavailable. At this stage I dont know what to do since everything seems to work except the mail services. I also have a lot of folders at variious places on my server that corresponds to the different versions of plesk. Which one can I safely delete ?

Thanks,

Loïc





**** Product repair started.

===> Checking for previous installation ... found.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Trying to start service mysql... /usr/sbin/mysqld (pid 38140) is running...
done
Trying to establish test connection... connected
done
Trying to start service mysql... /usr/sbin/mysqld (pid 38140) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Version is OK, no need to create psa database.
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.11.0.9-12.0.18.20150826-134043.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.apsc.11.0.9-12.0.18.20150826-134044.dump.gz
===> Cumulative upgrade and repair of APS controller database has been completed.
Connection to APSC DB is possible
===> Cumulative APS controller upgrade and repair (final stage) has been started.
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
Trying to reset database user password for 'pma_wKCULOYlcStU@'... done
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
Trying to resolve hostname 'sd-49300.dedibox.fr' and validate its IP address... done

Trying to set psa database version to 012000018... done
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
Database is up-to-date
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
Trying to create subscription records... done
Trying to add SDK service: PleskDns... The 'PleskDns' installation has been added
The 'PleskDns' instances have been added
Trying to add SDK service: PleskFileSystem... The 'PleskFileSystem' installation has been added
The 'PleskFileSystem' instances have been added
Skip qmail specific upgrade actions
Trying to update check-quota handler recipients address column in handlers DB... done
Trying to Create subscription records... done
Trying to Move limits and permissions from main domain of subscription to subscription properties... done
Trying to rename mailboxes to lower case format...
WARNING!
Some problems are found during rename mailboxes to lower case format. Please run /opt/psa/bin/repair --convert-mailboxes-to-lowercase manually.(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to register service sw-engine... update-rc.d: /etc/init.d/sw-engine: file does not exist
done
Trying to reload service postfix... done
Trying to drop unused 'statistics' directory from vhost skeletons... done
Trying to upgrade vhost directories for domains... done
done
Trying to register service bind9... System start/stop links for /etc/init.d/bind9 already exist.
done
Trying to restart service bind9... * Stopping domain name service... bind9
...done.
* Starting domain name service... bind9
...done.
done
Trying to drop header inclusion 'X-No-Auth: unauthenticated sender' from postfix... done
Trying to drop header inclusion 'X-No-Relay: not in my network' from postfix... done
Trying to reload service postfix... done
Trying to register service rsyslog... update-rc.d: warning: /etc/init.d/rsyslog missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
System start/stop links for /etc/init.d/rsyslog already exist.
done
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service rsyslog restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop rsyslog ; start rsyslog. The restart(8) utility is also available.
rsyslog stop/waiting
rsyslog start/running, process 46143
Trying to reinstall chained SSL certificates... INFO: Rebuilding certificate default certificate...
SSL certificates were successfully reinstalled.
done
Trying to reload service postfix... done
Starting forced Plesk Key upgrade task
After end of upgrade for 'core' (stage 'post') following actions are registered as failed: 20130709174500-mailname_to_lowercase_11_1_15 20140327125800-upgrade_postfix_12_0_12.
===> Plesk was not upgraded completely. See installation log for details.
Trying to upgrade and repair Courier-IMAP services configuration (prep stage)... Upgrade or repair for 'courier_imap' (stage 'prep') is not required
done
Trying to upgrade and repair Courier-IMAP services configuration (post stage)... Trying to upgrade Courier-IMAP services configuration files via sysconftool...
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 12267: /usr/lib/courier-authlib/sysconftool: No such file or directory
Trying to upgrade Courier-IMAP services configuration files via sysconftool...
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh: line 12267: /usr/lib/courier-authlib/sysconftool: No such file or directory
After end of upgrade for 'courier_imap' (stage 'post') following actions are registered as failed: 20130506173342-courier_imap_sysconftool_upgrade 20140428141000-courier_imap_sysconftool_upgrade 20140428143000-courier_imap_services_action 20130506173342-courier_imap_sysconftool_upgrade 20140428141000-courier_imap_sysconftool_upgrade.

WARNING!
Some problems are found during upgrade and repair Courier-IMAP services configuration (post stage)(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to upgrade and repair Courier-IMAP services configuration (bootstrapper-post stage)... Trying to restart service courier-imapd... invoke-rc.d: unknown initscript, /etc/init.d/courier-imapd not found.
invoke-rc.d: unknown initscript, /etc/init.d/courier-imapd not found.

WARNING!
Some problems are found during restart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to restart service courier-imaps... invoke-rc.d: unknown initscript, /etc/init.d/courier-imaps not found.
invoke-rc.d: unknown initscript, /etc/init.d/courier-imaps not found.

WARNING!
Some problems are found during restart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to restart service courier-pop3d... invoke-rc.d: unknown initscript, /etc/init.d/courier-pop3d not found.
invoke-rc.d: unknown initscript, /etc/init.d/courier-pop3d not found.

WARNING!
Some problems are found during restart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to restart service courier-pop3s... invoke-rc.d: unknown initscript, /etc/init.d/courier-pop3s not found.
invoke-rc.d: unknown initscript, /etc/init.d/courier-pop3s not found.

WARNING!
Some problems are found during restart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

After end of upgrade for 'courier_imap' (stage 'bootstrapper-post') following actions are registered as failed: 20130506173342-courier_imap_sysconftool_upgrade 20140428141000-courier_imap_sysconftool_upgrade 20140428143000-courier_imap_services_action 20130506173342-courier_imap_sysconftool_upgrade 20140428141000-courier_imap_sysconftool_upgrade 20140428143000-courier_imap_services_action.

WARNING!
Some problems are found during upgrade and repair Courier-IMAP services configuration (bootstrapper-post stage)(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to condrestart service courier-imapd... invoke-rc.d: unknown initscript, /etc/init.d/courier-imapd not found.

WARNING!
Some problems are found during condrestart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to condrestart service courier-imaps... invoke-rc.d: unknown initscript, /etc/init.d/courier-imaps not found.

WARNING!
Some problems are found during condrestart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to condrestart service courier-pop3d... invoke-rc.d: unknown initscript, /etc/init.d/courier-pop3d not found.

WARNING!
Some problems are found during condrestart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to condrestart service courier-pop3s... invoke-rc.d: unknown initscript, /etc/init.d/courier-pop3s not found.

WARNING!
Some problems are found during condrestart(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Continue...

Trying to upgrade and repair Horde webmail configuration... Trying to generate random password for Horde Web Based mail client...
ERROR while trying to chown root:horde_sysgroup /etc/psa-webmail/horde/.horde.shadow
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log), fix and try again

Can't handle upgrader critical failure - upgrader state is broken. Probably a programming error.
 
HI Loic66,

WARNING!
Some problems are found during rename mailboxes to lower case format. Please run /opt/psa/bin/repair --convert-mailboxes-to-lowercase manually.(see log file: /var/log/plesk/install/plesk_12.0.18_repair.log)

Did you run the command "/opt/psa/bin/repair --convert-mailboxes-to-lowercase" manually, as suggested by boostrapper? If yes... what was the output over the command line, when executing the command?

After end of upgrade for 'core' (stage 'post') following actions are registered as failed: 20130709174500-mailname_to_lowercase_11_1_15 20140327125800-upgrade_postfix_12_0_12.
===> Plesk was not upgraded completely. See installation log for details.

Tells you again, that the upgrade was not finished, due to previous failures at this stage.​


After the suggestion, please run bootstrapper repair again and post again the new log - file, if you experience any further issues. ( You could use the "insert Code" BB_Code, so that your log - files are in a CODE - format and users are able to investigate the log faster! ).
 
root@sd-49300:~# /opt/psa/bin/repair --convert-mailboxes-to-lowercase
PHP Notice: Undefined index: PARAMETERS; File: /opt/psa/admin/plib/CommonPanel/Exception.php, Line: 266

SQLSTATE[HY000] [2002] No such file or directory
 
Last edited:
Hi Loic66,

could you please try to run:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base

and afterwards try again the provided command to repair the mailboxes, please.
 
Les patches ont bien été installés (The patches have been installed)

root@sd-49300:~# /opt/psa/bin/repair --convert-mailboxes-to-lowercase
This operation is not supported by the service node.

(I have had this message previously - maybe some permission problem ?)
 
Hi Loic66,

ah... have you got CentOS installed?... then please use:

/usr/local/psa/bin/repair --convert-mailboxes-to-lowercase

The path "/opt/psa/" is only for Ubuntu/Debian - based systems.... sorry...
 
Last edited by a moderator:
Hi Loic66,

first, please check if the Plesk Control Panel is reachable over "http://your_server_domain:8880". If this is the case, please remove the Plesk - "service-node-agent" with the command:

apt-get remove --purge plesk-service-node-agent

Afterwards, please restart psa and sw-cp-server with:

/etc/init.d/psa restart
/etc/init.d/sw-cp-server restart

Explanation:
On some very cases, the upgrade from 11.5 to 12.05 is unfinished and "/etc/sw-cp-server/conf.d/agent.conf" still exists, even that it might not be necessary for your system.


To continue, please try again the previous command "/usr/local/psa/bin/repair --convert-mailboxes-to-lowercase" to continue your still unfinished upgrade. Report possible issues and still continue afterwards with a new bootstrapper repair procedure, please. If you experience further issues, please include as well the new bootstrapper repair log.
 
Good morning,

root@sd-49300:~# apt-get remove --purge plesk-service-node-agent
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet plesk-service-node-agent

I dont see the file you mention

root@sd-49300:/etc/sw-cp-server/conf.d# dir
apsc.conf.dpkg-new cbm.inc.dpkg-new plesk.inc.dpkg-new
cbm-fcgi.inc.dpkg-new plesk.conf.dpkg-new wpb.inc.dpkg-new
 
I cannot access control panel, neither can I start psa ....

I also have another issue:

ERROR while trying to chown root:horde_sysgroup /etc/psa-webmail/horde/.horde.shadow
chown: groupe non valide: «root:horde_sysgroup»



PSA is down, performing full restart.
Starting xinetd service... done
Starting mysql service... done
Starting bind9 service... done
Starting postgresql service... done
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... Unable to find start/stop script for 'courier-pop3d'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-pop3s'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imapd'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imaps'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-authdaemon'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-pop3d'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-pop3s'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imapd'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imaps'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-authdaemon'

System error 2: No such file or directory
failed
Starting psa...
 
I guess there are missing files :

root@sd-49300:/usr/lib/plesk-9.0/remote_mail_restore# dir
mail_auth_dump mail_outgoing_restore
mail_imap_restore mail_transport_restore

Is there a way to fix that mail server ????

root@sd-49300:/ # /usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... fail
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_imap_restore... fail
==> Checking for: mail_spam_restore... fail
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not found, skipped
==> Checking for: mail_outgoing_restore... fail
==> Checking for: mail_transport_restore... fail
Unable to find start/stop script for 'courier-pop3d'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-pop3d'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-pop3s'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-pop3s'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imapd'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imapd'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imaps'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-imaps'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-authdaemon'

System error 2: No such file or directory
Unable to find start/stop script for 'courier-authdaemon'

System error 2: No such file or directory
Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib/plesk-9.0/remote_mail_restore/mail_auth_dump
/usr/lib/plesk-9.0/remote_mail_restore/mail_imap_restore
/usr/lib/plesk-9.0/mail_spam_restore
/usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
/usr/lib/plesk-9.0/remote_mail_restore/mail_transport_restore
 
It has been two days since my server is down - customers are calling me ...

I am paying 10$ everymonth for this licence and I don't understand why there is no support in cases like upgrading - I see that people experiencing a lot of issues with upgrading plesk and those issues are not met by the company that develop, maintain and cash in the money for the software. I am very disappointed!
 
Thanks to Odin support, my sites are online and I got a new plesk - hope I wont need another update in the near future ... ;)
 
Back
Top