- Plesk for Linux
Migration from DirectAdmin fails during an execution of the command "subscription_settings", if some users in DirectAdmin have limits set to 0. The following error message can be found in /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/info.log:
CONFIG_TEXT: Migration failed with
Subscription 'example.com'│ │ Command execution failed on the local server with non-zero exit code.│ │ command: /usr/local/psa/bin/subscription_settings --update example.com -max_site 0 -max_subdom 0 -max_dom_aliases 0 -max_db 0 -max_box 0 -ignore-nonexistent-options│ │ exit code: 1│ │ stdout:│ │ stderr: An error occurred while updating domain settings: Invalid domains limit. Minimum value is 1.
This is a Plesk Migratior bug with ID PMT-4273, which is planned to be fixed in future product updates.
As a workaround, perform the following actions:
On the Plesk server create a backup of the original file description.directadmin.yaml:
# cp /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/hosting-description.directadmin.yaml /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/hosting-description.directadmin.yaml.orig
Change the value of "max_site" from 0 to 1:
# sed -i "s/max_site: '0'/max_site: '1'/g" /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/hosting-description.directadmin.yaml
- Rerun migration.