Symptoms
Migration fails on Plesk 18.0.50, 18.0.50#1 or 18.0.50#2 with the following warning:
PLESK_ERROR: Plesk restore report problem:
Internal server error: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html lang="en" dir="ltr" class="sid-plesk">
...
<script>window.__INITIAL_DATA__ = {"locale":{"title":"Server Error","repairKitDescription":"You may be able to resolve the issue automatically using Repair Kit.","repairKitAdminDescription":"If you are the server administrator, try resolving the issue using our troubleshooting tool, Repair Kit.","repairKitOpen":"Open Repair Kit","repairKitOpenNote":"You will be asked to enter the Plesk administrator password.","repairKitUnavailable":"Repair Kit is unavailable. To restore it, log in to the server via SSH, run the command 'systemctl restart plesk - repaird', and then refresh this page.","reportErrorMessage":"If you think this is an error, please %%link%% so we can fix it!","letUsKnow":"let us know","helpActions":"That's what you can do","reloadPage":"Reload Page","backToPreviousPage":"Back to Previous Page","homePage":"Home Page","searchKbArticle":"Search for related Knowledge Base articles","invalidUrl":"An invalid URL was requested.","reportProblem":"Report a problem","documentation":"Documentation","knowledgeBase":"Knowledge base","forum":"Forum","youTube":"YouTube","facebook":"Facebook"},"code":"500","noRepairKit":false,"kbArticleUrl":"http://kb.plesk.com/plesk-error/search?metaId=86954fde4488f928b939926c1c096805&messageId=9ba3be77a49920e2056f9b7469f94a64&file=AbstractCu.php&line=1470&type=TypeError&version=18.0.50&message=Unsupported+operand+types%3A+string+%26+int","exception":{"type":"TypeError","message":"Unsupported operand types: string & int","file":"AbstractCu.php","line":1470,"stackTrace":null,"codeFragment":null}}</script>
<script type="text/javascript" src="/error_docs/app.js?1675785397"></script>
</html>
Cause
Bug with ID PPPM-13913 which will be fixed in Plesk Obsidian 18.0.51.
Resolution
It the update is not possible for some reason, apply the following
For Plesk Obsidian 18.0.50 and 18.0.50.1 apply the following workaround:
-
Connect to the server via SSH.
-
Copy the original file
/usr/local/psa/admin/plib/Domain.php
to any location, for example, toroot
:# cp /usr/local/psa/admin/plib/Domain.php /root/
-
Download the
Domain.php
file to the server:# wget https://plesk.zendesk.com/hc/article_attachments/10060550400786
-
Replace the origianal
/usr/local/psa/admin/plib/Domain.php
with the downloaded file:# mv -f Domain.php /usr/local/psa/admin/plib/Domain.php
Comments
0 comments
Please sign in to leave a comment.