Portainer setup

Hi,
I have problem with my Portainer setup.
When I logged on to Portainer for the first time I didn’t get the option to select “Local”
And now I have following view.

I try to run Portainer on a Debian machine.
I have installed Home Assistant Supervised with Docker.
Installed latest Portainer “docker pull portainer/portainer-ce:latest”
Created a docker volume for Portainer “docker volume create portainer_data”
Created a Portainer container
“docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest”

Then started the Portainer container and logged on to the Portainer, local_ip:9000

I would like to set up local server of Portainer to manage my Docker installation.
But I don’t know how to proceed.
Is there anyone that can help me?

It looks like the setup was unable to automatically connect to your Docker instance. Are you running Docker as root? Is your Docker socket in a different place?

You might be able to find some more information by checking Portainer’s logs:

docker logs portainer

@jcarppe Yes, think your are correct!
As I wrote didnt’t I get the “Local” choese during first startup.
I looked in the logger as you suggested but I don’t have enough knowledge to see if something is wrong.
Could you please help me with that ?

fredda@Fredda-HaSup:~$ docker logs portainer
2021/10/06 17:03:17 server: Reverse tunnelling enabled
2021/10/06 17:03:17 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/06 17:03:17 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/06 17:03:17 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/06 17:03:17 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/06 17:03:17 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/06 17:03:17 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/06 17:03:17 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/06 17:06:40 server: Reverse tunnelling enabled
2021/10/06 17:06:40 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/06 17:06:40 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/06 17:06:40 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/06 17:06:40 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/06 17:06:40 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/06 17:06:40 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/06 17:06:40 [INFO] [http,server] [message: starting HTTP server on port :9000]"
level=info msg="2021/10/07 05:09:12 http error: Invalid JWT token (err=Invalid JWT token) (code=401)"
level=info msg="2021/10/07 05:09:31 http error: Unable to initiate communications with environment (err=unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined) (code=500)"
level=info msg="2021/10/07 05:09:31 http error: Unable to initiate communications with environment (err=Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?) (code=500)"
2021/10/07 11:59:02 server: Reverse tunnelling enabled
2021/10/07 11:59:02 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/07 11:59:02 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/07 11:59:02 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/07 11:59:02 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/07 11:59:02 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/07 11:59:02 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/07 11:59:02 [INFO] [http,server] [message: starting HTTP server on port :9000]"
level=info msg="2021/10/07 12:00:35 http error: Invalid JWT token (err=Invalid JWT token) (code=401)"
level=info msg="2021/10/07 12:00:47 http error: Unable to initiate communications with environment (err=unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined) (code=500)"
level=info msg="2021/10/07 12:00:47 http error: Unable to initiate communications with environment (err=Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?) (code=500)"
2021/10/07 12:40:44 server: Reverse tunnelling enabled
2021/10/07 12:40:44 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/07 12:40:44 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/07 12:40:44 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/07 12:40:44 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/07 12:40:44 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/07 12:40:44 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/07 12:40:44 [INFO] [http,server] [message: starting HTTP server on port :9000]"
level=info msg="2021/10/07 12:41:09 http error: Invalid JWT token (err=Invalid JWT token) (code=401)"
level=info msg="2021/10/07 12:41:09 http error: Invalid JWT token (err=Invalid JWT token) (code=401)"
level=info msg="2021/10/07 12:41:09 http error: Invalid JWT token (err=Invalid JWT token) (code=401)"
2021/10/07 13:22:38 server: Reverse tunnelling enabled
2021/10/07 13:22:38 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/07 13:22:38 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/07 13:22:38 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/07 13:22:38 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/07 13:22:38 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/07 13:22:38 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/07 13:22:38 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/07 13:30:43 server: Reverse tunnelling enabled
2021/10/07 13:30:43 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/07 13:30:43 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/07 13:30:43 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/07 13:30:43 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/07 13:30:43 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/07 13:30:43 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/07 13:30:43 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/07 13:42:31 server: Reverse tunnelling enabled
2021/10/07 13:42:31 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/07 13:42:31 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/07 13:42:31 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/07 13:42:31 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/07 13:42:31 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/07 13:42:31 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/07 13:42:31 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/08 12:57:14 server: Reverse tunnelling enabled
2021/10/08 12:57:14 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/08 12:57:14 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/08 12:57:14 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/08 12:57:14 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/08 12:57:14 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/08 12:57:14 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/08 12:57:14 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/08 13:22:16 server: Reverse tunnelling enabled
2021/10/08 13:22:16 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/08 13:22:16 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/08 13:22:16 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/08 13:22:16 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/08 13:22:16 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/08 13:22:16 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/08 13:22:16 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/08 13:29:24 server: Reverse tunnelling enabled
2021/10/08 13:29:24 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/08 13:29:24 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/08 13:29:24 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/08 13:29:24 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/08 13:29:24 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/08 13:29:24 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/08 13:29:24 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/08 13:39:55 server: Reverse tunnelling enabled
2021/10/08 13:39:55 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/08 13:39:55 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/08 13:39:55 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/08 13:39:55 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/08 13:39:55 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/08 13:39:55 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/08 13:39:55 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/08 14:01:01 server: Reverse tunnelling enabled
2021/10/08 14:01:01 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/08 14:01:01 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/08 14:01:01 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/08 14:01:01 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/08 14:01:01 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/08 14:01:01 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/08 14:01:01 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 13:16:53 server: Reverse tunnelling enabled
2021/10/09 13:16:53 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 13:16:53 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 13:16:53 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 13:16:53 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 13:16:53 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 13:16:53 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 13:16:53 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 13:34:44 server: Reverse tunnelling enabled
2021/10/09 13:34:44 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 13:34:44 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 13:34:44 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 13:34:44 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 13:34:44 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 13:34:44 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 13:34:44 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 13:37:54 server: Reverse tunnelling enabled
2021/10/09 13:37:54 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 13:37:54 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 13:37:54 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 13:37:54 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 13:37:54 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 13:37:54 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 13:37:54 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 13:42:45 server: Reverse tunnelling enabled
2021/10/09 13:42:45 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 13:42:45 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 13:42:45 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 13:42:45 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 13:42:45 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 13:42:45 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 13:42:45 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 13:43:33 server: Reverse tunnelling enabled
2021/10/09 13:43:33 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 13:43:33 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 13:43:33 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 13:43:33 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 13:43:33 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 13:43:33 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 13:43:33 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 13:47:31 server: Reverse tunnelling enabled
2021/10/09 13:47:31 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 13:47:31 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 13:47:31 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 13:47:31 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 13:47:31 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 13:47:31 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 13:47:31 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 14:56:36 server: Reverse tunnelling enabled
2021/10/09 14:56:36 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 14:56:36 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 14:56:36 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 14:56:36 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 14:56:36 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 14:56:36 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 14:56:36 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 15:08:03 server: Reverse tunnelling enabled
2021/10/09 15:08:03 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 15:08:03 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 15:08:03 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 15:08:03 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 15:08:03 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 15:08:03 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 15:08:03 [INFO] [http,server] [message: starting HTTP server on port :9000]"
2021/10/09 15:11:04 server: Reverse tunnelling enabled
2021/10/09 15:11:04 server: Fingerprint a5:94:67:80:d9:dd:3d:c7:67:ba:3c:46:7c:33:72:88
2021/10/09 15:11:04 server: Listening on 0.0.0.0:8000...
level=info msg="2021/10/09 15:11:04 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"
level=info msg="2021/10/09 15:11:04 [INFO] [cmd,main] Starting Portainer version 2.9.0"
level=info msg="2021/10/09 15:11:04 [DEBUG] [internal,init] [message: start initialization monitor ]"
level=info msg="2021/10/09 15:11:04 [INFO] [http,server] [message: starting HTTPS server on port :9443]"
level=info msg="2021/10/09 15:11:04 [INFO] [http,server] [message: starting HTTP server on port :9000]"
level=info msg="2021/10/17 10:26:36 http error: Invalid JWT token (err=Invalid JWT token) (code=401)"
level=info msg="2021/10/17 10:26:47 http error: Unable to initiate communications with environment (err=unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined) (code=500)"
level=info msg="2021/10/17 10:26:47 http error: Unable to initiate communications with environment (err=Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?) (code=500)"
fredda@Fredda-HaSup:~$

The line above tells us that Portainer isn’t able to communicate with the local Docker socket. How did you install Docker? Is this the correct location for the socket it uses (/var/run/docker.sock)?

When you started Portainer with the docker run command, were you root?

@jcarppe
I installed the Portainer in following way:
Installed latest Portainer “docker pull portainer/portainer-ce:latest”
Created a docker volume for Portainer “docker volume create portainer_data”
Created a Portainer container
“docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest”
Then started the Portainer container, docker start portioner
Logged on to the Portainer, local_ip:9000

I thing I were root for all of this above

@jcarppe should I uninstall Portainer and install it again to be 100% sure that I’m root ?

The key here is how you installed Docker, not how you installed Portainer. Was Docker itself installed as root?

@jcarppe I see.
Then I could say that I where root when I installed the Docker.
I installed Docker and Home Assistant Supervised in following way.

Started with get root access

sudo -i

Install packages:

apt-get install -y software-properties-common apparmor-utils /
apt-transport-https ca-certificates curl dbus jq network-manager

Disable and turn off Modem Manager

systemctl disable ModemManager
systemctl stop ModemManager

Install Docker

curl -fsSL get.docker.com | sh

Install Home Assistant Supervisor

curl -sL “https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/
	supervised-installer.sh” | bash -s

I wonder if installing Home Assistant Supervisor is reconfiguring Docker in a way that makes it incompatible with Portainer. If you do the installation without the Home Assistant Supervisor step, does Portainer work?

Hey Guys just a thought are you sure the firewall on Ubuntu is shutdown, Just a thought:

sudo ufw status verbose ← To check the status of the firewall
sudo ufw app list ← Checks which ports are open
sudo systemctl stop ufw ← this will temporarily stop the firewall
sudo systemctl disable ufw ← this to disable it if you want to

If you want to keep the firewall:
sudo ufw allow 9000/tcp
sudo ufw allow 9001/tcp
sudo ufw allow 8000/tcp

I may be off base but I didn’t see anything about the native firewall being turned off in this thread.

I apologize if I am off base,

Michael

I think I have open up the necessary ports in the ufw firewall.
When I run the “sudo ufw status verbose” command, I got this

image

Or do I also allow port 9001 and 8000 ?

When I run “sudo ufw app list” I got following

Looks okay or ?
I don’t have Home Assistant, Docker or Portainer in that list!

Hello @dubbfredda

You will have to allow 8000 and 9001 also for portainer communications to the agent. This may be what you need to get it working properly.

Thanks,
Michael

@nexusguy59 I have now also allowed 8000 and 9001.
image

But I still comes to the same screen as in my first post when I log on the Portainer.
Can then add an Environment ?

Okay, now I try to add an environment.
But I receive following fault


Does anybody know what’s wrong ?