Open adibenc opened 6 months ago
Did you manually upgrade django to 4.1.1 ?
@usmannasir No, all the installation files are original from the repo. It is also stated here btw
https://github.com/usmannasir/cyberpanel/blob/stable/ubuntu-requirments.txt
Currently, i switched to ubuntu 20.04 and the problem seems to not exist.
These ones are used: https://github.com/usmannasir/cyberpanel/blob/stable/requirments.txt
How do you install 4.1.1 ?
Describe the bug Executing
cyberpanel
on cli throws this error:Directly looking at the error at S.O., django generated code throws such an error
Fixing this directly by changing
ugettext_lazy
togettext_lazy
seems to solve the problem. I don't know if this a django bug or a cyberpanel bug.To Reproduce What steps did you take when the issue occurred?
cyberpanel
commandExpected behavior No error thrown after the installation. We shouldn't need to edit the generated
settings.py
manually.Operating system: Ubuntu 22.04 LTS
CyberPanel version: 2.3.4
Additional context If there is anything else that you'd like us to know about this issue that will help us diagnose and troubleshoot more effectively, such as links to forum posts or other discussions, please feel free to share here.