Hey, everyone,
I need some support and help to install aaPanel on Raspberry Pi3 b+.
I try to install aaPanel 6.7.1 on CentOS-Userland-7-aarch64-RaspberryPI-Minimal-4-2003-sda.raw.xz (from official Centos) . The OS has been installed succesfully, with all the updates ...
The minimal version i installed is from http://mirror.nl.datapacket.com/centos-altarch/7.8.2003/isos/aarch64/images/CentOS-Userland-7-aarch64-RaspberryPI-Minimal-4-2003-sda.raw.xz.
I tried with Ubuntu 18.04 (for Raspberry Pi 3b+ http://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04-preinstalled-server-arm64+raspi.img.xz). It was ok, but on Ubuntu disto DNS Manager and other plug-ins dont work, thats why i change to Centos 7 aarch64.
I need DNS manager because on Ubuntu 18.04 (Raspberry ARM distro) DNS Manager is not supported and on Mail Server ( I can not add my domain (my DNS service is from CloudFlare , and I bet CloudFlare will not open port 25 for me 😊 )I get a : "A record parsing failed". Some of forum users recomand to use DNS Manager to solve the problem. So I try to use Centos 7 distro, but I get this error:
Requirement already satisfied: cachelib in /www/server/panel/pyenv/lib/python3.7/site-packages (0.1)
Collecting pyOpenSSl
Using cached pyOpenSSL-19.1.0-py2.py3-none-any.whl (53 kB)
Collecting six>=1.5.2
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting cryptography>=2.8
Downloading cryptography-2.9.2.tar.gz (517 kB)
|████████████████████████████████| 517 kB 1.3 MB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /www/server/panel/pyenv/bin/python3.7 /www/server/panel/pyenv/lib/python3.7/site-packages/pip i nstall --ignore-installed --no-user --prefix /tmp/pip-build-env-gg55ikve/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.6.0' wheel 'cffi>=1.8 ,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"''
cwd: None
Complete output (14 lines):
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/www/server/panel/pyenv/lib/python3.7/runpy.py", line 85, in run_code
exec(code, run_globals)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pip/main.py", line 23, in <module>
from pip.internal.cli.main import main as main # isort:skip # noqa
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pip/internal/cli/main.py", line 5, in <modul e>
import locale
File "/www/server/panel/pyenv/lib/python3.7/locale.py", line 16, in <module>
import re
File "/www/server/panel/pyenv/lib/python3.7/re.py", line 143, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
ERROR: Command errored out with exit status 1: /www/server/panel/pyenv/bin/python3.7 /www/server/panel/pyen v/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-gg55ikve /overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 's etuptools>=40.6.0' wheel 'cffi>=1.8,!=1.11.3; platform_python_implementation != '"'"'PyPy'"'"'' Check the logs for full command output.
success
Starting Bt-Panel.... done
Starting Bt-Tasks... done
username: yhmtwwax
Stopping Bt-Tasks... done
Stopping Bt-Panel... done
Starting Bt-Panel.... done
Starting Bt-Tasks... done
ERROR: The aaPanel service startup failed.
[root@mail ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 28G 2.1G 26G 8% /
devtmpfs 453M 0 453M 0% /dev
tmpfs 457M 4.0K 457M 1% /dev/shm
tmpfs 457M 12M 445M 3% /run
tmpfs 457M 0 457M 0% /sys/fs/cgroup
/dev/mmcblk0p1 286M 54M 232M 19% /boot
tmpfs 92M 0 92M 0% /run/user/0
[root@mail ~]#
Maybe someone from dev saw this post and give me some hints how to fix that until they release a fix.