[{"data":1,"prerenderedAt":434},["ShallowReactive",2],{"post-\u002Ftroubleshooting-cyberpanel-inaccessibility-after-ubuntu-release-upgrade":3},{"page":4,"translation":309,"nav":311,"related":424,"random":427},{"id":5,"title":6,"body":7,"categories":291,"category":293,"date":294,"description":295,"draft":296,"extension":297,"image":298,"kind":293,"lang":299,"meta":300,"navigation":301,"path":302,"readingTime":288,"seo":303,"slug":304,"stem":304,"tags":305,"translationKey":304,"type":292,"updated":293,"__hash__":308},"posts\u002Ftroubleshooting-cyberpanel-inaccessibility-after-ubuntu-release-upgrade.md","Troubleshooting CyberPanel Inaccessibility After Ubuntu Release Upgrade",{"type":8,"value":9,"toc":284},"minimark",[10,48,51,54,60,63,68,163,165,170,173,179,182,184,188,191,194,236,239,261,270,275,280],[11,12,13,21],"blockquote",{},[14,15,16,17],"p",{},"💡 ",[18,19,20],"strong",{},"Quick Summary (TL;DR):",[22,23,24,36,42],"ul",{},[25,26,27,30,31,35],"li",{},[18,28,29],{},"The Issue:"," Upgrading Ubuntu (e.g., via ",[32,33,34],"code",{},"do-release-upgrade",") often breaks CyberPanel (port 8090) and OpenLiteSpeed WebAdmin (port 7080).",[25,37,38,41],{},[18,39,40],{},"The Cause:"," Operating system upgrades change the default Python version (e.g., Python 3.8 to 3.10), which invalidates CyberPanel's virtual environment, Django dependencies, and systemd service paths.",[25,43,44,47],{},[18,45,46],{},"The Fix:"," Running the official CyberPanel upgrade script from the command line reinstalls the necessary dependencies for the new Python version and restores the services.",[14,49,50],{},"Upgrading your Ubuntu server is a crucial step to ensure your system remains updated with the latest features and security enhancements. However, such upgrades can sometimes lead to unexpected challenges, especially when dealing with web services like CyberPanel and OpenLiteSpeed or LiteSpeed Enterprise.",[14,52,53],{},"Generally, upgrading your operating system with CyberPanel already installed is discouraged as it can result in configuration errors. The official recommendation is to perform a clean installation on a fresh OS.",[14,55,56,57,59],{},"But what if you've already completed the upgrade and find yourself dealing with an unresponsive CyberPanel and LiteSpeed WebAdmin panel, as I encountered on a client's website after running the ",[32,58,34],{}," command? In this scenario, you may lose access to the CyberPanel admin interface (port 8090) and the LiteSpeed WebAdmin Panel (port 7080), making it a critical issue to address.",[61,62],"hr",{},[64,65,67],"h3",{"id":66},"cyberpanel-litespeed-ports-reference","CyberPanel & LiteSpeed Ports Reference",[69,70,71,91],"table",{},[72,73,74],"thead",{},[75,76,77,82,85,88],"tr",{},[78,79,81],"th",{"align":80},"left","Port",[78,83,84],{"align":80},"Service",[78,86,87],{"align":80},"Process Name",[78,89,90],{"align":80},"Action if Inaccessible",[92,93,94,120,142],"tbody",{},[75,95,96,102,105,114],{},[97,98,99],"td",{"align":80},[18,100,101],{},"8090",[97,103,104],{"align":80},"CyberPanel Admin Console",[97,106,107,110,111],{"align":80},[32,108,109],{},"lscpd"," \u002F ",[32,112,113],{},"gunicorn",[97,115,116,117],{"align":80},"Run upgrade script, check ",[32,118,119],{},"systemctl status lscpd",[75,121,122,127,130,135],{},[97,123,124],{"align":80},[18,125,126],{},"7080",[97,128,129],{"align":80},"LiteSpeed WebAdmin Console",[97,131,132],{"align":80},[32,133,134],{},"lsws",[97,136,137,138,141],{"align":80},"Check ",[32,139,140],{},"systemctl status lsws",", reset password via CLI if needed",[75,143,144,149,152,160],{},[97,145,146],{"align":80},[18,147,148],{},"80 \u002F 443",[97,150,151],{"align":80},"Web Traffic (HTTP\u002FHTTPS)",[97,153,154,110,157],{"align":80},[32,155,156],{},"openlitespeed",[32,158,159],{},"lhttpd",[97,161,162],{"align":80},"Check website logs, verify listeners are active",[61,164],{},[166,167,169],"h2",{"id":168},"why-does-an-ubuntu-upgrade-break-cyberpanel","Why Does an Ubuntu Upgrade Break CyberPanel?",[14,171,172],{},"When you perform an OS release upgrade (such as upgrading from Ubuntu 20.04 LTS to 22.04 LTS), the default Python version of the operating system is updated (e.g., from Python 3.8 to Python 3.10).",[14,174,175,176,178],{},"CyberPanel is built on Python and Django. Because its services and virtual environments depend on specific Python library paths, the upgrade breaks these references. Crucial services like ",[32,177,109],{}," (the LiteSpeed Control Panel Daemon) fail to start because they can no longer find their Python dependencies.",[14,180,181],{},"Fortunately, running the CyberPanel upgrade script automatically detects the new Python environment, rebuilds the virtual environment, reinstalls Django dependencies, and updates the systemd unit files.",[61,183],{},[166,185,187],{"id":186},"the-solution-upgrading-cyberpanel","The Solution: Upgrading CyberPanel",[14,189,190],{},"Resolving the unresponsiveness of CyberPanel and the LiteSpeed WebAdmin Panel can be accomplished by executing an update for CyberPanel. At least this is how I solved my problem! Follow these steps to upgrade to the latest version and restore the dependencies:",[14,192,193],{},"Run the following command as the root user:",[195,196,201],"pre",{"className":197,"code":198,"language":199,"meta":200,"style":200},"language-bash shiki shiki-themes github-light github-dark","sh \u003C(curl https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh || wget -O - https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh)\n","bash","",[32,202,203],{"__ignoreMap":200},[204,205,208,212,216,219,222,226,229,233],"span",{"class":206,"line":207},"line",1,[204,209,211],{"class":210},"sScJk","sh",[204,213,215],{"class":214},"sZZnC"," \u003C(",[204,217,218],{"class":210},"curl",[204,220,221],{"class":214}," https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh ",[204,223,225],{"class":224},"szBVR","||",[204,227,228],{"class":210}," wget",[204,230,232],{"class":231},"sj4cs"," -O",[204,234,235],{"class":214}," - https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh)\n",[14,237,238],{},"If you are using a sudo user instead of the root user, use this command instead:",[195,240,242],{"className":197,"code":241,"language":199,"meta":200,"style":200},"sudo su - -c \"sh \u003C(curl https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh || wget -O - https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh)\"\n",[32,243,244],{"__ignoreMap":200},[204,245,246,249,252,255,258],{"class":206,"line":207},[204,247,248],{"class":210},"sudo",[204,250,251],{"class":214}," su",[204,253,254],{"class":214}," -",[204,256,257],{"class":231}," -c",[204,259,260],{"class":214}," \"sh \u003C(curl https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh || wget -O - https:\u002F\u002Fraw.githubusercontent.com\u002Fusmannasir\u002Fcyberpanel\u002Fstable\u002FpreUpgrade.sh)\"\n",[14,262,263,264,266,267,269],{},"Once the upgrade process completes successfully, it will regenerate the Python environment, repair configuration mappings, and restart the ",[32,265,109],{}," and ",[32,268,134],{}," daemons, restoring access to both admin panels.",[271,272,274],"h5",{"id":273},"bu-yazıda-yapılan-değişiklikler","Bu Yazıda Yapılan Değişiklikler",[22,276,277],{},[25,278,279],{},"21.06.2026: Ubuntu sürüm yükseltme işleminden sonra CyberPanel'in bozulmasının asıl sebebi olan Python sürüm uyuşmazlığı ve virtualenv bozulması detayları eklendi. \"Cyberpanel\" kelimeleri \"CyberPanel\" olarak standardize edildi. Dil ve anlatım hataları düzeltildi. Port referans tablosu ile özet paneli eklendi.",[281,282,283],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":200,"searchDepth":285,"depth":285,"links":286},2,[287,289,290],{"id":66,"depth":288,"text":67},3,{"id":168,"depth":285,"text":169},{"id":186,"depth":285,"text":187},[292],"technical",null,"2023-10-14","How to fix CyberPanel (port 8090) and OpenLiteSpeed (port 7080) inaccessibility issues caused by Python environment breakage after an Ubuntu release upgrade.",false,"md","\u002Fimages\u002Fhero\u002Fcyberpanel-troubleshoot.avif","en",{},true,"\u002Ftroubleshooting-cyberpanel-inaccessibility-after-ubuntu-release-upgrade",{"title":6,"description":295},"troubleshooting-cyberpanel-inaccessibility-after-ubuntu-release-upgrade",[306,307],"cyberpanel","ubuntu","jctKqyvnqWgRe2lPleIO36cUMEQBoK3zJWLvm8C1Ogw",{"path":310},"\u002Ftr\u002Fubuntu-guncellemesi-sonrasi-cyberpanele-ulasilamama-sorunlarini-giderme",{"prev":312,"next":315,"others":318,"lucky":423,"readingTime":288},{"path":313,"title":314},"\u002Frest-api-uri-structure","What Should the REST API URI Structure Be?",{"path":316,"title":317},"\u002Freset-wordpress-admin-password-using-wp-cli","Reset WordPress Admin Password Using WP-CLI",[319,322,325,328,331,334,337,338,339,342,345,348,351,354,357,360,363,366,369,372,375,378,381,384,387,390,393,396,399,402,405,408,411,414,417,420],{"path":320,"title":321},"\u002Ffull-stack-project-development","Sample REST API Project",{"path":323,"title":324},"\u002Frest-api-authentication","How to Perform REST API Authentication?",{"path":326,"title":327},"\u002Frest-api-design","REST API Design: Principles and Output Format",{"path":329,"title":330},"\u002Frest-api-documentation-and-testing","How to Document and Test a REST API?",{"path":332,"title":333},"\u002Frest-api-error-handling","How to Perform REST API Error Handling?",{"path":335,"title":336},"\u002Frest-api-security","How to Secure a REST API?",{"path":313,"title":314},{"path":316,"title":317},{"path":340,"title":341},"\u002Fgraphql-vs-rest-api-which-is-the-best-choice-for-headless-wordpress","GraphQL vs REST API: Which is the Best Choice for Headless WordPress?",{"path":343,"title":344},"\u002Fgrow-your-business-in-turkey-with-expert-wordpress-plugin-and-theme-localization-and-support-services","Grow Your Business in Turkey with Expert WordPress Plugin and Theme Localization and Support Services",{"path":346,"title":347},"\u002Fgetting-started-with-devops-understanding-the-principles-and-adopting-the-tools","Getting Started with DevOps: Understanding the Principles and Adopting the Tools",{"path":349,"title":350},"\u002Fphp-graphql-development-advanced-techniques-for-optimizing-your-apis","PHP GraphQL Development: Advanced Techniques for Optimizing Your APIs",{"path":352,"title":353},"\u002Fadvanced-techniques-for-dependency-injection-in-php-tips-code-samples-and-faqs","Advanced Techniques for Dependency Injection in PHP: Tips, Code Samples, and FAQs",{"path":355,"title":356},"\u002Fmaximize-the-potential-of-headless-wordpress-with-graphql","Maximize the Potential of Headless WordPress with GraphQL",{"path":358,"title":359},"\u002Fwriting-clean-modular-and-reusable-code-in-php","Best Practices for Writing Clean, Modular, and Reusable Code in PHP",{"path":361,"title":362},"\u002Fheadless-cmss-an-overview-of-popular-alternatives-to-contentful-and-wordpress","Headless CMSs: An Overview of Popular Alternatives to Contentful and WordPress",{"path":364,"title":365},"\u002Fci-cd-for-php-a-comprehensive-guide","CI\u002FCD for PHP: A Comprehensive Guide",{"path":367,"title":368},"\u002Fintroduction-to-php-namespaces-a-beginners-guide-to-structuring-your-code","Introduction to PHP Namespaces: A Beginner's Guide to Structuring Your Code",{"path":370,"title":371},"\u002Fwhat-is-graylog-a-powerful-tool-for-collecting-indexing-and-analyzing-log-data","What is Graylog? A Powerful Tool for Collecting, Indexing, and Analyzing Log Data",{"path":373,"title":374},"\u002Felevate-your-turkish-audience-experience-with-professional-wordpress-plugin-and-theme-translation","Elevate Your Turkish Audience Experience with Professional WordPress Plugin and Theme Translation",{"path":376,"title":377},"\u002Fhow-to-set-up-a-self-hosted-api-gateway-a-comprehensive-guide","How to Set Up a Self-Hosted API Gateway: A Comprehensive Guide",{"path":379,"title":380},"\u002Fdifference-between-generators-and-iterators-in-php","The Key Differences Between PHP Generators and Iterators",{"path":382,"title":383},"\u002Fphp-and-machine-learning-a-winning-combination-with-php-ml","PHP and Machine Learning: A Winning Combination with PHP-ML",{"path":385,"title":386},"\u002Fphp-generators-a-beginners-guide-to-iteration","PHP Generators: A Beginner's Guide to Iteration",{"path":388,"title":389},"\u002Fmastering-closures-in-javascript-a-beginners-guide","Mastering Closures in JavaScript: A Beginner's Guide",{"path":391,"title":392},"\u002Fthe-top-php-certification-programs-for-developers","The Top PHP Certification Programs for Developers",{"path":394,"title":395},"\u002Fhow-to-revalidate-next-js-isr-cache-on-demand-cache-regeneration","How to Revalidate Next.js ISR Cache? On-Demand Cache Regeneration",{"path":397,"title":398},"\u002Ftips-for-translating-a-wordpress-plugin-wordpress-theme-to-turkish","Tips for Translating a WordPress Plugin \u002F WordPress Theme to Turkish",{"path":400,"title":401},"\u002Fall-about-headless-wordpress","All About Headless WordPress",{"path":403,"title":404},"\u002Finstall-composer-on-ubuntu","How to Install Composer on Ubuntu \u002F Linux",{"path":406,"title":407},"\u002Fwhat-is-an-api-gateway","What is an API Gateway? Should You Use It?",{"path":409,"title":410},"\u002Fis-jwt-safe-or-is-it-vulnerable","Is JWT Safe or Is It Vulnerable?",{"path":412,"title":413},"\u002Ftailwind-css-to-use-or-not-to-use-that-is-the-question","Tailwind CSS! To use? Or not to use? That is the question.",{"path":415,"title":416},"\u002Fwhat-is-hateoas","What is HATEOAS?",{"path":418,"title":419},"\u002Fhello-world","Hello World: A New Multilingual Journey",{"path":421,"title":422},"\u002Fwhat-is-ecmascript","What is ECMAScript? What is not?",{"path":391,"title":392},[425],{"path":403,"title":404,"date":426},"2022-05-13",[428,430,432],{"path":397,"title":398,"date":429},"2022-10-25",{"path":335,"title":336,"date":431},"2026-06-20",{"path":376,"title":377,"date":433},"2023-01-12",1782141978906]