Reinstall aaPanel or its Python Environment

0 Preface

For the stable operation of the panel, Pagoda installed a Python environment independently, but messing around like me may ruin it.

After installing software packages indiscriminately and causing a dependency conflict on the panel, the panel could not be started. I tried to reinstall the panel, but the problem was not solved; reinstalling the Python environment successfully solved the problem.

1. Update panel

implement:

Bash
1
curl https://download.bt.cn/install/update_panel.sh|bash

Happy version users execute:

Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.

If users of the happy version execute the official script, they will change back to the free version, and sometimes they will be detected and their IP will be blocked.

2. Reinstall the panel

Official/happy version users can execute:

Bash
1
wget http://download.bt.cn/install/bt-uninstall.sh

After uninstalling, re-execute the new installation script.

3, reinstall Python

implement:

Bash
1
2
mv /www/server/panel/pyenv /root/
curl http://download.bt.cn/install/install_panel.sh|bash

Happy version users execute:

Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.

If users of the happy version execute the official script, they will change back to the free version, and sometimes they will be detected and their IP will be blocked.

3. Principle

The principle is actually to execute the script of independent installation of the panel, which solves the environment and dependency problems by the way.

Reinstall aaPanel or its Python Environment

https://blog.tsinbei.com/en/archives/705/

Author
Hsukqi Lee
Posted on

2023-05-18

Edited on

2023-05-18

Licensed under

CC BY-NC-ND 4.0

Comments

Name
Mail
Site
None yet