Nuget packages not visible anymore in the web ui
Closed this issue · 4 comments
Describe the bug
after a docker compos down --remove-orphan and a docker compose up -d , the nuget packages are present inside host's packages folder but not visible in the UI anymore.
To Reproduce
Steps to reproduce the behavior:
- Using this version of BaGetter 1.0.4
- run the following docker-compose:
version: '3.8'
services:
bagetter:
image: bagetter/bagetter:${Baget_Version}
env_file:
- .env
volumes:
- /mnt/packages_storage:/srv/baget
- ${PWD}/baget/conf/appsettings.json:/app/appsettings.json:ro
and the following .env var file
Baget_Version='1.0.4'
Database__ConnectionString=Data Source=//baget/bagetter.db
Database__Type=Sqlite
Mirror__Enabled=false
Storage__Type=FileSystem
Storage__Path=/srv/baget/packages
- See error
Expected behavior
we should expect that the package is visible on the web ui.
Screenshots
Additional context
Add any other context about the problem here.
Did you forget to mount your database bagetter.db
file Database__ConnectionString=Data Source=//baget/bagetter.db
?
Database__ConnectionString=Data Source=//baget/bagetter.db
i mounted it like this:
/mnt/baget_strg:/srv/baget
inside my docker-compose file
You can open the DB and check if it is actually empty.
If so, you (accidentally) deleted the DB when shutting down your instance of BaGetter.
I managed to make it work, apparently i forgot a typo, thank you all.