Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
There is no possibility to remove sessions of the Mail Importing and Website Importing utilities via Plesk GUI.
Cause
The behavior is considered as a Plesk feature request with the ID #PMT-4498, which is planned to be addressed in future Plesk updates.
Resolution
As a workaround remove the sessions directories manually using one of the solutions below:
- Log into the server via SSH.
- Run the command below to remove sessions directory for the required domain:
- For Website Importing:
# rm -rf /usr/local/psa/var/modules/site-import/sessions/site-migration-[domain-id]
- For Mail Importing:
# rm -rf /usr/local/psa/var/modules/site-import/sessions/mail-migration-[domain-id]
Note: to get
[domain-id]
execute the command below by replacingexample.com
with the name of the required domain:# plesk db "select id as '[domain-id]' from domains where name='example.com'\G;" | grep -v row
[domain-id]: 14 - For Website Importing:
- Log into the server via RDP.
- Manually remove sessions folder for the required domain:
- For Website Importing:
%plesk_dir%\var\modules\site-import\sessions\site-migration-[domain-id] - For Mail Importing:
%plesk_dir%\var\modules\site-import\sessions\mail-migration-[domain-id]
Note: to get
[domain-id]
execute the command below via CMD by replacingexample.com
with the name of the required domain:C:\> plesk db "select id as '[domain-id]' from domains where name='example.com'\G;" | findstr /v row
[domain-id]: 1 - For Website Importing:
Comments
0 comments
Please sign in to leave a comment.