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
4 comments
Do we have approximate time about when this issue is gonna get fixed?
We can't implement this feature until it's fully stable without need of any workarounds.
Hello AlpsHost,
Currently, there is no ETA available.
So does it mean that this needs to be done manually after each successful import?
Hi @b_p!
It's up to you whether to remove the sessions after the import is completed.
Please sign in to leave a comment.