Cyberpanel error 1146 after upgrade by GUI

Cyberpanel show me error 1146 after upgrade by GUI:

  1. Already check the same topic here, and have no a good way to solve this issue.
  2. The website is as normal to visit
  3. The panel show me the error message and can not do anything in GUI panel.
  4. Already tried to upgrade by SSH, and show me :
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ep5zgcfn/pynacl/
above command failed...

As all above. How can I fix cyberpanel to work well, and someone can help? Thank you very much.

can you please run update again on your server and check.

Tried to upgrade again and failed. Error messages as below:

        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1145, in run_setup
        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
    distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-l2pupcg9/pynacl/
above command failed...

please open a ticket at our support paltfrom

Thank you for help. It is OK now.

There is also a notice for others: update the panel by SSH anytime. Do not upgrade it in the panel’s version management option.