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

Local .ics file access error

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 1.0k 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.
  • K Offline
    kai
    last edited by Jan 15, 2021, 11:38 AM

    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 Jan 15, 2021, 1:59 PM Jan 15, 2021, 1:48 PM

      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
      • K Offline
        kai
        last edited by Jan 15, 2021, 3:30 PM

        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 Jan 15, 2021, 4:02 PM

          @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
          • K Offline
            kai
            last edited by Jan 15, 2021, 4:54 PM

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

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