Closed CoderFX closed 4 years ago
Your token store seems to be messed up. By chance did you empty it or start with an empty file instead of letting the app create and manage the file itself?
I had a very similar error. Everytime I restarted the docker container I could not edit the devices I created and there were also errors regarding the tokens. I will try to provide logs today.
Thank you! I did create tokens.json beforehand (my msitake). Re-built image and now it is working.
To be honest, there could be a check here to make this ok though... I would argue it should be able to handle this, like if someone was running it in a docker container and rather than volume mounting the directory they chose to mount in individual files, you'd HAVE to create the file first. I don't tell anyone how to do that, and I wouldn't recommend it, but just in general, this is an easy fix.
I'm gonna keep this open as a work item for a future version. Thank you for pointing it out.
Not sure what is wrong. Docker container is restarting and nginx is giving 502 error.
docker logs homeautio.mqtt.googlehome output: