Read the statement by Michael Teeuw here.
MMM-MealieMenu Fetch Error
-
@sdetweil I’ll look into it, thanks.
-
I normally use an API key but I just tried my username/password and it worked. I’m on Mealie 1.7.0.
Go ahead and restart MM and see if that works.Are you on the latest MMM-MealieMenu (1.5.0)? I added an additional log when the auth token fetch fails.
-
I just realized this error occurs when the meal plan is fetched. I wonder if the auth token is expiring.
-
@zanix Restarting the MM service fixed the issue with no additional steps so it may well be an expiring token or something.
I have updated the Mealie container so I am now on v1.7.0 and switched to using the API key for auth. I have also checked and I am using the current version of your module, v1.5.0.
I’ll report back if anything interesting happens. Thanks again for your advice.
-
@WallysWellies Thanks!
I think the token does expire. I just checked the token on my instance and it expires 1 month from now.
I will work on fixing that soon. -
@WallysWellies I just updated the module to account for token expiration.
It took me a bit to test since I needed to let the token expire to make sure it worked. -
@zanix that’s dedication, thanks!
I see the update notification so I’ll get it updated tonight. Cheers.
-
@zanix Hi Zanix. Just updated the module and all meal entries now seem to use the default image. I updated the docker image in case that was the problem but they’re all still showing the default orange image.
Possible bug introduced in the latest release?
-
@zanix Sorry, ignore me - it seems to only be using default images on my laptop. On the actual screen it’s showing the images. Maybe it’s something to do with resolution or something. Apologies.
-
@WallysWellies I opened MM on my desktop (MM runs on a Pi5) and I can see the meal images.
The default image only displays when the meal image cannot load. Maybe the URL of the images isn’t accessible on your laptop?