@aaPanel_Kern
hello,
the Ubuntu 22.04 can't install MariaDB 10.5 or higher. there is log
sort: cannot read: ping.pl: No such file or directory
--2022-07-29 23:56:11-- https://node.aapanel.com/install/4/mysql.sh
Resolving node.aapanel.com (node.aapanel.com)... 2606:4700:3031::6815:4fc4, 2606:4700:3034::ac43:ab07, 104.21.79.196, ...
Connecting to node.aapanel.com (node.aapanel.com)|2606:4700:3031::6815:4fc4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19441 (19K) [application/octet-stream]
Saving to: ‘mysql.sh’
0K .......... ........ 100% 74.8M=0s
2022-07-29 23:56:11 (74.8 MB/s) - ‘mysql.sh’ saved [19441/19441]
selecting download node...
http://128.1.164.196
--2022-07-29 23:56:22-- http://download.bt.cn/install/public.sh
Resolving download.bt.cn (download.bt.cn)... 240e:a5:4200:89::256, 116.213.43.206
Connecting to download.bt.cn (download.bt.cn)|240e:a5:4200:89::256|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4267 (4.2K) [application/octet-stream]
Saving to: ‘Tpublic.sh’
0K .... 100% 657M=0s
2022-07-29 23:56:22 (657 MB/s) - ‘Tpublic.sh’ saved [4267/4267]
selecting download node...
Reading package lists...
Building dependency tree...
Reading state information...
cmake is already the newest version (3.22.1-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
--2022-07-29 23:56:33-- http://dg2.bt.cn/deb/ubuntu/22/bt-mariadb105.deb
Resolving dg2.bt.cn (dg2.bt.cn)... 240e:a5:4200:89::256, 116.213.43.206
Connecting to dg2.bt.cn (dg2.bt.cn)|240e:a5:4200:89::256|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-29 23:56:33 ERROR 404: Not Found.
dpkg-deb: error: 'bt-mariadb105.deb' is not a Debian format archive
dpkg: error processing archive bt-mariadb105.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
bt-mariadb105.deb
/www/server/mysql/scripts/mysql_install_db: No such file or directory
mysql.sh: line 434: /www/server/mysql/scripts/mysql_install_db: No such file or directory
cp: cannot stat 'support-files/mysql.server': No such file or directory
chmod: cannot access '/etc/init.d/mysqld': No such file or directory
sed: can't read /etc/init.d/mysqld: No such file or directory
sed: can't read /etc/init.d/mysqld: No such file or directory
mysql.sh: line 454: /etc/init.d/mysqld: No such file or directory
mysql.sh: line 456: /www/server/mysql/bin/mysqladmin: No such file or directory
mysql.sh: line 461: /etc/init.d/mysqld: No such file or directory
update-rc.d: error: unable to read /etc/init.d/mysqld
WARNING: Skipping MySQL-python as it is not installed.
WARNING: Skipping mysqlclient as it is not installed.
Found existing installation: PyMySQL 0.9.3
Uninstalling PyMySQL-0.9.3:
Successfully uninstalled PyMySQL-0.9.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
--2022-07-29 23:56:34-- http://dg2.bt.cn/install/src/PyMySQL-0.9.3.zip
Resolving dg2.bt.cn (dg2.bt.cn)... 240e:a5:4200:89::256, 116.213.43.206
Connecting to dg2.bt.cn (dg2.bt.cn)|240e:a5:4200:89::256|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108696 (106K) [application/zip]
Saving to: ‘src.zip’
0K .......... .......... .......... .......... .......... 47% 71.0K 1s
50K .......... .......... .......... .......... .......... 94% 142K 0s
100K ...... 100% 11.5T=1.1s
2022-07-29 23:56:36 (101 KB/s) - ‘src.zip’ saved [108696/108696]
Archive: src.zip
8eee26692726e7c923186322a68e15e4d98c138e
creating: PyMySQL-0.9.3/
inflating: PyMySQL-0.9.3/.coveragerc
creating: PyMySQL-0.9.3/.github/
inflating: PyMySQL-0.9.3/.github/ISSUE_TEMPLATE.md
inflating: PyMySQL-0.9.3/.gitignore
inflating: PyMySQL-0.9.3/.travis.yml
creating: PyMySQL-0.9.3/.travis/
inflating: PyMySQL-0.9.3/.travis/database.json
inflating: PyMySQL-0.9.3/.travis/docker.json
inflating: PyMySQL-0.9.3/.travis/initializedb.sh
inflating: PyMySQL-0.9.3/CHANGELOG
inflating: PyMySQL-0.9.3/LICENSE
extracting: PyMySQL-0.9.3/MANIFEST.in
inflating: PyMySQL-0.9.3/Pipfile
inflating: PyMySQL-0.9.3/README.rst
creating: PyMySQL-0.9.3/docs/
inflating: PyMySQL-0.9.3/docs/Makefile
inflating: PyMySQL-0.9.3/docs/make.bat
creating: PyMySQL-0.9.3/docs/source/
inflating: PyMySQL-0.9.3/docs/source/conf.py
inflating: PyMySQL-0.9.3/docs/source/index.rst
creating: PyMySQL-0.9.3/docs/source/modules/
inflating: PyMySQL-0.9.3/docs/source/modules/connections.rst
inflating: PyMySQL-0.9.3/docs/source/modules/cursors.rst
inflating: PyMySQL-0.9.3/docs/source/modules/index.rst
creating: PyMySQL-0.9.3/docs/source/user/
inflating: PyMySQL-0.9.3/docs/source/user/development.rst
inflating: PyMySQL-0.9.3/docs/source/user/examples.rst
inflating: PyMySQL-0.9.3/docs/source/user/index.rst
inflating: PyMySQL-0.9.3/docs/source/user/installation.rst
inflating: PyMySQL-0.9.3/docs/source/user/resources.rst
inflating: PyMySQL-0.9.3/example.py
creating: PyMySQL-0.9.3/pymysql/
inflating: PyMySQL-0.9.3/pymysql/__init__.py
inflating: PyMySQL-0.9.3/pymysql/_auth.py
inflating: PyMySQL-0.9.3/pymysql/_compat.py
inflating: PyMySQL-0.9.3/pymysql/_socketio.py
inflating: PyMySQL-0.9.3/pymysql/charset.py
inflating: PyMySQL-0.9.3/pymysql/connections.py
creating: PyMySQL-0.9.3/pymysql/constants/
inflating: PyMySQL-0.9.3/pymysql/constants/CLIENT.py
inflating: PyMySQL-0.9.3/pymysql/constants/COMMAND.py
inflating: PyMySQL-0.9.3/pymysql/constants/CR.py
inflating: PyMySQL-0.9.3/pymysql/constants/ER.py
inflating: PyMySQL-0.9.3/pymysql/constants/FIELD_TYPE.py
inflating: PyMySQL-0.9.3/pymysql/constants/FLAG.py
inflating: PyMySQL-0.9.3/pymysql/constants/SERVER_STATUS.py
extracting: PyMySQL-0.9.3/pymysql/constants/__init__.py
inflating: PyMySQL-0.9.3/pymysql/converters.py
inflating: PyMySQL-0.9.3/pymysql/cursors.py
inflating: PyMySQL-0.9.3/pymysql/err.py
inflating: PyMySQL-0.9.3/pymysql/optionfile.py
inflating: PyMySQL-0.9.3/pymysql/protocol.py
creating: PyMySQL-0.9.3/pymysql/tests/
inflating: PyMySQL-0.9.3/pymysql/tests/__init__.py
inflating: PyMySQL-0.9.3/pymysql/tests/base.py
creating: PyMySQL-0.9.3/pymysql/tests/data/
inflating: PyMySQL-0.9.3/pymysql/tests/data/load_local_data.txt
inflating: PyMySQL-0.9.3/pymysql/tests/data/load_local_warn_data.txt
inflating: PyMySQL-0.9.3/pymysql/tests/test_DictCursor.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_SSCursor.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_basic.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_connection.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_converters.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_cursor.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_err.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_issues.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_load_local.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_nextset.py
inflating: PyMySQL-0.9.3/pymysql/tests/test_optionfile.py
creating: PyMySQL-0.9.3/pymysql/tests/thirdparty/
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/__init__.py
creating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/__init__.py
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/capabilities.py
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/dbapi20.py
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py
inflating: PyMySQL-0.9.3/pymysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py
inflating: PyMySQL-0.9.3/pymysql/times.py
inflating: PyMySQL-0.9.3/pymysql/util.py
extracting: PyMySQL-0.9.3/requirements.txt
inflating: PyMySQL-0.9.3/runtests.py
inflating: PyMySQL-0.9.3/setup.cfg
inflating: PyMySQL-0.9.3/setup.py
creating: PyMySQL-0.9.3/tests/
extracting: PyMySQL-0.9.3/tests/__init__.py
inflating: PyMySQL-0.9.3/tests/test_auth.py
inflating: PyMySQL-0.9.3/tox.ini
running install
running bdist_egg
running egg_info
creating PyMySQL.egg-info
writing PyMySQL.egg-info/PKG-INFO
writing dependency_links to PyMySQL.egg-info/dependency_links.txt
writing requirements to PyMySQL.egg-info/requires.txt
writing top-level names to PyMySQL.egg-info/top_level.txt
writing manifest file 'PyMySQL.egg-info/SOURCES.txt'
reading manifest file 'PyMySQL.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'PyMySQL.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/pymysql
copying pymysql/__init__.py -> build/lib/pymysql
copying pymysql/_auth.py -> build/lib/pymysql
copying pymysql/_compat.py -> build/lib/pymysql
copying pymysql/_socketio.py -> build/lib/pymysql
copying pymysql/charset.py -> build/lib/pymysql
copying pymysql/connections.py -> build/lib/pymysql
copying pymysql/converters.py -> build/lib/pymysql
copying pymysql/cursors.py -> build/lib/pymysql
copying pymysql/err.py -> build/lib/pymysql
copying pymysql/optionfile.py -> build/lib/pymysql
copying pymysql/protocol.py -> build/lib/pymysql
copying pymysql/times.py -> build/lib/pymysql
copying pymysql/util.py -> build/lib/pymysql
creating build/lib/pymysql/constants
copying pymysql/constants/CLIENT.py -> build/lib/pymysql/constants
copying pymysql/constants/COMMAND.py -> build/lib/pymysql/constants
copying pymysql/constants/CR.py -> build/lib/pymysql/constants
copying pymysql/constants/ER.py -> build/lib/pymysql/constants
copying pymysql/constants/FIELD_TYPE.py -> build/lib/pymysql/constants
copying pymysql/constants/FLAG.py -> build/lib/pymysql/constants
copying pymysql/constants/SERVER_STATUS.py -> build/lib/pymysql/constants
copying pymysql/constants/__init__.py -> build/lib/pymysql/constants
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/__init__.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_auth.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_compat.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/_socketio.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/charset.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/connections.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/converters.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/cursors.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/err.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/optionfile.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/protocol.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/times.py -> build/bdist.linux-x86_64/egg/pymysql
copying build/lib/pymysql/util.py -> build/bdist.linux-x86_64/egg/pymysql
creating build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/CLIENT.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/COMMAND.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/CR.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/ER.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/FIELD_TYPE.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/FLAG.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/SERVER_STATUS.py -> build/bdist.linux-x86_64/egg/pymysql/constants
copying build/lib/pymysql/constants/__init__.py -> build/bdist.linux-x86_64/egg/pymysql/constants
byte-compiling build/bdist.linux-x86_64/egg/pymysql/__init__.py to __init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/_auth.py to _auth.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/_compat.py to _compat.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/_socketio.py to _socketio.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/charset.py to charset.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/connections.py to connections.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/converters.py to converters.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/cursors.py to cursors.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/err.py to err.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/optionfile.py to optionfile.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/protocol.py to protocol.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/times.py to times.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/util.py to util.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/CLIENT.py to CLIENT.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/COMMAND.py to COMMAND.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/CR.py to CR.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/ER.py to ER.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/FIELD_TYPE.py to FIELD_TYPE.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/FLAG.py to FLAG.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/SERVER_STATUS.py to SERVER_STATUS.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/pymysql/constants/__init__.py to __init__.cpython-37.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying PyMySQL.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/PyMySQL-0.9.3-py3.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing PyMySQL-0.9.3-py3.7.egg
Copying PyMySQL-0.9.3-py3.7.egg to /www/server/panel/pyenv/lib/python3.7/site-packages
Adding PyMySQL 0.9.3 to easy-install.pth file
Installed /www/server/panel/pyenv/lib/python3.7/site-packages/PyMySQL-0.9.3-py3.7.egg
Processing dependencies for PyMySQL==0.9.3
Finished processing dependencies for PyMySQL==0.9.3
Reload Bt-Panel.. [32mdone[0m
mysql_root.sh: line 5: /etc/init.d/mysqld: No such file or directory
Changing password...
mysql_root.sh: line 6: mysqld_safe: command not found
mysql_root.sh: line 14: mysql: command not found
mysql_root.sh: line 23: mysql: command not found
mysql_root.sh: line 28: /etc/init.d/mysqld: No such file or directory
===========================================
The root password set cbc7ab4d46ac7940 successuful
1
--2022-07-29 23:56:44-- http://dg2.bt.cn/tools/check.sh
Resolving dg2.bt.cn (dg2.bt.cn)... 240e:a5:4200:89::256, 116.213.43.206
Connecting to dg2.bt.cn (dg2.bt.cn)|240e:a5:4200:89::256|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 565 [application/octet-stream]
Saving to: ‘/www/server/panel/install/check.sh’
0K 100% 184M=0s
2022-07-29 23:56:45 (184 MB/s) - ‘/www/server/panel/install/check.sh’ saved [565/565]
|-Successify ---Script execution completed---