[Bug] Problem with db after creating container
RomM version Version of RomM: latest
Describe the bug When freshly setting up the docker container, the RomM containter gives an error about connecting/using the db and restarts in an infinite loop.
sqlalchemy.exc.OperationalError: (mariadb.OperationalError) Duplicate column name 'p_name'
To Reproduce Steps to reproduce the behavior:
- Use the example docker compose
- Replace volume links and setup environment variables
- use docker-compose to create containers
- container gives error and restarts in a loop
Expected behavior container setup finishes without error
Desktop:
- OS: Windows 10
I tried it again today and this time actually using a docker volumes instead of binding a folder for the db and it worked
Huh not sure why it would work with one and not the other, but I'm happy to hear it's working!
Was seeing the same error and moving to volume instead of binding worked for me as well. Thanks for the solution