Hi guys. Got an issues after updating aaPanel. I try to fix it by myself, but it didn't help, so please, help me🙂
The issue is: After updating I lost connection to aaPanel. Status check showed next message:
root@monstilin:~# bt status
Bt-Panel not running
Bt-Task not running
Next command showed:
root@monstilin:~# bt 16
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
import json, os, sys, time, re, socket, importlib, binascii, base64, io, string, psutil
ModuleNotFoundError: No module named 'psutil'
I try to install all nodules what it asked me, but still no result
root@monstilin:/www/server/panel# bt restart
Stopping Bt-Tasks... done
Stopping Bt-Panel... done
Starting Bt-Panel............failed
[2024-05-20 01:40:01][DEBUG] - {"id": 1, "path": "/www/wwwroot/monstilin.school"}
nohup: failed to run command '/www/server/panel/BT-Panel': No such file or directory
nohup: failed to run command '/www/server/panel/BT-Panel': No such file or directory
nohup: failed to run command '/www/server/panel/BT-Panel': No such file or directory
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Error: BT-Panel service startup failed.
done
Starting Bt-Tasks... failed
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named 'psutil'
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 19, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named 'psutil'
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 19, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named 'psutil'
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 19, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named 'psutil'
Error: BT-Task service startup failed.
root@monstilin:/www/server/panel# btpip install gevent
-bash: btpip: command not found
root@monstilin:/www/server/panel# btpip install psutil
-bash: btpip: command not found
root@monstilin:/www/server/panel# bt 1
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
import json, os, sys, time, re, socket, importlib, binascii, base64, io, string, psutil
ModuleNotFoundError: No module named 'psutil'
root@monstilin:/www/server/panel# bt pip install psutil
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
import json, os, sys, time, re, socket, importlib, binascii, base64, io, string, psutil
ModuleNotFoundError: No module named 'psutil'
root@monstilin:/www/server/panel# bt pip install gevent
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
import json, os, sys, time, re, socket, importlib, binascii, base64, io, string, psutil
ModuleNotFoundError: No module named 'psutil'
root@monstilin:/www/server/panel# bt pip install psutil
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
import json, os, sys, time, re, socket, importlib, binascii, base64, io, string, psutil
ModuleNotFoundError: No module named 'psutil'
root@monstilin:/www/server/panel# bt 1
Traceback (most recent call last):
File "/www/server/panel/tools.py", line 20, in <module>
import public,time,json
File "/www/server/panel/class/public/init.py", line 14, in <module>
import json, os, sys, time, re, socket, importlib, binascii, base64, io, string, psutil
ModuleNotFoundError: No module named 'psutil'
root@monstilin:/www/server/panel# sudo pip install --upgrade psutil
sudo: pip: command not found
root@monstilin:/www/server/panel# python -m pip install psutil
/usr/bin/python: No module named pip
And last what I got after all updating is:
root@monstilin:/www/server/panel# bt restart
Stopping Bt-Tasks... done
Stopping Bt-Panel... done
Starting Bt-Panel............failed
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent'
Error: BT-Panel service startup failed.
done
Starting Bt-Tasks... done