Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG]: New Directory + Icons Mount Path Issue #369

Open
formeo14 opened this issue Dec 17, 2024 · 1 comment
Open

[BUG]: New Directory + Icons Mount Path Issue #369

formeo14 opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@formeo14
Copy link

formeo14 commented Dec 17, 2024

What happened?

I used the new directory + icons feature to change the mount path. It added /mnt/host/ as the mount path for Cosmos on Docker. However, the paths referenced in the system do not include /mnt/host/. For example, /mnt/host/srv/ should simply be /srv/.

What should have happened?

The paths should not include /mnt/host/ in the references. Instead, they should directly reference the intended paths, such as /srv/.

How to reproduce the bug?

  1. Go to the settings or configuration for the new directory + icons feature.
  2. Change the mount path to include /mnt/host/.
  3. Observe the paths referenced in the system (e.g., /mnt/host/srv/).
  4. Notice that the paths should ideally be /srv/ without the /mnt/host/ prefix.

Relevant log output

No response

Other details

This issue seems to be specific to the Docker setup for Cosmos (could be that it does not happen on barebone), where the host mapping is involved. But barebone is not released yet.

System details

  • OS: Debian
  • Version: since 17.0 now on 17.2
@formeo14 formeo14 added the bug Something isn't working label Dec 17, 2024
@kolossboss
Copy link

I have a similar issue.

I'm running Cosmos on an Ubuntu VM, where I have mounted shared folders under /mnt.

In Cosmos, I can easily access these mounts when setting up a new Docker configuration:

Image

However, when I select a mount, Cosmos automatically adds/mnt/hostto the path. This creates a host folder inside Ubunutu in /mnt, preventing access to the files.

Image

To resolve this, I have to manually remove /mnt/host from the path, after which everything works as expected.

In the Cosmos server environment, / is mounted to /mnt/host. I'm not sure what needs to be changed to fix this behavior.

Image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants