No library content found #197
-
Hey there - Setting up Retrom on a new server, first time using it since the original release. I must be doing something wrong mapping my games library, but I'm not sure what. When I try to update the library it gives me an error:
This is hosted in Docker. If I bash into the container and go up one directory I can see the library, 'library1', I can enter into it and see all of the platform folders > game folders > roms. But I have some disconnect with the UI, because it can't see the library. An obvious culprit is that I'm using an nfs share mounted in the docker container, however, I'm hoping that isn't the issue since the library is totally accessible when I bash into the container. I think the path /library1 should be recognized internally. Compose: volumes:
retrom_library:
name: retrom_library
driver_opts:
type: nfs
o: addr=192.168.1.32,nolock,soft
device: :/volume1/Data/Games/library
services:
retrom:
image: ghcr.io/jmberesford/retrom-service:latest
ports:
- 5101:5101
- 3000:3000
volumes:
- /home/user/docker/retrom/config:/config/
- retrom_library:/library1
retrom-db:
container_name: retrom-db
hostname: retrom-db
image: postgres:16
restart: unless-stopped
volumes:
- /home/user/docker/retrom/data/:/var/lib/postgresql/data
environment:
POSTGRES_USER: $user
POSTGRES_PASSWORD: $password
POSTGRES_DB: retrom
networks:
retrom_default: {} Config: {
"connection": {
"port": 5101,
"db_url": "postgres://$user:$password@retrom-db/retrom"
},
"content_directories": [
{
"path": "/library1",
"storage_type": "MultiFileGame"
}
],
"igdb": {
"client_secret": "$secret",
"client_id": "$id"
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Questions related to troubleshooting should be restricted to either discord, or GitHub discussions. I've moved this to the latter for now. Issues are specifically for bug reports or well-defined feature requests, for organizational purposes. 😃 Now, back to your issue at hand! Can you confirm that the config file is named Can you also provide the version of Retrom you are using? I see you are tagged to |
Beta Was this translation helpful? Give feedback.
-
Sorry about that! Thanks for moving it. You pointed me in the right direction. The container was not running as the right user. I added the PID/GID information to the compose and it picked up the library right away. Thanks for your help and for the awesome program 🙏 |
Beta Was this translation helpful? Give feedback.
Also, please try running the server w/ the env var
RUST_LOG=debug
set and see if any additional useful logs are present!