Hello i want to move aalpanel from my server on another can you tell me which folders i need to copy ?
Aapanel Transfer
KristianP
here is the main program
/www/server/panel
here is the site default directory
/www/wwwroot/
setp:
- install a new aapanel in your new server
- run commant in your new server to stop aapanel
bt stop
- copy the old server /www directory to overwrite the /www directory of the new server(Make sure there is no useful data in the /www directory of the overridden server)
- run commant in your new server to start aapanel
bt start
4 years later
i'm doing this but still like fresh install.
root@id1:~# bt start
Starting Bt-Panel.... done
Starting Bt-Tasks... failed
------------------------------------------------------
File "class/panelTask.py", line 206 in start_task
File "/www/server/panel/pyenv/lib/python3.7/threading.py", line 870 in run
File "/www/server/panel/pyenv/lib/python3.7/threading.py", line 926 in _bootstrap_inner
File "/www/server/panel/pyenv/lib/python3.7/threading.py", line 890 in _bootstrap
Thread 0x00007f847e199180 (most recent call first):
File "/www/server/panel/task.py", line 176 in startTask
File "/www/server/panel/task.py", line 847 in main
File "/www/server/panel/BT-Task", line 14 in <module>
2023-09-27 17:35:43 [INFO]: Service Up
2023-10-19 11:37:47 [INFO]: Service Up
2023-11-10 05:39:50 [INFO]: Service Up
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
File "/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/__init__.py", line 241, in <module>
raise ImportError(msg)
ImportError: version conflict: '/www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_psutil_linux.cpython-37m-x86_64-linux-gnu.so' C extension module was built for another version of psutil (5.8.0 instead of 5.9.4); you may try to 'pip uninstall psutil', manually remove /www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_psutil_linux.cpython-37m-x86_64-linux-gnu.so or clean the virtual env somehow, then reinstall
------------------------------------------------------
Error: BT-Task service startup failed.
root@id1:~# pip uninstall psutil
Command 'pip' not found, but can be installed with:
apt install python3-pip
root@id1:~# rm /www/server/panel/pyenv/lib/python3.7/site-packages/psutil/_psutil_linux.cpython-37m-x86_64-linux-gnu.so
root@id1:~# bt start
Starting Bt-Panel.... done
Starting Bt-Tasks... done
faizakbar18
Hello, you need a fresh installation and then restore the data
- Edited
aaPanel_Kern
sure we already have fresh installation, are do this before choose want use nginx or apache?
Install relevant programs according to your own requirements