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

Missing docs / install & configure #342

Closed
bockelaar opened this issue Oct 23, 2023 · 4 comments
Closed

Missing docs / install & configure #342

bockelaar opened this issue Oct 23, 2023 · 4 comments

Comments

@bockelaar
Copy link

Request

I am missing a step to step manual/guide to installing DSMR/docker. I get the dockerinstances running, but am not expierenced enough to get a postgresql docker running and connect it, let alone import my DB backup into it.

Is there any step by step guide to guide me to the end? :)

Additional information

old DSMR on RPI4 crashed, reinstall leads to newer postgresql version with an AUTH incompatibility on django/website. So reinstall and restore is not working. Since docker is the future path i want to switch over but fail to find some guided helps.

@marcovn
Copy link

marcovn commented Oct 24, 2023

I recently moved my PI based install to the Docker version. Might be able to give you some guidance.

So you have a previous postures dump (*.sql file) AND a running docker setup including dsmr and dsmrb running?

@bockelaar
Copy link
Author

thanks!
Yes i have a dsmr backup. This backup is OK as i imported it into a new DSRM install and worked well.
I have a PI4, setup with docker and can start the DSMR containers. I have no clue on howto start a postgresql container, which one (!?) and connect the 2, let alone howto restore the DB into that container :)
how to open up the dsmr interface to the LAN so i can connect to theDSMR GUI is another 'thingy' :)

@marcovn
Copy link

marcovn commented Oct 25, 2023

OK so this is about restoring the backup in a Docker based DSMR install.

First of all you want the docker compose stack of DSMR (includes both DSMR and postgresql). That is the easiest approach.

Follow the instructions at https://github.com/xirixiz/dsmr-reader-docker#run-with-docker-compose

Mind you that you can setup this environment NEXT to your existing DSMR first to test. If you are done with that you should have a default installation which can be accessed on your LAN next to the one you already have.

@bockelaar
Copy link
Author

bockelaar commented Oct 25, 2023

thanks! missed that in the instructions page, perhaps better paragraph that... running now through docker-compose. next try to import the backup :)

//sweet! that was easier then i thought. Thanks a lot @marcovn

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