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.

    messed up my config.. MM tells me to create a config file

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 6 Posters 22.4k Views 6 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @xy86
      last edited by

      @xy86 said in messed up my config.. MM tells me to create a config file:

      Is the config.js file supposed to be in the config folder

      Yes

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • johnnyboyJ Offline
        johnnyboy @xy86
        last edited by johnnyboy

        This post is deleted!
        X 1 Reply Last reply Reply Quote 0
        • X Offline
          xy86 @johnnyboy
          last edited by

          @johnnyboy Thanks - I should have learned that by now, but… Haha. You know.

          I ended up re-installing Raspbian as i messed up something so the wifi-card wasn’t recognized anymore.
          I also followed the step-by-step guide at https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/6 and got by the cleaning process. I then tried installing apache2 and PHP5 again; getting the same error as the one below.

          When I try installing MM now, I get these errors:

          Installing helper tools ...
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          build-essential is already the newest version.
          curl is already the newest version.
          git is already the newest version.
          unzip is already the newest version.
          wget is already the newest version.
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          1 not fully installed or removed.
          After this operation, 0 B of additional disk space will be used.
          Can't set locale; make sure $LC_* and $LANG are correct!
          perl: warning: Setting locale failed.
          perl: warning: Please check that your locale settings:
          	LANGUAGE = (unset),
          	LC_ALL = (unset),
          	LC_CTYPE = "UTF-8",
          	LANG = "en_GB.UTF-8"
              are supported and installed on your system.
          perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
          locale: Cannot set LC_CTYPE to default locale: No such file or directory
          locale: Cannot set LC_ALL to default locale: No such file or directory
          Setting up libpam-chksshpwd:armhf (1.1.8-3.1+deb8u2+rpi2) ...
          mkdir: cannot create directory '/var/lib/chksshpwd/': File exists
          dpkg: error processing package libpam-chksshpwd:armhf (--configure):
           subprocess installed post-installation script returned error exit status 1
          Errors were encountered while processing:
           libpam-chksshpwd:armhf
          E: Sub-process /usr/bin/dpkg returned an error code (1)
          

          I tried googling the error, but I’m not sure if I’m on the right track with solutions described.

          Any ideas?

          johnnyboyJ 1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by

            What are you installing PHP5 and apache2 for?

            1 Reply Last reply Reply Quote 0
            • johnnyboyJ Offline
              johnnyboy @xy86
              last edited by johnnyboy

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 4
              • 4 / 4
              • 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