SelfhostedPro / Yacht

A web interface for managing docker containers with an emphasis on templating to provide 1 click deployments. Think of it like a decentralized app store for servers that anyone can make packages for.
MIT License
3.43k stars 167 forks source link

[Bug Report] Application deleted upon specific bad configuration. #516

Closed ssj4maiko closed 2 years ago

ssj4maiko commented 2 years ago

Describe the bug Reading the documentation on Navidrome, I came to find that it uses a config file for extra configurations, I decided to mirror this file to something I would have access. Essentially, I wanted to make this:

/path/to/file/navidrome.toml:./navidrome.toml (The default location for this file is ./navidrome.toml

Well, I would get an error saying that there is no such container when trying to save. I removed the Volume, and it saved as normal.

So I changed it from ./navidrome.toml to just navidrome.toml, there was no error, but the application was gone. (This was the 2nd time it was gone)

So I have to set everything again, and I guess I won't be able to make this extra volume.

Raspberry PI 4GB

SelfhostedPro commented 2 years ago

Yacht doesn’t do anything in the background, everything that yacht does requires you to interact with the webui. This is likely an issue with docker.

ssj4maiko commented 2 years ago

Certainly I can understand that Yacht is not deleting it, I was just wondering, maybe, when it's running the docker command, it's missing something like quotes on a string or something.

I was able to do what I wanted my moving the conf file I wanted to the data folder that is already available, before, however, I was essentially doing this:

/path/to/data:/data /path/to/data/file.toml:file.toml

I was thinking that, since I was essentially mirroring a mirrored file, it may have bugged out. I had moved the file outside that folder, and although I stopped using it (since I used the solution above), it did seem to have saved and not deleted the whole container.

I guess this may be the bug, but it's not something that can be fixed here, so I will be closing this.