HOW-TO recover from beatifulNames uninstall bug — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

HOW-TO recover from beatifulNames uninstall bug

edited July 19 in Plugins
I wanted to try the beatifulNames plugin. I installed it but could not make it work (got 500 error immediately). So I removed it. But the CyberPanel interface got broken, constantly forwarding to installed plugins area. So I had to dig a bit. Here is what I found and how I recovered (I'm completely new to CyberPanel and Django).

First of all it is already reported as an issue:

I found that the "remove" procedure was messing with the template, I found it just by looking at the html source code. Steps to correct:

1) Edit /usr/local/CyberCP/baseTemplate/templates/baseTemplate/index.html
(I made a backup copy of it before editing)

2) Near the end find the following code:

<div class="sidebar-submenu">

<li><a href="{% url 'installed' %}"

</div><!-- .sidebar-submenu -->

As you can see the anchor tag (<a>) got stripped and does not have a closing tag.

3) Replace it with the original code from github source (

<li><a href="{% url 'installed' %}"
title="{% trans 'Installed Plugins' %}"><span>{% trans "Installed" %}</span></a>

4) From SSH, restart lspcd

service lscpd restart

That's it...
I hope this helps somebody...


Here is what I found during examination:

In /home/cyberpanel/stderr.log a couple of the following:

Traceback (most recent call last):
File "/usr/local/CyberCP/CyberCP/", line 16, in <module>
application = get_wsgi_application()
File "/usr/local/CyberCP/lib/python3.6/site-packages/django/core/", line 12, in get_wsgi_application
File "/usr/local/CyberCP/lib/python3.6/site-packages/django/", line 24, in setup
File "/usr/local/CyberCP/lib/python3.6/site-packages/django/apps/", line 122, in populate
File "/usr/local/CyberCP/beautifulNames/", line 10, in ready
from . import signals
File "/usr/local/CyberCP/beautifulNames/", line 71
except BaseException, msg:
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!