• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-MealieMenu Fetch Error

Scheduled Pinned Locked Moved Solved Troubleshooting
30 Posts 3 Posters 4.6k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Away
    sdetweil @WallysWellies
    last edited by Jun 1, 2024, 2:45 PM

    @WallysWellies are you using watchtower to keep. your containers up to date?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    W 1 Reply Last reply Jun 1, 2024, 7:13 PM Reply Quote 0
    • W Offline
      WallysWellies @sdetweil
      last edited by Jun 1, 2024, 7:13 PM

      @sdetweil Mealie is the first time I’ve used docker so it’s totally manual. I’ve never tried to update it - it was setup within the last couple of months.

      I was planning to do the update based on the Mealie docs but I could look into watchtower.

      S 1 Reply Last reply Jun 1, 2024, 7:20 PM Reply Quote 0
      • S Away
        sdetweil @WallysWellies
        last edited by Jun 1, 2024, 7:20 PM

        @WallysWellies i have watchtower maintain all my docker stacks

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        W 1 Reply Last reply Jun 1, 2024, 7:31 PM Reply Quote 0
        • W Offline
          WallysWellies @sdetweil
          last edited by Jun 1, 2024, 7:31 PM

          @sdetweil I’ll look into it, thanks.

          1 Reply Last reply Reply Quote 0
          • Z Offline
            zanix
            last edited by zanix Jun 2, 2024, 5:16 AM Jun 2, 2024, 5:13 AM

            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.

            1 Reply Last reply Reply Quote 0
            • Z Offline
              zanix
              last edited by Jun 2, 2024, 5:25 AM

              I just realized this error occurs when the meal plan is fetched. I wonder if the auth token is expiring.

              W 1 Reply Last reply Jun 2, 2024, 12:35 PM Reply Quote 0
              • W Offline
                WallysWellies @zanix
                last edited by Jun 2, 2024, 12:35 PM

                @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.

                Z 1 Reply Last reply Jun 3, 2024, 3:13 AM Reply Quote 0
                • Z Offline
                  zanix @WallysWellies
                  last edited by Jun 3, 2024, 3:13 AM

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • Z Offline
                    zanix
                    last edited by Jun 12, 2024, 3:19 AM

                    @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.

                    W 3 Replies Last reply Jun 12, 2024, 6:43 AM Reply Quote 1
                    • W Offline
                      WallysWellies @zanix
                      last edited by Jun 12, 2024, 6:43 AM

                      @zanix that’s dedication, thanks!

                      I see the update notification so I’ll get it updated tonight. Cheers.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy