• 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.

Issue Plesk migration - Dovecot is not installed on the destination server. Fail

Pedro1

Basic Pleskian
Hello.

I want to migrate a subscription from:
Server A. Plesk versión: 12.5.30 update 55# with Postfix and Dovecot mail service active. SO: Debian 8.6
to Server B . Plesk Onyx: 17.0.17 update 9# with Postfix and Dovecot mail service active. SO: Debian 8.6

When I tray to migrate the subscriptions from server A to Server B the migration tool show this error message:
Dovecot is not installed on the destination server.
Please install Dovecot by using Plesk Installer.


But its not true, becasue I have dovecot and postfix in both servers.

What can I do?
Regards
Pedro
 
On destination server check that dovecot is listed as installed in Tools&Settings->Server Components
Click "Refresh" button there.
Try to reinstall it with

# plesk installer --select-release-current --remove-component dovecot
# plesk installer --select-release-current --install-component dovecot
 
Oh man.
Something was wrong to reinstall Dovecot. I cant acces to Plesk panel again. Error 403 Forbidden

First at all. I saw that dovecot was installed.
Then I've followed your steps and I try to reinstall it.
Remove firts.

Code:
plesk installer --select-release-current --remove-component dovecot
....
Checking for installed packages... 
Downloading .....
.....
Registering i386 architecture support
Synchronizing the Debian APT package index files...
...
Downloading file PSA_17.0.17/plesk-17.0.17-deb8.0-x86_64.inf3: 0%
....
Registering i386 architecture support
Synchronizing the Debian APT package index files...
...
Fetched 1107 kB in 3s (291 kB/s)
Reading package lists...
W: Duplicate souces.list entry http://autoinstall.plesk.com/debian/PMM_0.1.10/ jessie/all amd64 Packages (/var/lib/apt/lists/autoinstall.plesk.com_debian_PMM%5f0.1.10_dists_jessie_all_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
Detecting installed product components.
The following components will be removed because they conflict with the components you selected to install or require the components you selected to remove: 'postfix'
OK
Synchronizing the Debian APT package index files...
..
Fetched 61.7 kB in 3s (19.4 kB/s)
Reading package lists...
W: Duplicate souces.list entry http://autoinstall.plesk.com/debian/PMM_0.1.10/ jessie/all amd64 Packages (/var/lib/apt/lists/autoinstall.plesk.com_debian_PMM%5f0.1.10_dists_jessie_all_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
Retrieving information about the installed license key...
Launching component and product checkers...
Downloading file PSA_17.0.17/examiners/disk_space_check.sh: 0%
Downloading file PSA_17.0.17/examiners/disk_space_check.sh: 100% was finished.
Checking whether the package dependencies are resolved.
Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  bsd-mailx* plesk-config-troubleshooter* plesk-core* plesk-dovecot*
  plesk-dovecot-core* plesk-dovecot-imap-driver* plesk-dovecot-pigeonhole*
  plesk-l10n* plesk-mail-pc-driver* plesk-management-node* postfix*
  postfix-pcre* psa-drweb-configurator* psa-mail-driver-common*
  psa-spamassassin* psa-updates*
0 upgraded, 0 newly installed, 16 to remove and 0 not upgraded.
After this operation, 167 MB disk space will be freed.
...
Stopping sw_engine service... done
Purging configuration files for plesk-core (17.0.17-debian8.0.build1700161028.14) ...
dpkg: warning: while removing plesk-core, directory '/opt/psa/lib/modules/python/cfgmon' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/lib/modules/python/reconfig' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/application/smb/public/images/services' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/logs' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/htdocs/theme-skins' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/htdocs/modules' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/htdocs/images/logos' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/sbin/modules' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/plib/modules' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/plib/pm/Hook' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/bin/modules' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/share/modules' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/admin/share/pmmcli' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/var/apspackages' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/opt/psa/var/modules' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/usr/local' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/var/log/plesk' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/var/lib/plesk/cfgmon' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/var/www/vhosts/default/htdocs' not empty so not removed
dpkg: warning: while removing plesk-core, directory '/var/www/vhosts/.skel' not empty so not removed
Removing bsd-mailx (8.1.2-0.20141216cvs-2) ...
Purging configuration files for bsd-mailx (8.1.2-0.20141216cvs-2) ...
Removing postfix (2.11.3-1) ...
Purging configuration files for postfix (2.11.3-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Installing patches...
Executing     (1 of 1) /usr/local/psa/var/MU8-sw-cp-server-reload.sh
All patches were applied.
sh: 1: /opt/psa/admin/sbin/update_history: not found
Patches were installed successfully.
The changes were applied successfully.

Then I try to install, but I cant.

Code:
# plesk installer --select-release-current --install-component dovecot
fork/exec /usr/local/psa/admin/sbin/autoinstaller: no such file or directory

And now I cant acceso to Plesk panel control via web :(
 
LOGS

/var/log/sw-cp-server/error_log
Code:
2016/12/15 11:54:27 [error] 1926#0: *79 directory index of "/opt/psa/admin/htdocs/" is forbidden, client: XXX.xxx.xxx.xxx, server: , request: "GET / HTTP/1.1", host: "my.server.com:8443"

/var/log/sw-cp-server/sw-engine.log
Code:
[15-Dec-2016 12:02:11] ERROR: No pool defined. at least one pool section must be specified in config file
[15-Dec-2016 12:02:11] ERROR: failed to post process the configuration
[15-Dec-2016 12:02:11] ERROR: FPM initialization failed
[15-Dec-2016 12:10:12] ERROR: No pool defined. at least one pool section must be specified in config file
[15-Dec-2016 12:10:12] ERROR: failed to post process the configuration
[15-Dec-2016 12:10:12] ERROR: FPM initialization failed

/usr/local/psa/admin/logs/httpsd_access_log
Code:
cat: /usr/local/psa/admin/logs/httpsd_access_log: No such file or directory

/usr/local/psa/admin/logs/panel.log
Code:
cat: /usr/local/psa/admin/logs/panel.log: No such file or directory

cat /usr/local/psa/var/log/maillog
Code:
/usr/local/psa/var/log/maillog: No such file or directory
 
Very strange dependences:

The following packages will be REMOVED:
bsd-mailx* plesk-config-troubleshooter* plesk-core* plesk-dovecot*
plesk-dovecot-core* plesk-dovecot-imap-driver* plesk-dovecot-pigeonhole*
plesk-l10n* plesk-mail-pc-driver* plesk-management-node* postfix*
postfix-pcre* psa-drweb-configurator* psa-mail-driver-common*
psa-spamassassin* psa-updates*

Removing plesk-core package looks dramatical.
In my case on CentOS7 only dovecot related packages were removed...
Now I can suggest you recover your plesk with

  1. wget https://installer.plesk.com/plesk-installer
  2. chmod +x plesk-installer
  3. ./plesk-installer
 
Well.
I've reinstall the server and install a clean copy o Plesk Onyx.
I try again with de Migration and now I dont have Dovecot warnings but after migraten 1 suscription it shows this error.

Code:
[18 Dec 16 01:33:39] [Migración] Failed to adjust common migrated applications for new environment
Migration tools tried to perform operation in 3 attempts: 'ascii' codec can't decode byte 0xf1 in position 17: ordinal not in range(128)

What means?
Thanks
 
Hello Pedro1,

Looks like an known software issue PMT-3334. It will be fixed in nearest Plesk migrator update.
 
Back
Top