MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. WM1600
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 8
    • Groups 0

    WM1600

    @WM1600

    0
    Reputation
    1
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    WM1600 Unfollow Follow

    Latest posts made by WM1600

    • RE: Need Help with magicmirror

      Sam,

      wanted to get back with you and let you know that the re-install worked.

      Thank you very much for the help, I could not have done it with out you!

      Will

      posted in Troubleshooting
      W
      WM1600
    • RE: Need Help with magicmirror

      @sdetweil

      will@raspberrypi:~ $ uname -a
      Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux
      will@raspberrypi:~ $ file $(which bash)
      /usr/bin/bash: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=198ac6b0cc01bf774c5746a36a6fd31dead9bda5, for GNU/Linux 3.7.0, stripped
      will@raspberrypi:~ $

      posted in Troubleshooting
      W
      WM1600
    • RE: Need Help with magicmirror

      @sdetweil

      I ran the following in terminal

      will@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
      the log will be saved in /home/will/MagicMirror/installers/pm2_setup.log
      /usr/local/bin/node: 1: Syntax error: “)” unexpected
      /usr/local/bin/node: 1: Syntax error: “)” unexpected
      will@raspberrypi:~ $

      I have seen “Syntax error: “)” unexpected” before but that is the first time I have seen it twice

      here is the log file:

      pm2 setup starting - Sun Apr 28 11:19:37 EDT 2024
      using parameter bash
      system is Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux
      the os is Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
      node version v20.12.1
      force installing latest npm version via npm
      npm version 10.5.2
      pm2 installed
      pm2 installed, but does not work, uninstalling
      pm2 not installed, installing
      get the pm2 platform specific startup command
      startup command =
      pm2 startup command done
      configure the pm2 config file for MagicMirror
      the user is not pi
      change pm2_MagicMirror.json
      now using this config file pm2_MagicMirror_new.json
      start MagicMirror via pm2 now
      save MagicMirror pm2 config now
      pm2 setup completed - Sun Apr 28 11:19:39 EDT 2024
      pm2 setup starting - Sun Apr 28 20:25:03 EDT 2024
      using parameter bash
      system is Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux
      the os is Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
      node version v20.12.1
      force installing latest npm version via npm
      npm version 10.5.2
      pm2 installed
      pm2 installed, but does not work, uninstalling
      pm2 not installed, installing
      get the pm2 platform specific startup command
      startup command =
      pm2 startup command done
      configure the pm2 config file for MagicMirror
      the user is not pi
      change pm2_MagicMirror.json
      now using this config file pm2_MagicMirror_new.json
      start MagicMirror via pm2 now
      save MagicMirror pm2 config now
      pm2 setup completed - Sun Apr 28 20:25:05 EDT 2024

      it is saying the user is not pi, but this is on a rasberry pi

      posted in Troubleshooting
      W
      WM1600
    • RE: Need Help with magicmirror

      @sdetweil

      when I type in pm2 status

      I dont see anything

      this is the terminal copied:

      will@raspberrypi:~ $ pm2 status
      will@raspberrypi:~ $

      posted in Troubleshooting
      W
      WM1600
    • RE: Need Help with magicmirror

      @sdetweil

      the terminal looks like this

      will@raspberrypi:~ $ pm2 logs --lines=50
      will@raspberrypi:~ $

      I do not see it doing anything.

      [pm2.jpg](Input file contains unsupported image format)
      I tried to upload the PM2.log but it says I can only upload picture files.

      so I changed pm2.log to pm2.jpg. dont know it that will work.

      posted in Troubleshooting
      W
      WM1600
    • RE: Need Help with magicmirror

      @sdetweil
      ok,
      I have done those.
      no change

      posted in Troubleshooting
      W
      WM1600
    • RE: Need Help with magicmirror

      @sdetweil thank you,
      I have re-installed Magic Mirror and chose to disable screen save and to start magicmirror on boot-up.
      the install worked for magicmirror and and when I go to the magic mirror folder in terminal and type “npm run start”, magicmirror will start.

      when I turn the terminal off and boot it up, It comes up with a magicmirror boot screen, but then the terminal continues to the normal start-up.
      At this point, I can still go to terminal and type npm run start and run magicmirror

      Am I missing a step to transition fully into magicmirror?

      posted in Troubleshooting
      W
      WM1600
    • Need Help with magicmirror

      I tried installing majic mirror pictureframe from Tomshardware.

      Purchsed a rasberry pi 4
      assembled updated and got the unit functioning.
      installed MagicMirror

      had it running.

      then installed the magicmirror module.
      had issued getting the generate_token.js to function,
      determined i needed to use the command generate_token_v2.js (I think)
      also updated
      npm: ‘10.5.2’,
      node: ‘20.12.1’,
      got the magic mirror to display a google album.

      then I tried to make the unit boot on start-up.

      will@raspberrypi:/media/will $ sudo npm install -g pm2
      /usr/local/bin/node: 1: Syntax error: “)” unexpected

      Then I went back tried to update MM

      Now magicmirror will not run.

      (I have copies of the terminal if that helps)

      any ideas on where to look to get help?
      remove MM and re-install?

      Thanks,
      Will

      posted in Troubleshooting
      W
      WM1600