portainer / portainer

Making Docker and Kubernetes management easy.
https://www.portainer.io
zlib License
30.32k stars 2.43k forks source link

Host browser fail 2.9.0 #5750

Open zafrirron opened 2 years ago

zafrirron commented 2 years ago

Bug description After enabling host managemnt features, trying to acess "Browse" error message: Failure open /host: no such file or directory

Expected behavior A clear and concise description of what you expected to happen.

Portainer Logs Provide the logs of your Portainer container or Service. You can see how here (Logs how to link is broken....)

Steps to reproduce the issue:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Technical details:

Additional context Add any other context about the problem here.

srebala commented 2 years ago

Pl confirm if an agent is running on ce-2.9.0 as well, i am using 2.9.0 for portainer as well as agent on same machine image image

zafrirron commented 2 years ago

I have

Screenshot 2021-09-26 183136 Screenshot 2021-09-26 183233 Screenshot 2021-09-26 183255
huib-portainer commented 2 years ago

Are you running the agent version 2.9.0 with a bind mount like:

    volumes:
      - /:/host
krzotr commented 2 months ago

I had the same in 2.20.3. This is not a bug but misinformation. In documentation everything is clear, need to mount /host/ in your Portainer agent.

I think, instead of putting an error message, there should be clear information in Portainer GUI on how to do it e.g.