D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
htdocs
/
error_docs
/
Filename :
app.js
back
Copy
/*! Copyright 1999-2025. WebPros International GmbH. All rights reserved. */(()=>{var e={202:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>o});var n=t(281),s={};for(const e in n)"default"!==e&&(s[e]=()=>n[e]);t.d(r,s);const o=n},405:(e,r,t)=>{"use strict";var n=t(126);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,r,t,s,o,a){if(a!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:o,resetWarningCache:s};return t.PropTypes=t,t}},465:(e,r,t)=>{e.exports=t(405)()},126:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},827:(e,r,t)=>{"use strict";var n=t(202);r.H=n.createRoot,n.hydrateRoot},281:e=>{"use strict";e.exports=PleskUiLibrary},59:(e,r)=>{var t; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var n={}.hasOwnProperty;function s(){for(var e="",r=0;r<arguments.length;r++){var t=arguments[r];t&&(e=a(e,o(t)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var t in e)n.call(e,t)&&e[t]&&(r=a(r,t));return r}function a(e,r){return r?e?e+" "+r:e+r:e}e.exports?(s.default=s,e.exports=s):void 0===(t=function(){return s}.apply(r,[]))||(e.exports=t)}()}},r={};function t(n){var s=r[n];if(void 0!==s)return s.exports;var o=r[n]={exports:{}};return e[n](o,o.exports,t),o.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=t(827),r=t(465),n=t.n(r),s=t(202),o=t(281),a=t(59),i=t.n(a);const l=()=>(0,s.jsx)(o.Alert,{intent:"info",children:(0,s.jsx)(o.Media,{image:(0,s.jsx)(o.Icon,{src:"/error_docs/images/go-to-repair.png",size:"64"}),children:0===window.location.pathname.indexOf("/repair")?(0,s.jsx)(o.MediaSection,{children:(0,s.jsx)(o.Translate,{content:"repairKitUnavailable"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.MediaSection,{children:[(0,s.jsx)(o.Translate,{content:"repairKitDescription"}),(0,s.jsx)("br",{}),(0,s.jsx)(o.Translate,{content:"repairKitAdminDescription"})]}),(0,s.jsx)(o.MediaSection,{children:(0,s.jsx)(o.Button,{component:"a",intent:"primary",href:"/repair",children:(0,s.jsx)(o.Translate,{content:"repairKitOpen"})})}),(0,s.jsx)(o.MediaSection,{children:(0,s.jsx)(o.Text,{intent:"muted",children:(0,s.jsx)(o.Translate,{content:"repairKitOpenNote"})})})]})})}),c=({type:e,message:r,file:t,line:n,stackTrace:a=null,codeFragment:i=null})=>{const l=[{key:"type",title:"Type",value:e},{key:"message",title:"Message",value:r},{key:"file",title:"File",value:t},{key:"line",title:"Line",value:n},{key:"stackTrace",title:"Stack trace",value:a&&(0,s.jsx)(o.ConsoleOutput,{wide:!0,children:a})},{key:"codeFragment",title:"Code fragment",value:i&&(0,s.jsx)(o.ConsoleOutput,{wide:!0,children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})})}].filter((({value:e})=>e));return l.length?(0,s.jsx)(o.List,{columns:[{key:"title",render:e=>(0,s.jsx)(o.Text,{bold:!0,children:e.title})},{key:"value"}],data:l}):null};c.propTypes={type:n().string.isRequired,message:n().string.isRequired,file:n().string.isRequired,line:n().string.isRequired,stackTrace:n().string,codeFragment:n().string};const d=c,p="common-components-ErrorPage-module__page--3BS7t",u="common-components-ErrorPage-module__header--ZsKwE",m="common-components-ErrorPage-module__side--CyBpF",h="common-components-ErrorPage-module__sideMaintenance--5fiUj",g="common-components-ErrorPage-module__main--icshs",x="common-components-ErrorPage-module__description--QJNnB",y="common-components-ErrorPage-module__actions--xclR8",j="common-components-ErrorPage-module__action--l73ns",f="common-components-ErrorPage-module__footer--10LMy",v="common-components-ErrorPage-module__footerLinks--vDGlC",b="common-components-ErrorPage-module__footerLink--xg46v",T="common-components-ErrorPage-module__footerLinkText--Q2RUW",k={400:"Your browser sent a request that this server could not understand. Client sent malformed Host header.",401:"This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.",403:"You do not have permission to access this document.",404:"This page either doesn't exist, or it moved somewhere else.",405:"The HTTP verb used to access this page is not allowed.",406:"Client browser does not accept the MIME type of the requested page.",407:"You must be authenticated by a proxy server before the Web server can execute your request.",412:"The request was not completed due to preconditions that are set in the request header.\n Preconditions prevent the requested method from being applied to a resource other than the one intended.",414:"The Web server is refusing to service the request because the requested URL address is too long.",415:"The Web server cannot service the request because the requested file is in a format that the server is configured not to download.",500:"The server encountered an internal error or misconfiguration and was unable to complete your request.\n Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.\n More information about this error may be available in the server error log.",501:"The page you are looking for cannot be displayed because a header value in the request does not match certain configuration settings on the Web server.",502:"Web server received an invalid response while acting as a gateway or proxy server.",503:"The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."},w=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.Button,{className:j,onClick:()=>window.location.reload(),children:(0,s.jsx)(o.Translate,{content:"reloadPage"})}),window.history.length>1&&(0,s.jsx)(o.Button,{className:j,onClick:()=>window.history.back(),children:(0,s.jsx)(o.Translate,{content:"backToPreviousPage"})}),(0,s.jsx)(o.Button,{className:j,component:"a",href:"/",children:(0,s.jsx)(o.Translate,{content:"homePage"})})]}),_=({code:e=null,message:r,noRepairKit:t=!1,kbArticleUrl:n=null,exception:a=null,isNetworkError:c=!1})=>(0,s.jsxs)("div",{className:p,children:[(0,s.jsx)("div",{className:i()(m,"503.1"===e?h:"")}),(0,s.jsxs)("div",{className:g,children:[c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{className:u,children:(0,s.jsx)(o.Heading,{children:(0,s.jsx)(o.Text,{intent:"danger",children:(0,s.jsx)(o.Translate,{content:"networkError"})})})}),(0,s.jsxs)("main",{children:[(0,s.jsxs)("div",{className:x,children:[(0,s.jsxs)("p",{children:[(0,s.jsx)(o.Translate,{content:"networkErrorDescription"}),(0,s.jsx)("br",{}),(0,s.jsx)(o.Translate,{content:"helpActions"})]}),(0,s.jsx)("p",{})]}),w()]})]}):"503.1"===e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{className:u,children:(0,s.jsx)(o.Heading,{component:"h1",level:2,children:r})}),(0,s.jsxs)("main",{children:[(0,s.jsx)(o.ConsoleOutput,{wide:!0,children:(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:'<div class="console-output__title">Plesk</div>\n<span id="initialize" style="display: none">Initializing… [ <span>----</span> ]</span>\n<span id="clone" style="display: none">Cloning… [ <span>----</span> ]</span>\n<span id="message" style="display: none"></span>\n\n<div id="done" style="display: none">\n___\n\nYour Plesk is almost ready.\nIn a few seconds, we\'ll take you there so that you can get started!\n</div>'}})}),(0,s.jsx)("div",{className:y,children:(0,s.jsx)(o.Button,{className:j,onClick:()=>window.location.reload(),children:(0,s.jsx)(o.Translate,{content:"reloadPage"})})})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("header",{className:u,children:[e?(0,s.jsx)("div",{children:(0,s.jsx)(o.Translate,{content:"title"})}):null,(0,s.jsx)(o.Heading,{children:(0,s.jsxs)(o.Text,{intent:"danger",children:[e?`${e} `:null,a?a.type:r]})})]}),(0,s.jsxs)("main",{children:[(0,s.jsx)("div",{className:x,children:(0,s.jsx)("p",{children:a?a.message:k[e]})}),a?(0,s.jsx)(d,{...a}):null,e&&/^5\d\d$/.test(e)&&!t?(0,s.jsx)(l,{}):null,(0,s.jsxs)("div",{className:y,children:[(0,s.jsxs)("p",{children:[(0,s.jsx)(o.Translate,{content:"reportErrorMessage"})," ",(0,s.jsx)("a",{href:"https://www.plesk.com/bug-report/",target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.Translate,{content:"visitHelpCenter"})})]}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Translate,{content:"helpActions"})}),w(),n?(0,s.jsx)(o.Button,{className:j,component:"a",href:n,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.Translate,{content:"searchKbArticle"})}):null]})]})]}),(0,s.jsx)("footer",{className:f,children:(0,s.jsxs)("div",{className:v,children:[(0,s.jsxs)("a",{href:"https://talk.plesk.com/forums/reports.746/",className:b,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.Icon,{size:"32",src:"/error_docs/images/report.svg"}),(0,s.jsx)(o.Translate,{className:T,content:"reportProblem"})]}),(0,s.jsxs)("a",{href:"https://docs.plesk.com/",className:b,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.Icon,{size:"32",src:"/error_docs/images/documentation.svg"}),(0,s.jsx)(o.Translate,{className:T,content:"documentation"})]}),(0,s.jsxs)("a",{href:"https://kb.plesk.com/",className:b,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.Icon,{size:"32",src:"/error_docs/images/knowledge-base.svg"}),(0,s.jsx)(o.Translate,{className:T,content:"knowledgeBase"})]}),(0,s.jsxs)("a",{href:"https://talk.plesk.com/",className:b,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.Icon,{size:"32",src:"/error_docs/images/forum.svg"}),(0,s.jsx)(o.Translate,{className:T,content:"forum"})]}),(0,s.jsxs)("a",{href:"https://www.youtube.com/channel/UCeU-_6YHGQFcVSHLbEXLNlA",className:b,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.Icon,{size:"32",src:"/error_docs/images/youtube.svg"}),(0,s.jsx)(o.Translate,{className:T,content:"youTube"})]}),(0,s.jsxs)("a",{href:"https://www.facebook.com/Plesk",className:b,target:"_blank",rel:"noopener noreferrer",children:[(0,s.jsx)(o.Icon,{size:"32",src:"/error_docs/images/facebook.svg"}),(0,s.jsx)(o.Translate,{className:T,content:"facebook"})]})]})})]})]});_.propTypes={code:n().string,message:n().string.isRequired,noRepairKit:n().bool,kbArticleUrl:n().string,exception:n().shape({type:n().string.isRequired,message:n().string.isRequired}),isNetworkError:n().bool};const P=_,N={get(e){const r=document.cookie.split("; ");for(let t=0;t<r.length;t++){const n=r[t].split("=");if(e===n[0])return unescape(n[1])}return null},set(e,r,t,n){let s=`${e}=${escape(r)}; `;t&&(s+=`expires=${t}; `),n&&(s+=`path=${n}; `),"https:"===window.location.protocol&&(s+="secure; "),document.cookie=s},setPermanent(e,r,t){const n=new Date;n.setTime(n.getTime()+31536e6);const s=n.toGMTString();this.set(e,r,s,t)},remove(e,r){this.set(e,"","Fri, 31 Dec 1999 23:59:59 GMT",r)}},E={title:"Server Error",repairKitDescription:"You may be able to resolve the issue automatically using the Repair Kit.",repairKitAdminDescription:"If you are the server's administrator, you can try resolving the issue using the Repair Kit, our troubleshooting tool.",repairKitOpen:"Open the 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.service', and then refresh this page.",reportErrorMessage:"Need help resolving the issue?",visitHelpCenter:"Visit Plesk Help Center.",networkError:"Network error",networkErrorDescription:"Your connection is unstable.",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:"Invalid URL was requested.",reportProblem:"Report a problem",documentation:"Documentation",knowledgeBase:"Knowledge base",forum:"Forum",youTube:"YouTube",facebook:"Facebook"},R={500:new Set(["Plesk\\Exception\\Database"])},S=({locale:e={},...r})=>((0,s.useEffect)((()=>{setTimeout((()=>{const e=R[r.code];if(e&&e.has(r?.exception?.type)){const{code:e,exception:{type:t,message:n}={}}=r;window.Jsw.UAT.dispatchAction("ERROR_DOCUMENT",{code:e,type:t,message:n})}}))}),[r]),(0,s.jsxs)(o.LocaleProvider,{messages:{...E,...e},children:[(0,s.jsx)(P,{...r}),"true"===N.get("debug-testing-mode")?(0,s.jsx)("div",{id:"bottomAnchor",style:{position:"fixed",top:0,zIndex:-1,opacity:.001},children:Date.now()}):null]}));S.propTypes={locale:n().object,code:n().string,exception:n().shape({type:n().string,message:n().string})};const O=S,q=window.__INITIAL_DATA__;(0,e.H)(document.getElementById("app")).render((0,s.jsx)(O,{...q}))})()})(); //# sourceMappingURL=app.js.map