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.

    Directory problems after I Install MagicMirror2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 627 Views 2 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.
    • D Offline
      Davdij2525
      last edited by

      Summary MagicMirror appears to mess up my directory commands.

      When I install Raspbian on my Raspberry Pi 3B, it seems that the directory functions work fine. For example code like this works fine: cd ~/games The ls command also runs fine. Other programs run well. I can see the directories and sub directories and get to them. The I follow the bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)” The program get installed and magicmirror2 runs well upon pressing entry. I can modify the files as shown in the tutorials.

      Very Nice

      However, when I restart the computer, I don’t seem to have a way to use the command cd ~/MagicMirror && DISPLAY=:0 npm start. The command cd~/magicmirror doesn’t work - It shows no directory by that name. When I go to the root directory and enter " ls" command I see that the magicmirror directory does exist. The string " cd ~/MagicMirror && DISPLAY=:0 npm start" cannot find the magicmirror command.

      Your thoughts are much appreciated
      Dave

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

        @Davdij2525 did u run the install script as root user? sudo su?

        Please reinstall as a normal user, typically logged on as pi

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          Also. Please use the updated install script from here
          https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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