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

Shouldn't it be :/var/lib/postgresql/data/ #3

Open
ls-saadabbasi opened this issue Jun 10, 2021 · 1 comment
Open

Shouldn't it be :/var/lib/postgresql/data/ #3

ls-saadabbasi opened this issue Jun 10, 2021 · 1 comment

Comments

@ls-saadabbasi
Copy link

ls-saadabbasi commented Jun 10, 2021

Current the mapped volume seems like <on-your-host>:/var/lib/postgressql/data/
I'm not sure it should really be postgreSSql rather than postgresql.

ANYWAYS,
soon as i change it to :/var/lib/postgresql/data/ it starts persistence but chainlink_node stops working with error saying
Unable to initialize ORM: database is newer than current chainlink version

If you also face this problem please just remove the volume you're using for you database persistence and try again

@entmike
Copy link

entmike commented Sep 10, 2021

You are right. It should be /var/lib/postgresql/data/ and not /var/lib/postgressql/data/. I just wasted 30 minutes figuring this out, too :) My data kept disappearing when restarting my container as a result until I figured this out.

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