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

Mycodo Installation Error - Could not connect to local host #1152

Closed
cedcmoi opened this issue Feb 13, 2022 · 1 comment
Closed

Mycodo Installation Error - Could not connect to local host #1152

cedcmoi opened this issue Feb 13, 2022 · 1 comment

Comments

@cedcmoi
Copy link

cedcmoi commented Feb 13, 2022

Hi,

I'm having trouble installing Mycodo on my RPi 4.
At the end of the installation process, I'm getting the error message "Could not connect to local host. Retrying in 60 seconds"

I've updated every package (apt update && apt upgrade) before installing Mycodo.

I also read an issue (Issue 614 ) concerning the same problem on github and reproduced the suggestions written on the thread. Still unable to install Mycodo.

I've also flashed my SD card et reinstall Rasbian OS. Still get the same error message

My setup is:
-RPi 4 Running Raspberry Pi OS 64 bit

Here are the last 50 lines from the Mycodo frontend web log can be viewed with the command:
pi@raspberrypi:~ $ journalctl -u mycodoflask | tail -n 50
-- Journal begins at Thu 2022-01-27 22:21:52 EST, ends at Sat 2022-02-12 22:44:00 EST. --
Feb 12 22:11:19 raspberrypi systemd[1]: Started gunicorn daemon for Mycodo flask web user interface.
Feb 12 22:11:19 raspberrypi systemd[5608]: mycodoflask.service: Failed to locate executable /var/mycodo-root/env/bin/gunicorn: No such file or directory
Feb 12 22:11:19 raspberrypi systemd[5608]: mycodoflask.service: Failed at step EXEC spawning /var/mycodo-root/env/bin/gunicorn: No such file or directory
Feb 12 22:11:19 raspberrypi systemd[1]: mycodoflask.service: Main process exited, code=exited, status=203/EXEC
Feb 12 22:11:19 raspberrypi systemd[1]: mycodoflask.service: Failed with result 'exit-code'.
Feb 12 22:40:00 raspberrypi systemd[1]: Started gunicorn daemon for Mycodo flask web user interface.
Feb 12 22:40:00 raspberrypi systemd[7524]: mycodoflask.service: Failed to locate executable /var/mycodo-root/env/bin/gunicorn: No such file or directory
Feb 12 22:40:00 raspberrypi systemd[7524]: mycodoflask.service: Failed at step EXEC spawning /var/mycodo-root/env/bin/gunicorn: No such file or directory
Feb 12 22:40:00 raspberrypi systemd[1]: mycodoflask.service: Main process exited, code=exited, status=203/EXEC
Feb 12 22:40:00 raspberrypi systemd[1]: mycodoflask.service: Failed with result 'exit-code'.

Thanks !

@kizniche
Copy link
Owner

Duplicate of #1149

@kizniche kizniche marked this as a duplicate of #1149 Feb 13, 2022
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