• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue ModuleNotFoundError: pymysql

se2e-dev

New Pleskian
Server operating system version
Debian 12.14
Plesk version and microupdate number
18.0.78 Update 4
For the past few days, I’ve been getting the following error every morning in the Plesk log:

Code:
2026-06-29 06:32:12
ERR
panel [945521:6a41f54c125da]
Command returned non-zero exit code.

Command: 'plesk-migrator' 'summarize-statistics' '--quiet'

Exit code: 1

stdout:


stderr:
Traceback (most recent call last):
  File "/opt/psa/admin/sbin/modules//site-import/plesk-migrator", line 41, in <module>
    from parallels.core.cli.migration_cli import run
  File "/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/cli/migration_cli.py", line 21, in <module>
    from parallels.core.utils.windows_agent_remote_object import RPCAgentBuilder
  File "/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/utils/windows_agent_remote_object.py", line 21, in <module>
    from parallels.core.utils.plesk_utils import get_windows_util_path
  File "/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/utils/plesk_utils.py", line 4, in <module>
    import pymysql
ModuleNotFoundError: No module named 'pymysql'

I’m not running any migration, so I’m not sure why this is happening. Other than this, Plesk seems to be working normally.

Has anyone seen this before or knows what could be causing it?

Thanks in advance!
 
Hi,

I reinstalled the extension yesterday, but this morning the same error appeared again.

The error still occurs with:

Code:
Command: 'plesk-migrator' 'summarize-statistics' '--quiet'
ModuleNotFoundError: No module named 'pymysql'

So reinstalling the extension did not solve the issue.
 
The Site Import extension version is 1.11.0-14069.

I assume the issue may have started with version 1.11.0, released on June 22, 2026, because the changelog says:

Updated Python dependencies. (PMT-5681)

The update was probably installed on June 22 or June 23, and the first error appeared on June 24.

So it looks like the issue may be related to this extension update.
 
More likely not actually installed. Try doing this to make 100% sure:

Bash:
sudo apt update
sudo apt install python3-pymysql -y
# Do this to install via Plesk's Python pip
sudo /opt/psa/admin/bin/python3 -m pip install pymysql
# If the above pip not work, try the other path
sudo /usr/local/psa/admin/bin/python3 -m pip install pymysql
# Repair and restart
plesk repair all -y
sudo systemctl restart psa
# Test it manually to see if the error goes away
plesk-migrator summarize-statistics --quiet
 
Back
Top