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.

    Local .ics file access error

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 3 Posters 1.2k 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.
    • kaiK Offline
      kai
      last edited by

      Thanks a lot, @lolo
      Unfortunately this does not make any difference… using webcal://... displays “no appointments” within the calendar as well. The MM’s log says “Calendar error. Could not fetch calendar … 404: Not found”.

      1 Reply Last reply Reply Quote 0
      • L Offline
        lolo
        last edited by lolo

        I have local calendar and is working fine.
        Copy file.ics in modules folder and add to config

        url: "webcal://localhost:8080/modules/file.ics" 
        

        or

        url: "webcal://0.0.0.0:8080/modules/file.ics" 
        
        1 Reply Last reply Reply Quote 0
        • kaiK Offline
          kai
          last edited by

          Thanks a lot @lolo - you made my day!
          That was the crucial point: the modules directory. I now can access the file via url: "webcal://[MM-IP]/modules/file.ics"! :-)
          Thanks a lot again!!!

          1 Reply Last reply Reply Quote 0
          • A Offline
            ashishtank Module Developer
            last edited by

            @kai as @lolo suggested the files will be accessible if it is in modules directory. Not all files on root level are accessible directly. Below directories and their child directories and files are accessible from browser.

            "/config", "/css", "/fonts", "/modules", "/vendor", "/translations", "/tests/configs"
            
            1 Reply Last reply Reply Quote 0
            • kaiK Offline
              kai
              last edited by

              Thank you very much @ashishtank for sharing this!
              Good to know! :-)

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • 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