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

HELP - Running outside of Docker #8

Open
alegra8611 opened this issue Apr 18, 2021 · 1 comment
Open

HELP - Running outside of Docker #8

alegra8611 opened this issue Apr 18, 2021 · 1 comment

Comments

@alegra8611
Copy link

Hi There,

I am trying to get this app running on a Nginx server already on a Raspi,

The docker images aren't compatible for some reason as I keep getting exec format errors,

Therefore, I install all the python modules needed to run the app proxied through Nginx

However, every time I go to run the main.py script I get this error

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not connect to server: Connection timed out
Is the server running on host "db" (160.83.8.143) and accepting
TCP/IP connections on port 5432?

I have no idea where this IP Address is coming from and it seems to be mapped to the domain www.db.com

Is there a way I can change this, I suspect it is something to do with the metadata.py script?

@alegra8611
Copy link
Author

Never mind, I ended up finding out it was a line of code in the model.py script,

I just had to fine tune a couple of other things as well in the uwsgi.ini file,

Now I'v got this bad boy up on my raspi!

Thanks again for the awesome project

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

1 participant