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

Unable to upgrade to 1.14.1 from 1.11 #335

Closed
mikec-design opened this issue Jan 2, 2020 · 2 comments
Closed

Unable to upgrade to 1.14.1 from 1.11 #335

mikec-design opened this issue Jan 2, 2020 · 2 comments

Comments

@mikec-design
Copy link

I've been trying for several days to upgrade to 1.14.1 with no success.

I'm running Teslamate on a Raspberry Pi 3 that is also running Pi-Hole. The initial install went smoothly (once I got docker-compose installed), but now I'm getting the same timeout errors on every install attempt. Errors are below.

Removing teslamate_mosquitto_1
Removing teslamate_grafana_1
Removing teslamate_db_1
Removing teslamate_teslamate_1
Recreating 5843a1aa22e9_teslamate_mosquitto_1 ... 
Recreating c3bbde41b576_teslamate_grafana_1   ... 
Recreating 30bffeb9e5d0_teslamate_db_1        ... 
Recreating 1e71509ea93a_teslamate_teslamate_1 ... 

ERROR: for c3bbde41b576_teslamate_grafana_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for 30bffeb9e5d0_teslamate_db_1  UnixHTTPConnectionPool(host='localhost',Recreating 5843a1aa22e9_teslamate_mosquitto_1 ... done

ERROR: for 1e71509ea93a_teslamate_teslamate_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=70)

ERROR: for teslamate  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=70)

ERROR: for db  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for grafana  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

I've tried changing the COMPOSE_HTTP_TIMEOUT to 200 seconds with the following command, but it just generated a new series of errors.

COMPOSE_HTTP_TIMEOUT=200 docker-compose up

Can anyone offer any suggestions on how to get Teslamate back up and running?

@mikec-design
Copy link
Author

Well, looks like the timeout of 200 was too much, I changed it to 100 and disabled the Pi Hole. After that it appears to have installed. I'm able to log in and see my previous data once again. Have to see if it records drives once again.

@adriankumpf
Copy link
Collaborator

Glad it works now! I can imagine that starting all services in the docker-compose file at once may overwhelm the Pi. It may help to start them sequentially next time:

docker-compose up -d mosquitto
docker-compose up -d db
docker-compose up -d grafana
docker-compose up -d teslamate

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