Error update cyber panel

Traceback (most recent call last):
  File "", line 2684, in <module>
  File "", line 2680, in main
  File "", line 2595, in upgrade
  File "", line 2493, in UpdateConfigOfCustomACL
  File "/usr/local/CyberPanel/lib/python3.6/site-packages/django/", line 24, in setup
  File "/usr/local/CyberPanel/lib/python3.6/site-packages/django/apps/", line 114, in populate
  File "/usr/local/CyberPanel/lib/python3.6/site-packages/django/apps/", line 211, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/local/CyberPanel/lib64/python3.6/importlib/", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/local/CyberCP/websiteFunctions/", line 41, in <module>
    class backupSchedules(models.Model):
  File "/usr/local/CyberCP/websiteFunctions/", line 42, in backupSchedules
    dest = models.ForeignKey(dest)
TypeError: __init__() missing 1 required positional argument: 'on_delete'

Which operating system? and which hosting provider?

Hello, cyberpanel is installed in docker centos OS, everything is deployed on a virtual machine

Cyberpanel is not recommended to install in docker

Why is it not recommended to install in docker?