Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to persist database #30

Closed
KeironO opened this issue Oct 13, 2021 · 3 comments
Closed

Unable to persist database #30

KeironO opened this issue Oct 13, 2021 · 3 comments

Comments

@KeironO
Copy link

KeironO commented Oct 13, 2021

Regardless of whatever I try to do, I am unable to persist the database when installed via docker.

docker-compose.yml:

version: '3.3'
services:
    euterpe:
        volumes:
            - '/home/keo7/services/euterpe/data:/root/.euterpe'
            - '/home/keo7/consti/Music/:/root/Music'
        ports:
            - '9996:9996'
        image: 'ironsmile/euterpe:latest'

@ironsmile
Copy link
Owner

You seem to be doing exactly what right as far as I could tell. I am testing with pretty much exactly the same docker-compose file:

version: '3.3'
services:
    euterpe:
        volumes:
            - '/home/iron4o/euterpe-data:/root/.euterpe'
            - '/home/iron4o/Music:/root/Music'
        ports:
            - '9996:9996'
        image: 'ironsmile/euterpe:latest'

How do you know that the database is not persisted? There is no euterpe.db in your /home/keo7/services/euterpe/data directory?

@ironsmile
Copy link
Owner

ironsmile commented Oct 14, 2021

Alternatively you could use a volume in the docker-compose file:

version: '3.3'
services:
    euterpe:
        volumes:
            - 'euterpe-data:/root/.euterpe'
            - '/home/iron4o/Music:/root/Music'
        ports:
            - '9996:9996'
        image: 'ironsmile/euterpe:latest'

volumes:
    euterpe-data:

@KeironO
Copy link
Author

KeironO commented Oct 22, 2021

Apologies, it was an issue with my directory mounts, fstab doing fstab things again.

@KeironO KeironO closed this as completed Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants