Hi,
i just install aapanel using docker https://hub.docker.com/r/aapanel/aapanel,
everything works fine, until i update the aaPanel.

ERROR LOG :
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=container error was
14: curl#7 - "Failed connect to mirrorlist.centos.org:80; Connection refused"

  • base: mirrors.tuna.tsinghua.edu.cn
  • epel: it1.mirror.vhosting-it.com
  • extras: mirrors.aliyun.com
  • updates: mirrors.aliyun.com
    Package 14:libpcap-devel-1.5.3-13.el7_9.x86_64 already installed and latest version
    Nothing to do
    Fatal Python error: initfsencoding: unable to load the file system codec
    Traceback (most recent call last):
    File "/www/server/panel/pyenv/lib/python3.7/encodings/init.py", line 31, in <module>
    ModuleNotFoundError: No module named 'codecs'
    Fatal Python error: initfsencoding: unable to load the file system codec
    Traceback (most recent call last):
    File "/www/server/panel/pyenv/lib/python3.7/encodings/init.py", line 31, in <module>
    ModuleNotFoundError: No module named 'codecs'
    Fatal Python error: initfsencoding: unable to load the file system codec
    Traceback (most recent call last):
    File "/www/server/panel/pyenv/lib/python3.7/encodings/init.py", line 31, in <module>
    ModuleNotFoundError: No module named 'codecs'

I have no idea to fix...
i just reinstall and update aaPanel , but i have same issue when i update

    Hello, this is caused by the system source not being used properly. It is recommended that you change to a usable source.

    aaP_info228