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.

    Missing custom.css breaks entire layout

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 4 Posters 333 Views 4 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.
    • A Offline
      arh
      last edited by

      It was working fine for months, but after trying to set a new RSS feed, all styles were broken
      Raspberry is embedded in my smart door, so I need to tear the door apart to reach it

      Is there any way to either create this file remotely or set config to bypass it?
      All other functions work as usual, not sure what’s even the root of problem
      Also found that all HTML elements (regions) have display: none; active

      Refused to apply style from 'http://192.168.68.109:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      

      e43557b2-a8c6-4213-a843-cadd66cb365c-image.png

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @arh
        last edited by

        @arh that just means the file is not resent, its just a warning that the page asked to load it

        this means the file system may be failing, sd cards are fragile

        same as before in your issue, we depend on user having system access

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        plainbrokeP 1 Reply Last reply Reply Quote 0
        • plainbrokeP Offline
          plainbroke @sdetweil
          last edited by

          @arh
          I would have put it on a USB drive 32gb, they last a LOT longer and are faster too.
          I always set ssh and vnc to on in raspi config. Makes it a lot easier to make changes and fix problems that all the sudden show up. Did you make a change to custom.css and maybe make a mistake in the saving of it? typo’s are my biggest problem anymore. Oh and figuring out what to look for in ctrl+shift+i …
          I am using M.2 drives in my raspberry Pi’s now. they are very reliable and last a LONG time. Just some things to think about so you do not have to dig into the door again.

          Slow learner. But trying anyways.

          S BKeyportB 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @plainbroke
            last edited by

            @plainbroke yes, he used MMM-RemoteControl to
            update the newsfeed module configuration

            given the weird behavior (custom.css gone missing) i’m fairly certain he has a damaged sd card now. they do fail

            and he is in the worst spot, no remote access to the file system (ssh/scp) or the system (vnc/rdp), and apparently no easy physical access.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @plainbroke
              last edited by

              @plainbroke at minimum, put an easy way to get access to the SD card - like an extender to a hidden location or something.

              The "E" in "Javascript" stands for "Easy"

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @BKeyport
                last edited by

                @BKeyport @plainbroke was helping the OP who has the real problem

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                plainbrokeP 1 Reply Last reply Reply Quote 0
                • plainbrokeP Offline
                  plainbroke @sdetweil
                  last edited by

                  @sdetweil
                  You are more than likely correct the sd card has started to fail.
                  That is why I went to the M.2 ssd’s they do not seem to fail as often as USB drives did for me. and I have gave up on sd cards on anything that I do not HAVE to use them in… I suppose if I would fork out the money for the better ones maybe they would last longer… Sorry to Hijack your post. @arh

                  Slow learner. But trying anyways.

                  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