bagetter / BaGetter

A lightweight NuGet and symbol server
https://www.bagetter.com
MIT License
166 stars 38 forks source link

Nuget packages not visible anymore in the web ui #87

Closed ta-yuhyeon closed 4 months ago

ta-yuhyeon commented 4 months ago

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:

  1. Using this version of BaGetter 1.0.4
  2. run the following docker-compose:
    
    version: '3.8'

services: bagetter: image: bagetter/bagetter:${Baget_Version} env_file:

Expected behavior

we should expect that the package is visible on the web ui.

Screenshots

image image

Additional context

Add any other context about the problem here.

seriouz commented 4 months ago

Did you forget to mount your database bagetter.db file Database__ConnectionString=Data Source=//baget/bagetter.db?

ta-yuhyeon commented 4 months ago

Database__ConnectionString=Data Source=//baget/bagetter.db

i mounted it like this: /mnt/baget_strg:/srv/baget

inside my docker-compose file

FroggieFrog commented 4 months ago

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.

ta-yuhyeon commented 4 months ago

I managed to make it work, apparently i forgot a typo, thank you all.