Email issue

Hi after update with latest version i have facing issue i am unable to create now email its now error .
and

Cannot create email account. Error message: 0,(1054, “Unknown column ‘e_domains.childOwner_id’ in ‘field list’”)

https://cyber.nexoone.com:8090/rainloop/index.php
login url also not work .

[202] Data folder permissions error [is_dir]

plz help me out

Try this solution → Problem Deleting Child Domains After Upgrade — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

Hi, I have the same issue. When following the suggested Link, I am receiving following errors:

Traceback (most recent call last):
File “manage.py”, line 22, in
execute_from_command_line(sys.argv)
File “/usr/lib64/python2.7/site-packages/django/core/management/init.py”, line 363, in execute_from_command_line
utility.execute()
File “/usr/lib64/python2.7/site-packages/django/core/management/init.py”, line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 283, in run_from_argv
self.execute(*args, **cmd_options)
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 327, in execute
self.check()
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 359, in check
include_deployment_checks=include_deployment_checks,
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 346, in _run_checks
return checks.run_checks(**kwargs)
File “/usr/lib64/python2.7/site-packages/django/core/checks/registry.py”, line 81, in run_checks
new_errors = check(app_configs=app_configs)
File “/usr/lib64/python2.7/site-packages/django/core/checks/urls.py”, line 16, in check_url_config
return check_resolver(resolver)
File “/usr/lib64/python2.7/site-packages/django/core/checks/urls.py”, line 26, in check_resolver
return check_method()
File “/usr/lib64/python2.7/site-packages/django/urls/resolvers.py”, line 254, in check
for pattern in self.url_patterns:
File “/usr/lib64/python2.7/site-packages/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/usr/lib64/python2.7/site-packages/django/urls/resolvers.py”, line 405, in url_patterns
patterns = getattr(self.urlconf_module, “urlpatterns”, self.urlconf_module)
File “/usr/lib64/python2.7/site-packages/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/usr/lib64/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 43, in
url(r’^docker/’, include(‘dockerManager.urls’)),
File “/usr/lib64/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/dockerManager/urls.py”, line 2, in
import views
File “/usr/local/CyberCP/dockerManager/views.py”, line 7, in
from .container import ContainerManager
File “/usr/local/CyberCP/dockerManager/container.py”, line 22, in
import docker
ImportError: No module named docker
[moneke@vmd32972 CyberCP]$ python manage.py migrate
Traceback (most recent call last):
File “manage.py”, line 22, in
execute_from_command_line(sys.argv)
File “/usr/lib64/python2.7/site-packages/django/core/management/init.py”, line 363, in execute_from_command_line
utility.execute()
File “/usr/lib64/python2.7/site-packages/django/core/management/init.py”, line 355, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 283, in run_from_argv
self.execute(*args, **cmd_options)
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 327, in execute
self.check()
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 359, in check
include_deployment_checks=include_deployment_checks,
File “/usr/lib64/python2.7/site-packages/django/core/management/commands/migrate.py”, line 62, in _run_checks
issues.extend(super(Command, self)._run_checks(**kwargs))
File “/usr/lib64/python2.7/site-packages/django/core/management/base.py”, line 346, in _run_checks
return checks.run_checks(**kwargs)
File “/usr/lib64/python2.7/site-packages/django/core/checks/registry.py”, line 81, in run_checks
new_errors = check(app_configs=app_configs)
File “/usr/lib64/python2.7/site-packages/django/core/checks/urls.py”, line 16, in check_url_config
return check_resolver(resolver)
File “/usr/lib64/python2.7/site-packages/django/core/checks/urls.py”, line 26, in check_resolver
return check_method()
File “/usr/lib64/python2.7/site-packages/django/urls/resolvers.py”, line 254, in check
for pattern in self.url_patterns:
File “/usr/lib64/python2.7/site-packages/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/usr/lib64/python2.7/site-packages/django/urls/resolvers.py”, line 405, in url_patterns
patterns = getattr(self.urlconf_module, “urlpatterns”, self.urlconf_module)
File “/usr/lib64/python2.7/site-packages/django/utils/functional.py”, line 35, in get
res = instance.dict[self.name] = self.func(instance)
File “/usr/lib64/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 43, in
url(r’^docker/’, include(‘dockerManager.urls’)),
File “/usr/lib64/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/dockerManager/urls.py”, line 2, in
import views
File “/usr/local/CyberCP/dockerManager/views.py”, line 7, in
from .container import ContainerManager
File “/usr/local/CyberCP/dockerManager/container.py”, line 22, in
import docker
ImportError: No module named docker

So thanks in advance for any help!

Use the python available at /usr/local/CyberCP/bin/python

It does not work…

Can you please post the full commands to just copy and paste?

Thanks!

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

Hi, thanks for your answer but the error is still existing.

The command line says following when executing:

[root@server ~]$ cd /usr/local/CyberCP

[root@server CyberCP]$ /usr/local/CyberCP/bin/python manage.py makemigrations
No changes detected

[root@server 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, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: Databases | Django documentation | Django
?: (mysql.W002) MySQL Strict Mode is not set for database connection ‘rootdb’
HINT: MySQL’s Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: Databases | Django documentation | Django
Operations to perform:
Apply all migrations: admin, auth, backup, baseTemplate, containerization, contenttypes, databases, dns, dockerManager, emailMarketing, emailPremium, firewall, ftp, loginSystem, mailServer, managePHP, manageServices, packages, s3Backups, sessions, websiteFunctions
Running migrations:
Applying containerization.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/base.py”, line 283, in run_from_argv
self.execute(*args, **cmd_options)
File “/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/base.py”, line 330, in execute
output = self.handle(*args, **options)
File “/usr/local/CyberCP/lib/python2.7/site-packages/django/core/management/commands/migrate.py”, line 204, in handle
fake_initial=fake_initial,
File “/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/executor.py”, line 115, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File “/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/executor.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/executor.py”, line 244, in apply_migration
state = migration.apply(state, schema_editor)
File “/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/migration.py”, line 129, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File “/usr/local/CyberCP/lib/python2.7/site-packages/django/db/migrations/operations/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/schema.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/schema.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 execute
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 ‘containerization_containerlimits’ already exists”)

Alright, kindly submit ticket with us.