Problem after update to 1.8.6 — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

Problem after update to 1.8.6

Internal Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

and when i try
/usr/local/CyberCP/bin/python manage.py makemigrations

or
# /usr/local/CyberCP/bin/python manage.py migrate

i got this error

[[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 327, in execute
self.check()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/regist ry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 16, in check_url_config
return check_resolver(resolver)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 26, in check_resolver
return check_method()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 254, in check
for pattern in self.url_patterns:
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/CyberCP/urls.py", line 23, in
url(r'^websites/',include('websiteFunctions.urls')),
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/conf/urls/__init__ .py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/websiteFunctions/urls.py", line 2, in
import views
File "/usr/local/CyberCP/websiteFunctions/views.py", line 9, in
from plogical.website import WebsiteManager
File "/usr/local/CyberCP/plogical/website.py", line 14, in
from virtualHostUtilities import virtualHostUtilities
File "/usr/local/CyberCP/plogical/virtualHostUtilities.py", line 32, in
from CLManager.models import CLPackages
File "/usr/local/CyberCP/CLManager/models.py", line 9, in
class CLPackages(models.Model):
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/models/base.py" , line 118, in __new__
"INSTALLED_APPS." % (module, name)
RuntimeError: Model class CLManager.models.CLPackages doesn't declare an explici t app_label and isn't in an application in INSTALLED_APPS.
[[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 327, in execute
self.check()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/regist ry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 16, in check_url_config
return check_resolver(resolver)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 26, in check_resolver
return check_method()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 254, in check
for pattern in self.url_patterns:
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/CyberCP/urls.py", line 23, in
url(r'^websites/',include('websiteFunctions.urls')),
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/conf/urls/__init__ .py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/websiteFunctions/urls.py", line 2, in
import views
File "/usr/local/CyberCP/websiteFunctions/views.py", line 9, in
from plogical.website import WebsiteManager
File "/usr/local/CyberCP/plogical/website.py", line 14, in
from virtualHostUtilities import virtualHostUtilities
File "/usr/local/CyberCP/plogical/virtualHostUtilities.py", line 32, in
from CLManager.models import CLPackages
File "/usr/local/CyberCP/CLManager/models.py", line 9, in
class CLPackages(models.Model):
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/models/base.py" , line 118, in __new__
"INSTALLED_APPS." % (module, name)
RuntimeError: Model class CLManager.models.CLPackages doesn't declare an explici t app_label and isn't in an application in INSTALLED_APPS.
[[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py migrate Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 327, in execute
self.check()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/co mmands/migrate.py", line 62, in _run_checks
issues.extend(super(Command, self)._run_checks(**kwargs))
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/regist ry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 16, in check_url_config
return check_resolver(resolver)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 26, in check_resolver
return check_method()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 254, in check
for pattern in self.url_patterns:
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/CyberCP/urls.py", line 23, in
url(r'^websites/',include('websiteFunctions.urls')),
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/conf/urls/__init__ .py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/websiteFunctions/urls.py", line 2, in
import views
File "/usr/local/CyberCP/websiteFunctions/views.py", line 9, in
from plogical.website import WebsiteManager
File "/usr/local/CyberCP/plogical/website.py", line 14, in
from virtualHostUtilities import virtualHostUtilities
File "/usr/local/CyberCP/plogical/virtualHostUtilities.py", line 32, in
from CLManager.models import CLPackages
File "/usr/local/CyberCP/CLManager/models.py", line 9, in
class CLPackages(models.Model):
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/models/base.py" , line 118, in __new__
"INSTALLED_APPS." % (module, name)
RuntimeError: Model class CLManager.models.CLPackages doesn't declare an explici t app_label and isn't in an application in INSTALLED_APPS.
[[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py makemigrations ^C
[[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py migrate Traceback (most recent call last):
File "manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 363, in execute_from_command_line
utility.execute()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 327, in execute
self.check()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 359, in check
include_deployment_checks=include_deployment_checks,
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/co mmands/migrate.py", line 62, in _run_checks
issues.extend(super(Command, self)._run_checks(**kwargs))
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/regist ry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 16, in check_url_config
return check_resolver(resolver)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/checks/urls.p y", line 26, in check_resolver
return check_method()
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 254, in check
for pattern in self.url_patterns:
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 405, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/utils/functional.p y", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/urls/resolvers.py" , line 398, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/CyberCP/urls.py", line 23, in
url(r'^websites/',include('websiteFunctions.urls')),
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/conf/urls/__init__ .py", line 50, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/local/CyberCP/websiteFunctions/urls.py", line 2, in
import views
File "/usr/local/CyberCP/websiteFunctions/views.py", line 9, in
from plogical.website import WebsiteManager
File "/usr/local/CyberCP/plogical/website.py", line 14, in
from virtualHostUtilities import virtualHostUtilities
File "/usr/local/CyberCP/plogical/virtualHostUtilities.py", line 32, in
from CLManager.models import CLPackages
File "/usr/local/CyberCP/CLManager/models.py", line 9, in
class CLPackages(models.Model):
File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/models/base.py" , line 118, in __new__
"INSTALLED_APPS." % (module, name)
RuntimeError: Model class CLManager.models.CLPackages doesn't declare an explici t app_label and isn't in an application in INSTALLED_APPS.

Comments

  • 1.8.6 When I updated cyberpanel to version 1.8.6 it was also an error: when using filemanger, there was no "public_html" folder to upload the web source.
  • Clean Install >> app installer does not work.
    Cannot upload files via file manager.
    Any idea why Every Cyberpanel comes with a lost of functions?
  • Before I forget had this message no file or directory etc/opendkim/keys/ creating a website
  • v1.8.6 had major changes on back end, we are fixing all the bugs as soon as someone reports them. Most of the bugs from last 2 days are patched. Try to upgrade now, if you still face any issues let us know.
  • Hi @CyberPanel i did redo the upgrade but when i'm doing

    /usr/local/CyberCP/bin/python manage.py migrate

    i got this issue!

    if you can fix that will be really appreciate thank you very much!




    [[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py migrate System check identified some issues:

    WARNINGS:
    ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default'
    HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, s uch as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/1. 11/ref/databases/#mysql-sql-mode
    ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'rootdb'
    HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, s uch as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/1. 11/ref/databases/#mysql-sql-mode
    Operations to perform:
    Apply all migrations: CLManager, admin, auth, backup, baseTemplate, containeri zation, contenttypes, databases, dns, dockerManager, emailMarketing, emailPremiu m, firewall, ftp, loginSystem, mailServer, managePHP, manageServices, packages, s3Backups, sessions, websiteFunctions
    Running migrations:
    Applying CLManager.0001_initial...Traceback (most recent call last):
    File "manage.py", line 22, in
    execute_from_command_line(sys.argv)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 363, in execute_from_command_line
    utility.execute()
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 330, in execute
    output = self.handle(*args, **options)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/co mmands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/exec utor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_i nitial=fake_initial)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/exec utor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_ initial)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/exec utor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/migr ation.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, projec t_state)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/oper ations/models.py", line 97, in database_forwards
    schema_editor.create_model(model)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/base/s chema.py", line 302, in create_model
    self.execute(sql, params or None)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/base/s chema.py", line 119, in execute
    cursor.execute(sql, params)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/utils. py", line 65, in execute
    return self.cursor.execute(sql, params)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/utils. py", line 63, in execute
    return self.cursor.execute(sql)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/mysql/ base.py", line 101, in execute
    return self.cursor.execute(query, args)
    File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in exe cute
    self.errorhandler(self, exc, value)
    File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
    django.db.utils.OperationalError: (1050, "Table 'CLManager_clpackages' already e xists")
    [[email protected] CyberCP]#
  • edited July 2019
    https://imgur.com/YBotoym


    [04-56-58-Fri-Jul-2019] {"report_safe":true,"required_hits":"5","rewrite_header":"Subject [SPAM] ","required_score":"5"}
    [05-00-08-Fri-Jul-2019] {"report_safe":true,"required_hits":"5","rewrite_header":"Subject [SPAM] ","required_score":"5"}


    2019-07-12 23:43:53.998076 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [checkprivatecache 1]
    2019-07-12 23:43:53.998094 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [checkpubliccache 1]
    2019-07-12 23:43:53.998128 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [maxcacheobjsize 10000000]
    2019-07-12 23:43:53.998147 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [maxstaleage 200]
    2019-07-12 23:43:53.998163 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [qscache 1]
    2019-07-12 23:43:53.998179 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [reqcookiecache 1]
    2019-07-12 23:43:53.998210 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [respcookiecache 1]
    2019-07-12 23:43:53.998226 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [ignorereqcachectrl 1]
    2019-07-12 23:43:53.998240 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [ignorerespcachectrl 0]
    2019-07-12 23:43:53.998254 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [enablecache 0]
    2019-07-12 23:43:53.998268 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [expireinseconds 3600]
    2019-07-12 23:43:53.998282 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [enableprivatecache 0]
    2019-07-12 23:43:53.998296 [INFO] [PlainConf] [httpServerConfig:] module [cache] add param [privateexpireinseconds 3600]
    2019-07-12 23:43:53.998324 [NOTICE] Loading LiteSpeed/1.4.48 Open (built: Fri Jun 21 18:20:27 UTC 2019) ...
    2019-07-12 23:43:54.021919 [NOTICE] Using [BoringSSL]
    2019-07-12 23:43:54.054025 [NOTICE] [ADMIN] server socket: uds://usr/local/lsws/admin/tmp/admin.sock.7833
    2019-07-12 23:43:54.054889 [NOTICE] chroot is disabled.
    2019-07-12 23:43:54.054926 [INFO] old priority: 0, new priority: 0
    2019-07-12 23:43:54.055014 [INFO] [config:server:basics2] For better obscurity, server version number is hidden in the response header.
    2019-07-12 23:43:54.118758 [NOTICE] [PID: 1094]: forked cgid: 1111
    2019-07-12 23:43:54.131468 [INFO] [PlainConf] [adminConfig:] start parsing file /usr/local/lsws/admin/conf/admin_config.conf
    2019-07-12 23:43:54.178696 [INFO] [Module: modcompress 1.1] has been initialized successfully
    2019-07-12 23:43:54.181957 [INFO] [Module: moddecompress 1.1] has been initialized successfully
    2019-07-12 23:43:54.185634 [INFO] [Module: cache 1.61] has been initialized successfully
    2019-07-12 23:43:54.212326 [NOTICE] The maximum number of file descriptor limit is set to 6000.
    2019-07-12 23:43:54.242789 [INFO] [PlainConf] [virtualHostConfig:] start parsing file /usr/local/lsws/conf/vhosts/Example/vhconf.conf
    2019-07-12 23:43:54.249996 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
    2019-07-12 23:43:54.253700 [INFO] [config:server:vhosts:vhost:Example] config context /.
    2019-07-12 23:43:54.259947 [INFO] RewriteFile [.htaccess] parsed, return 0.
    2019-07-12 23:43:54.259996 [INFO] [config:server:vhosts:vhost:Example] config context /blocked/.
    2019-07-12 23:43:54.260040 [INFO] [config:server:vhosts:vhost:Example] config context /cgi-bin/.
    2019-07-12 23:43:54.260147 [INFO] [config:server:vhosts:vhost:Example] config context /docs/.
    2019-07-12 23:43:54.260220 [INFO] [config:server:vhosts:vhost:Example] config context /protected/.
    2019-07-12 23:43:54.260253 [ERROR] [config:server:vhosts:vhost:Example:context:/protected/] Path for context location is invalid: /usr/local/lsws/Example/html/protected/
    2019-07-12 23:43:54.261183 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/ccl.conf
    2019-07-12 23:43:54.262573 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
    2019-07-12 23:43:54.262638 [INFO] [PlainConf] [virtualHostTemplate:] start parsing file /usr/local/lsws/conf/templates/rails.conf
    2019-07-12 23:43:54.265087 [INFO] [PlainConf] [context:/] rewrite [] add rules [rewritefile .htaccess]
    2019-07-12 23:43:54.265158 [NOTICE] [ZConfManager] No VHosts added, do not send!
    2019-07-12 23:43:54.266053 [NOTICE] [AutoRestarter] new child process with pid=1137 is forked!
    2019-07-12 23:43:54.266338 [NOTICE] [AutoRestarter] new child process with pid=1138 is forked!
    2019-07-12 23:43:54.276661 [NOTICE] [child: 1137] Successfully change current user to nobody
    2019-07-12 23:43:54.276775 [NOTICE] Child: 1137] Core dump is enabled.
    2019-07-12 23:43:54.276859 [NOTICE] [Child: 1137] Setup swapping space...
    2019-07-12 23:43:54.278379 [NOTICE] [Child: 1137] LiteSpeed/1.4.48 Open starts successfully!
    2019-07-12 23:43:54.297026 [INFO] Stop listener *:7080.
    2019-07-12 23:43:54.301040 [NOTICE] [child: 1138] Successfully change current user to nobody
    2019-07-12 23:43:54.301145 [NOTICE] Child: 1138] Core dump is enabled.
    2019-07-12 23:43:54.301238 [NOTICE] [Child: 1138] Setup swapping space...
    2019-07-12 23:43:54.315940 [NOTICE] [Child: 1138] LiteSpeed/1.4.48 Open starts successfully!
  • i'm also not able to log in my email anymore it's telling me ×Authentication failed to every email im trying to login
  • > @mmarquette said:
    > i'm also not able to log in my email anymore it's telling me ×Authentication failed to every email im trying to login

    Same here! I just upgraded and now email accounts are broke. I and the rest of my users cannot access any of our email accounts. I just created a ticket. Please fix this ASAP! Other issues I can deal with, but emails have to be working for us.
  • me i have restore to a previous state but if im doing the upgrade again im feary that i'll loose acces to my email... so can you fix that please @CyberPanel
  • and tell us when it'S fixed please! @CyberPanel
  • Examining this in phpMyAdmin, the issue is all email accounts are now encrypted in 1.8.6 but old email accounts migrated with MD5 (incorrect) while any future or new accounts are properly encrypted with CRYPT. From what I can tell, the fix for old accounts that were improperly migrated would be to decrypt them from MD5 and reencrypt to CRYPT.
  • Is it possible to reinstall the CP, without damaging the installed sites, since I got problems with the 1.8.6 update?
  • @rebnaque

    Contact our support, will fix that for your. Re-install of CyberPanel is not necessary.
  • v1.8.6 had major changes on back end, we are fixing all the bugs as soon as someone reports them. Most of the bugs from last 2 days are patched. Try to upgrade now, if you still face any issues let us know.

    Confirm the fixes. CyberPanel is production ready again.
    TO ALL MY FELLOW CYBERPANEL ADOPTERS. BACKUP, BACKUP, BACKUP before upgrading.
    Would be great to have a repair option and a version repository.
    Cheers
  • @Cyberpanel did you fix the bug i report?
  • @mmarquette

    You have multiple posts, can you kindly mention which one you are still facing?
  • the one with /usr/local/CyberCP/bin/python manage.py migrate

    and the email one because when upgrading it's making me not being able to log into any email
  • so before retrying i want to know if im going to endup the same as 2 days ago and need to restore or it will be all good as habitually :)

    and by the way you are doing a fucking great and nice job keep going!
  • I already solved the problem, it was only to change the database data in "/usr/local/CyberCP/CyberCP/settings.py" and to update again, everything was fine, except rainloop, which gives me this error in the browser: " [202] Data folder permissions error [is_writable] "I went to cd / usr / local / lscp / cyberpanel and chown -R lscpd: lscpd rainloop, but nothing, remains the same
  • yeah but i wont change anything if it's causing problem my client need there email so i will wait till @CyberPanel fix the thingy!
  • the error with migrate.py is


    [root[email protected] CyberCP]# /usr/local/CyberCP/bin/python manage.py migrate System check identified some issues:

    WARNINGS:
    ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default'
    HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, s uch as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/1. 11/ref/databases/#mysql-sql-mode
    ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'rootdb'
    HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, s uch as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/1. 11/ref/databases/#mysql-sql-mode
    Operations to perform:
    Apply all migrations: CLManager, admin, auth, backup, baseTemplate, containeri zation, contenttypes, databases, dns, dockerManager, emailMarketing, emailPremiu m, firewall, ftp, loginSystem, mailServer, managePHP, manageServices, packages, s3Backups, sessions, websiteFunctions
    Running migrations:
    Applying CLManager.0001_initial...Traceback (most recent call last):
    File "manage.py", line 22, in
    execute_from_command_line(sys.argv)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 363, in execute_from_command_line
    utility.execute()
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/__ init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/ba se.py", line 330, in execute
    output = self.handle(*args, **options)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/co mmands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/exec utor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_i nitial=fake_initial)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/exec utor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_ initial)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/exec utor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/migr ation.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, projec t_state)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/oper ations/models.py", line 97, in database_forwards
    schema_editor.create_model(model)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/base/s chema.py", line 302, in create_model
    self.execute(sql, params or None)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/base/s chema.py", line 119, in execute
    cursor.execute(sql, params)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/utils. py", line 65, in execute
    return self.cursor.execute(sql, params)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/utils. py", line 63, in execute
    return self.cursor.execute(sql)
    File "/usr/local/CyberCP/lib/python2.7/site-packages/django/db/backends/mysql/ base.py", line 101, in execute
    return self.cursor.execute(query, args)
    File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in exe cute
    self.errorhandler(self, exc, value)
    File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue
    django.db.utils.OperationalError: (1050, "Table 'CLManager_clpackages' already e xists")
    [[email protected] CyberCP]#
  • @mmarquette Is there any specific reason that you run migrate manually, we don't recommend that anymore?
  • ok so i just need to do the update and that it?
  • and does that bug have been fixed Authentication failed?
  • no it just when i do the update after it done, i cannot log anymore in any email that i have create.

    i got Authentication failed
  • I am facing the same:

    Internal Error

    The server encountered an unexpected condition which prevented it from fulfilling the request.

    error with services memcached/redis/postfix not working.

    I have raised a ticket but not response yet.

    It's a nice CP but the fact it brakes after every single update is really worrying.
This discussion has been closed.
CyberPanel Discord

Howdy, Stranger!

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