1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Migration Manager does not work if spamassassin deletes email.

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by rommer, Sep 25, 2009.

  1. rommer

    rommer Guest

    0
     
    If any account has the delete email option set in spassassin the migration manger fails with the following message.

    <execution-result status="error"><message code="InternalDtdValidationFailed" severity="error"><context>void plesk::validateSchema(plesk::tXmlDocument&amp;, const std::string&amp;)</context><file>./xml_parse.cpp</file><line>412</line><text>Failed validation of the document with its internal DTD. The errors are: Element 'spamassassin', attribute 'action': [facet 'enumeration'] The value 'del' is not an element of the set {'delete', 'mark'}.Element 'spamassassin', attribute 'action': 'del' is not a valid value of the local atomic type..</text></message></execution-result>

    What a royal pita!
     
  2. JacoS

    JacoS Guest

    0
     
    Migration Manager fails with InternalDtdValidationFailed error when upgrading 8.1

    I get a similar message about invalid XML when I try to upgrade from Plesk 8.1 to 9.2 (even via 8.6)

    <execution-result status="error"><message code="InternalDtdValidationFailed" severity="error"><context>plesk::validateSchema</context><file>.\xml_parse.cpp</file><line>412</line><text>Failed validation of the document with its internal DTD. The errors are: Element 'password', attribute 'type': [facet 'enumeration'] The value 'crypt' is not an element of the set {'plain', 'encrypted', 'empty'}.
    Element 'password', attribute 'type': 'crypt' is not a valid value of the local atomic type.

    Above error seems to appear in the log for each password for each domain. Tried to do a manual backup and restore and even tried to correct the XML with a search for "crypt" and replace with "encrypted" ... but cannot seem to get it going.

    Guess I'll have to take each of my many hosted domains over manually, checking each setting etc ... !
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  4. JacoS

    JacoS Guest

    0
     
    Got it going

    I did the following to get my data across:

    1. Backup old server - From the migration guide followed the "Migrating from earlier versions of Plesk Panel" section.

    2. Copied the backed up .psa file over to the new server.

    3. Ran the pre9-backup-convert utility (see migration guide)

    4. Corrected the XML file in the --destination directory from step 3 by (a.) In Plesk Panel attempting a "Migrate Manager" > "Start New Migration" > "Transfer data already processed by the migration agent and located on the local host" and specifying the converted xml file's location (b.) Go to "Backup Manager" in the Plesk Panel and have a look at failed log (c.) Make changes to xml file manually (d.) repeat from (a.)

    - I needed to replace the "crypt" parameter with "encrypted"
    - I needed to remove all the <spamassassin> elements

    Hope this helps someone.
     
Loading...