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

Restore domains 8.6 to 9.0 after convert

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by gmonnet, Dec 14, 2009.

  1. gmonnet

    gmonnet Guest

    0
     
    Hi,

    I would to restore my converted backup domains Plesk 8.6 after the convert to 9.2 and I have this error:

    <?xml version="1.0"?>
    <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 'sapp-installed': This element is not expected. Expected is one of ( applications, preferences, mime-types, sb-domain ).Element 'sapp-installed': This element is not expected. Expected is one of ( applications, preferences, mime-types, sb-domain )..</text></message></execution-result>


    Can you help me please?

    It's very urgent.

    Thanks
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Try to validate dump with something like:

    # xmllint --noout --schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/your_converted_dump.xml

    I can suggest you only try to find this 'sapp-installed' in dump, analyse what is it and try to remove or correct it.
     
  3. gmonnet

    gmonnet Guest

    0
     
    Thanks for your answer.

    Here the message after to try xmllint --noout --schema /usr/local/psa/PMM/plesk.xsd /var/lib/psa/dumps/converted_info_0912141152.xml



     
  4. gmonnet

    gmonnet Guest

    0
     
    Ok, I have make this http://kb.odin.com/fr/6081 and after I have the same message:

     
  5. gmonnet

    gmonnet Guest

    0
     
    ok, I have make this but I have always the same error message...
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Did you tried to find all mentions about this 'sapp-installed' in dump file? Did you tried to remove or correct it?
     
  7. gmonnet

    gmonnet Guest

    0
     
    Yes, but if I remove all lign with this mention, the applications of my clients are not functionally after...

    How can I correct this without remove?

    Thanks
     
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Could you please provide a part of dump with mentions of this Element 'sapp-installed'? I will submit request to developers and I need more details.
     
  9. gmonnet

    gmonnet Guest

    0
     
    Thanks,

    Here my xml dump file.
     
    Last edited by a moderator: Feb 23, 2010
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Ok. I have submitted request to developers. I will update this thread with any useful information as soon as I receive it.
     
  11. gmonnet

    gmonnet Guest

    0
     
    Hi,

    Have you news for me?

    Thanks and nice day
     
  12. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Yes, I have received following suggestion from developers:

    Dump can be fixed by wrapping <sapp-installed> with <applications> for <subdomain>, e.g.:

    There can be a few <sapp-installed> for single <subdomain> - they must be wrapped by single <applications>.
     
  13. gmonnet

    gmonnet Guest

    0
     
    thanks, but I did not understand
     
  14. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    You should edit this dump so that all blocks

    which you will find inside block

    with wrapping by block

    Read carefully my previous reply for details.
     
  15. gmonnet

    gmonnet Guest

    0
     
    ok, thanks, but in my converted dump file, this is alrady wrapped by <applications>....</applications>
     
    Last edited by a moderator: Dec 27, 2009
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Look at the middle of dump mode carefully - there is sapp-installed without wrapping by applications. And not sure that several sapp-installed should be wrapped by one applications. Seems that each sapp-installed should be wrapped.
     
  17. gmonnet

    gmonnet Guest

    0
     
    thanks, i haven't see that.

    Now I've wrapped all sapp-installed, but I've always the same error:

     
  18. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    I have forwarded this information to developers for the further investigation. I will keep you informed with results.
     
  19. gmonnet

    gmonnet Guest

    0
     
    Hi

    Have you news?

    thanks
     
  20. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    National holidays in Russia now. Plesk developers will be available after 9 Jan.
     
Loading...