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.

    Error says Read-only file system?

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 3 Posters 6.7k 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.
    • I Offline
      Iron_Reptar @Mykle1
      last edited by Iron_Reptar

      @Mykle1 Yes I am running on a Pi 3. Also I just ran the cat /etc/os-release and it gave the exact same output as you wrote, so it is running jessie.

      I think I will wipe and re-install, but do you think using NOOBS like I have been will suffice since it does say I’m running jessie?

      Also, sorry for the million questions, but could you step me through downloading the latest Node.js as well as cloning the repository? When I tried to download just Node.js a couple dasys ago and ran sudo apt update then sudo apt full-upgrade (as per this guide http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/) I get some errors (it’s been a couple days since I did this so i forget what the error was)

      Thank you for taking the time to reply :)

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Iron_Reptar
        last edited by

        @Iron_Reptar

        NOOBS just makes installation easier. It’s still raspbian, and if Jessie is what it is installing then I would say that is just fine. I did my first Pi3 that way, too.

        Actually, I would have recommended the “thisdavej” url to you. It’s easy to understand and direct. I could not do a better job explaining it. Take your time and follow the directions precisely.

        There is also this page by “thisavej” that you might want to read.

        http://thisdavej.com/upgrading-to-more-recent-versions-of-node-js-on-the-raspberry-pi/

        Create a working config
        How to add modules

        I 2 Replies Last reply Reply Quote 1
        • I Offline
          Iron_Reptar @Mykle1
          last edited by

          @Mykle1 Okay, I’ll give it another shot. Thanks again!

          1 Reply Last reply Reply Quote 0
          • I Offline
            Iron_Reptar @Mykle1
            last edited by

            @Mykle1
            I just cleaned everything up and went step by step through the instructions I mentioned before (even bypassing NOOBS and downloading Raspbian directly then flashing it to my sd card, but I was only able to get as far as $ sudo apt full-upgrade, during which it fails. It runs for a while then towards the end it says

            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_MEASUREMENT': Read-only file system
            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_TELEPHONE': Read-only file system
            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_ADDRESS': Read-only file system
            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_NAME': Read-only file system
            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_PAPER': Read-only file system
            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES': Read-only file system
            dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UE: Sub-process /usr/bin/dpkg returned an error code (2)
            E: Problem executing scrpits DPkg::Post-Invoke 'usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null'
            E:Sub-process returned an error code

            My entire desktop has gone grey, all icons at the top (cmd, chromium, woflram, etc.) are just blank file images that don’t do anything…
            Do you have any advice on fixing this? Do you think it could be a problem with the sd card itself and I need to get a new one?

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Iron_Reptar
              last edited by

              @Iron_Reptar said in Error says Read-only file system?:

              Do you think it could be a problem with the sd card itself and I need to get a new one?

              Funny you should mention that. One of the developers here has been troubleshooting a problem for weeks. As it turns out, his problem was a bad SD card reader, so anything is possible. At least it’s an inexpensive way to eliminate that possibilty.

              Now, if you’re doing things the same way and expecting a different result, then, I don’t know what to tell you. These are the 2 most reliable ways of getting MM up and running on your Pi.

              https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

              https://github.com/MichMich/MagicMirror

              Create a working config
              How to add modules

              I 1 Reply Last reply Reply Quote 1
              • I Offline
                Iron_Reptar @Mykle1
                last edited by

                @Mykle1
                I’m about to go return my sd card and see if I can’t get another, but wanted to make sure before I mess with the new one that I’m even formatting it right.
                I’m using the program “SDFormatter”, setting the Format type to “Full (Erase)” and the Format Size Adjustment to “ON”
                Does that sound right to you?

                Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 1
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @Iron_Reptar
                  last edited by Mykle1

                  @Iron_Reptar said in Error says Read-only file system?:

                  I’m using the program “SDFormatter”, setting the Format type to “Full (Erase)” and the Format Size Adjustment to “ON”
                  Does that sound right to you?

                  Preparing the SD card

                  Thanks to @KirAsh4, here is an excellent walkthrough on preparing your SD Card, using SDFormatter.
                  https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/2

                  Create a working config
                  How to add modules

                  I 1 Reply Last reply Reply Quote 1
                  • I Offline
                    Iron_Reptar @Mykle1
                    last edited by

                    @Mykle1
                    In case you were curious at all (or someone in the future finds this), it turns out it was a problem with the micro sd card. The one I had was a 32 gig Lexar micro sd card. I took it back to the store and swapped it out for a 32 gig SanDisk mico sd and this one has been working perfectly.

                    Thanks again for all of your help, you’re awesome!!!

                    Mykle1M 1 Reply Last reply Reply Quote 1
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @Iron_Reptar
                      last edited by

                      @Iron_Reptar

                      Of course I am curious and I’m glad that you solved the problem. We both learned something, too. Anyway, enjoy your mirror!

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • cowboysdudeC Offline
                        cowboysdude Module Developer @Iron_Reptar
                        last edited by cowboysdude

                        @Iron_Reptar said in Error says Read-only file system?:

                        @Mykle1
                        I’m about to go return my sd card and see if I can’t get another, but wanted to make sure before I mess with the new one that I’m even formatting it right.
                        I’m using the program “SDFormatter”, setting the Format type to “Full (Erase)” and the Format Size Adjustment to “ON”
                        Does that sound right to you?

                        Yes sir that is correct.

                        As I have also just found out that a USB port on a computer can also give you fits… If there’s problems writing to a card I’d try another port or another machine… ;) I realize the SD card was bad but is the exception generally.

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