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

few changes for running the container rpi4 #43

Open
cvonk opened this issue Mar 16, 2021 · 3 comments
Open

few changes for running the container rpi4 #43

cvonk opened this issue Mar 16, 2021 · 3 comments

Comments

@cvonk
Copy link

cvonk commented Mar 16, 2021

Can you add some instructions for raspberry pi (rpi4) owners? To run the container, the following changes are required:

  • change docker-compose.yml to use the armv7 flavor for mariadb tobi312/rpi-mariadb:latest_
  • docker-compose build before docker-compose up to prevent web-1 from throwing exec error.

thanks for the great work!

@dmsdd
Copy link

dmsdd commented Jun 2, 2021

I built a docker image based on the Raspbian version of mariadb, and was able to get things started successfully with docker-compose build before docker-compose up. But, when I try to log in to the web, I get a database credential error. The documentation is a little unclear on setting the sql credentials - do I need to set them somewhere on the mariadb server as well, or just the env variables on the containers?

Edit - found the issue. When connecting to the MariaDB server in the db container, the connecting host is not localhost. I updated my MariaDB user to 'emoncms'@'emoncms-docker_web_1.emoncms-docker_default', and now everything is working fine.

@xxxmaxxx
Copy link

Hi, can you please explain how and where to add the user 'emoncms'@'emoncms-docker_web_1.emoncms-docker_default' ?
Have same issue on RaspPi 3B+.

@silfax
Copy link

silfax commented Oct 10, 2022

Same issue here. "Can't connect to database, please verify credentials/configuration in settings.ini
Error message: Access denied for user 'emoncms'@'192.168.176.4' (using password: YES)". Couldn't figure a way out. Anyone can help?

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

4 participants