gameyfin icon indicating copy to clipboard operation
gameyfin copied to clipboard

Cannot remove old non-existing library after changing libraries in docker-compose

Open wonx opened this issue 2 years ago • 1 comments

Describe the bug I started with one single library, on the default location /opt/gameyfin-library, but later opted to add more paths to include other systems, according to the https://github.com/grimsi/gameyfin/blob/main/docker/docker-compose.example-with-multiple-source-folders.yml file.

However, in gameyfin, the original library path is still there, as well as the games that were in that path. I can't seem to delete that library, and the "ghost" games are still suggested in the "unmapped files" section.

To Reproduce Steps to reproduce the behavior:

  1. Create docker container of gameyfin adding a single library path.
  2. Enter gameyfin and add some of the games in that path.
  3. Edit the docker-compose file to replace the library paths. Rebuild container.
  4. Enter Gameyfin and refresh.

Expected behavior The old library, as well as its contents, should have disappeared from Gameyfin.

General info (please complete the following information):

  • Installation method: Docker
  • Gameyfin version v1.3.1

wonx avatar Dec 31 '22 00:12 wonx

Thanks for the bug report! I already have a feeling where this bug is coming from. I will investigate it and see if I can publish the fix in the next release.

grimsi avatar Jan 13 '23 13:01 grimsi