i cant use the Docker Manager in aaPanel
Hello linuxdev
Looks like there is an error in the js file
Can i log in to your panel to check it for you?
Yes surely. Is there a way to send you a PM or email?
linuxdev
Please send to zhwyeah@gmail.com
@aaPanel_Jose I have the same problem and i think the solution witch find for @linuxdev must be public . So , wath is solution ?
Hello zeroinf
I can put the solution here after checking it for you.
Hello. I'm going through the same thing. I've even created a new server, updated aaPanel to the latest and cannot still use Docker manager. Like in the interface above, the window loads, but I can't click and I must reload to use the panel.
How can I fix this. I'm happy to provide access.
rBaffoe
have you try to reinstall the docker manager? Generally speaking, this is caused by unsuccessful installation
I have tried, reinstalled twice on each server. will try again
I have tried once on Debian, once on ubuntu. docker manager still fail on first try and reinstall. shall I try with centOS?
- Edited
Appears that things are failing at install time.
First docker-ce needs to be installed manually if the correct repository is not installed
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce
but there's still a problem in the logs. plugin file cannot be found.
`
--2020-11-08 09:23:58-- http://128.1.164.196/install/plugin/docker_en/icon.png
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1499 (1.5K) [image/png]
Saving to: ‘/www/server/panel/plugin/docker/icon.png’
0K . 100% 116M=0s
2020-11-08 09:23:59 (116 MB/s) - ‘/www/server/panel/plugin/docker/icon.png’ saved [1499/1499]
--2020-11-08 09:23:59-- http://128.1.164.196/install/plugin/docker_en/login-docker.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-11-08 09:23:59 ERROR 404: Not Found.
--2020-11-08 09:23:59-- http://128.1.164.196/install/plugin/docker_en/userdocker.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-11-08 09:23:59 ERROR 404: Not Found.
strange, i tried to install on a ubuntu server and it worked fine..
can you provide me with the complete installation logs?
aaPanel_Jose Total download size: 64 M
Installed size: 268 M
Downloading packages:
Total 50 MB/s | 64 MB 00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : docker-scan-plugin-0.8.0-3.el7.x86_64 1/4
Installing : 1:docker-ce-cli-20.10.8-3.el7.x86_64 2/4
Installing : docker-ce-rootless-extras-20.10.8-3.el7.x86_64 3/4
Installing : 3:docker-ce-20.10.8-3.el7.x86_64 4/4
Verifying : 1:docker-ce-cli-20.10.8-3.el7.x86_64 1/4
Verifying : 3:docker-ce-20.10.8-3.el7.x86_64 2/4
Verifying : docker-scan-plugin-0.8.0-3.el7.x86_64 3/4
Verifying : docker-ce-rootless-extras-20.10.8-3.el7.x86_64 4/4
Installed:
docker-ce.x86_64 3:20.10.8-3.el7
Dependency Installed:
docker-ce-cli.x86_64 1:20.10.8-3.el7
docker-ce-rootless-extras.x86_64 0:20.10.8-3.el7
docker-scan-plugin.x86_64 0:0.8.0-3.el7
Complete!
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
move docker data to /www/server/docker ...
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
{"product": "Linux panel", "setup_path": "/www/server", "openlitespeed_path": "/usr/local", "language": "English", "title": "Administracion Allupwards", "brand": "aaPanel", "root_path": "/www", "template": "default", "logs_path": "/www/wwwlogs", "home": "https://www.aapanel.com", "recycle_bin": true}
--2021-08-10 23:13:29-- http://128.1.164.196/install/plugin/docker_en/docker_main.py
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26767 (26K) [application/octet-stream]
Saving to: ‘/www/server/panel/plugin/docker/docker_main.py’
0K .......... .......... ...... 100% 163K=0.2s
2021-08-10 23:13:29 (163 KB/s) - ‘/www/server/panel/plugin/docker/docker_main.py’ saved [26767/26767]
--2021-08-10 23:13:29-- http://128.1.164.196/install/plugin/docker_en/index.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59368 (58K) [text/html]
Saving to: ‘/www/server/panel/plugin/docker/index.html’
0K .......... .......... .......... .......... .......... 86% 153K 0s
50K ....... 100% 48.8K=0.5s
2021-08-10 23:13:30 (118 KB/s) - ‘/www/server/panel/plugin/docker/index.html’ saved [59368/59368]
--2021-08-10 23:13:30-- http://128.1.164.196/install/plugin/docker_en/info.json
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 337 [application/json]
Saving to: ‘/www/server/panel/plugin/docker/info.json’
0K 100% 37.5M=0s
2021-08-10 23:13:30 (37.5 MB/s) - ‘/www/server/panel/plugin/docker/info.json’ saved [337/337]
--2021-08-10 23:13:30-- http://128.1.164.196/install/plugin/docker_en/icon.png
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1499 (1.5K) [image/png]
Saving to: ‘/www/server/panel/plugin/docker/icon.png’
0K . 100% 206M=0s
2021-08-10 23:13:31 (206 MB/s) - ‘/www/server/panel/plugin/docker/icon.png’ saved [1499/1499]
--2021-08-10 23:13:31-- http://128.1.164.196/install/plugin/docker_en/login-docker.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-08-10 23:13:31 ERROR 404: Not Found.
--2021-08-10 23:13:31-- http://128.1.164.196/install/plugin/docker_en/userdocker.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-08-10 23:13:31 ERROR 404: Not Found.
Requirement already satisfied: pytz in /www/server/panel/pyenv/lib/python3.7/site-packages (2020.5)
WARNING: You are using pip version 20.3.3; however, version 21.2.3 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
Requirement already satisfied: docker in /www/server/panel/pyenv/lib/python3.7/site-packages (4.4.1)
Requirement already satisfied: websocket-client>=0.32.0 in /www/server/panel/pyenv/lib/python3.7/site-packages (from docker) (0.57.0)
Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /www/server/panel/pyenv/lib/python3.7/site-packages (from docker) (2.25.1)
Requirement already satisfied: six>=1.4.0 in /www/server/panel/pyenv/lib/python3.7/site-packages (from docker) (1.16.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2.10)
WARNING: You are using pip version 20.3.3; however, version 21.2.3 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
aaPanel_Jose Total download size: 64 M
Installed size: 268 M
Downloading packages:
Total 34 MB/s | 64 MB 00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : docker-scan-plugin-0.8.0-3.el7.x86_64 1/4
Installing : 1:docker-ce-cli-20.10.8-3.el7.x86_64 2/4
Installing : docker-ce-rootless-extras-20.10.8-3.el7.x86_64 3/4
Installing : 3:docker-ce-20.10.8-3.el7.x86_64 4/4
Verifying : 1:docker-ce-cli-20.10.8-3.el7.x86_64 1/4
Verifying : 3:docker-ce-20.10.8-3.el7.x86_64 2/4
Verifying : docker-scan-plugin-0.8.0-3.el7.x86_64 3/4
Verifying : docker-ce-rootless-extras-20.10.8-3.el7.x86_64 4/4
Installed:
docker-ce.x86_64 3:20.10.8-3.el7
Dependency Installed:
docker-ce-cli.x86_64 1:20.10.8-3.el7
docker-ce-rootless-extras.x86_64 0:20.10.8-3.el7
docker-scan-plugin.x86_64 0:0.8.0-3.el7
Complete!
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
move docker data to /www/server/docker ...
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
Created symlink from /etc/systemd/system/getty@tty1.service to /dev/null.
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
{"product": "Linux panel", "setup_path": "/www/server", "openlitespeed_path": "/usr/local", "language": "English", "title": "Administracion Allupwards", "brand": "aaPanel", "root_path": "/www", "template": "default", "logs_path": "/www/wwwlogs", "home": "https://www.aapanel.com", "recycle_bin": true}
--2021-08-10 23:23:50-- http://128.1.164.196/install/plugin/docker_en/docker_main.py
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26767 (26K) [application/octet-stream]
Saving to: ‘/www/server/panel/plugin/docker/docker_main.py’
0K .......... .......... ...... 100% 157K=0.2s
2021-08-10 23:23:51 (157 KB/s) - ‘/www/server/panel/plugin/docker/docker_main.py’ saved [26767/26767]
--2021-08-10 23:23:51-- http://128.1.164.196/install/plugin/docker_en/index.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59368 (58K) [text/html]
Saving to: ‘/www/server/panel/plugin/docker/index.html’
0K .......... .......... .......... .......... .......... 86% 156K 0s
50K ....... 100% 50.1K=0.5s
2021-08-10 23:23:52 (121 KB/s) - ‘/www/server/panel/plugin/docker/index.html’ saved [59368/59368]
--2021-08-10 23:23:52-- http://128.1.164.196/install/plugin/docker_en/info.json
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 337 [application/json]
Saving to: ‘/www/server/panel/plugin/docker/info.json’
0K 100% 46.4M=0s
2021-08-10 23:23:52 (46.4 MB/s) - ‘/www/server/panel/plugin/docker/info.json’ saved [337/337]
--2021-08-10 23:23:52-- http://128.1.164.196/install/plugin/docker_en/icon.png
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1499 (1.5K) [image/png]
Saving to: ‘/www/server/panel/plugin/docker/icon.png’
0K . 100% 181M=0s
2021-08-10 23:23:52 (181 MB/s) - ‘/www/server/panel/plugin/docker/icon.png’ saved [1499/1499]
--2021-08-10 23:23:52-- http://128.1.164.196/install/plugin/docker_en/login-docker.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-08-10 23:23:53 ERROR 404: Not Found.
--2021-08-10 23:23:53-- http://128.1.164.196/install/plugin/docker_en/userdocker.html
Connecting to 128.1.164.196:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-08-10 23:23:53 ERROR 404: Not Found.
Requirement already satisfied: pytz in /www/server/panel/pyenv/lib/python3.7/site-packages (2020.5)
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
Requirement already satisfied: docker in /www/server/panel/pyenv/lib/python3.7/site-packages (4.4.1)
Requirement already satisfied: websocket-client>=0.32.0 in /www/server/panel/pyenv/lib/python3.7/site-packages (from docker) (0.57.0)
Requirement already satisfied: six>=1.4.0 in /www/server/panel/pyenv/lib/python3.7/site-packages (from docker) (1.16.0)
Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /www/server/panel/pyenv/lib/python3.7/site-packages (from docker) (2.25.1)
Requirement already satisfied: chardet<5,>=3.0.2 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.18.0,>=2.14.2->docker) (1.26.4)
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
- Edited
Same here two files are missing in assets server, they are docker_en/login-docker.html
and docker_en/userdocker.html
, tried going through all servers to see if single server problem, but its same in all servers.
for download_Url in http://dg2.bt.cn http://dg1.bt.cn http://36.133.1.8:5880 http://123.129.198.197 http://38.34.185.130 http://116.213.43.206:5880 http://128.1.164.196
do
curl $download_Url/install/plugin/docker_en/login-docker.html
curl $download_Url/install/plugin/docker_en/userdocker.html
done
return:
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
curl: (7) Failed to connect to 116.213.43.206 port 5880 after 231 ms: No route to host
curl: (7) Failed to connect to 116.213.43.206 port 5880 after 231 ms: No route to host
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
aaP_jusys_linas
These two files are useless