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.

    MMM-awesome-alexa

    Scheduled Pinned Locked Moved Utilities
    241 Posts 43 Posters 391.7k Views 47 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.
    • S Offline
      sdetweil @uok825
      last edited by

      @uok825 pm2 status please

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      U 2 Replies Last reply Reply Quote 0
      • U Offline
        uok825 @sdetweil
        last edited by

        @sdetweil Wait flushing

        1 Reply Last reply Reply Quote 0
        • U Offline
          uok825 @sdetweil
          last edited by

          @sdetweil 0|MagicMir | [2020-06-27 01:24:01.211] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: Europe is not defined
          0|MagicMir | at Object. (/home/pi/MagicMirror/config/config.js:126:15)
          0|MagicMir | at Module._compile (internal/modules/cjs/loader.js:778:30)
          0|MagicMir | at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
          0|MagicMir | at Module.load (internal/modules/cjs/loader.js:653:32)
          0|MagicMir | at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          0|MagicMir | at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          0|MagicMir | at Module.require (internal/modules/cjs/loader.js:692:17)
          0|MagicMir | at require (internal/modules/cjs/helpers.js:25:18)
          0|MagicMir | at loadConfig (/home/pi/MagicMirror/js/app.js:69:12)
          0|MagicMir | at App.start (/home/pi/MagicMirror/js/app.js:210:3)
          0|MagicMir | [2020-06-27 01:24:03.383] [ERROR] { Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
          0|MagicMir | at Server.setupListenHandle [as _listen2] (net.js:1280:14)
          0|MagicMir | at listenInCluster (net.js:1328:12)
          0|MagicMir | at GetAddrInfoReqWrap.doListen [as callback] (net.js:1461:7)
          0|MagicMir | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:61:10)
          0|MagicMir | code: ‘EADDRINUSE’,
          0|MagicMir | errno: ‘EADDRINUSE’,
          0|MagicMir | syscall: ‘listen’,
          0|MagicMir | address: ‘127.0.0.1’,
          0|MagicMir | port: 8080 }

          /home/pi/.pm2/logs/MagicMirror-out.log last 200 lines:
          0|MagicMir |
          0|MagicMir | > magicmirror@2.11.0 start /home/pi/MagicMirror
          0|MagicMir | > ./run-start.sh $1
          0|MagicMir |
          0|MagicMir | [2020-06-27 01:24:01.042] [LOG] Starting MagicMirror: v2.11.0
          0|MagicMir | [2020-06-27 01:24:01.170] [LOG] Loading config …
          0|MagicMir | [2020-06-27 01:24:01.223] [LOG] Loading module helpers …
          0|MagicMir | [2020-06-27 01:24:01.652] [LOG] Initializing new module helper …
          0|MagicMir | [2020-06-27 01:24:01.664] [LOG] Module helper loaded: updatenotification
          0|MagicMir | [2020-06-27 01:24:01.679] [LOG] No helper found for module: helloworld.
          0|MagicMir | [2020-06-27 01:24:01.691] [LOG] All module helpers loaded.
          0|MagicMir | [2020-06-27 01:24:02.810] [LOG] Starting server on port 8080 …
          0|MagicMir | [2020-06-27 01:24:02.948] [LOG] Server started …
          0|MagicMir | [2020-06-27 01:24:02.960] [LOG] Connecting socket for: updatenotification
          0|MagicMir | [2020-06-27 01:24:02.973] [LOG] Sockets connected & modules started …
          0|MagicMir | [2020-06-27 01:24:02.984] [LOG]
          0|MagicMir | Ready to go! Please point your browser to: http://localhost:8080
          0|MagicMir | Starting chromium browser now, have patience, it takes a minute
          0|MagicMir | [2020-06-27 01:24:03.350] [LOG] Whoops! There was an uncaught exception…
          0|MagicMir | [2020-06-27 01:24:03.495] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
          0|MagicMir | [2020-06-27 01:24:03.513] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

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

            @uok825

             Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: Europe is not defined
            

            so, u gotta fix this, PM2 keeps restarting…

            i don’t want you to use pm2 to test
            do

            pm2 stop  all
            

            then

            cd ~/MagicMirror
            npm run config:check
            

            find and fix error
            if no error, then

            npm start 
            

            verify working

            ctrl-c to exit MM

            then pm2 start

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              uok825 @sdetweil
              last edited by uok825

              @sdetweil config is running correct but
              f8dbf5a8-4898-4767-bf30-68904ab37903-image.png
              917c11da-74bf-4469-b69a-a6402db2db41-image.png
              It causes by Screencast maybe?
              My config
              2318d51c-9f17-4939-8dbc-7ea9564ee016-image.png

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

                @uok825 you still have something running using port 8080…

                disable the modules one by one

                add

                  module: name, 
                  disabled: true,             // < --- add this
                  config: { 
                

                i don’t know anything about the modules themselves…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                U 2 Replies Last reply Reply Quote 0
                • U Offline
                  uok825 @sdetweil
                  last edited by

                  @sdetweil Maybe screencast?

                  1 Reply Last reply Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by

                    @sdetweil Disabled all but nothing change
                    760822e8-384c-4498-a29e-b591709109be-image.png

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

                      @uok825

                      try this , see who is listening on 8080

                      netstat -ltnp | grep -w ':8080' 
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      U 1 Reply Last reply Reply Quote 0
                      • U Offline
                        uok825 @sdetweil
                        last edited by uok825

                        @sdetweil a2c3d448-82f6-4ed9-9887-b890a1a3aa80-image.png
                        Nothing

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

                          @uok825 ok, then

                          change the port value in config.js to 8090

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          U 1 Reply Last reply Reply Quote 0
                          • U Offline
                            uok825 @sdetweil
                            last edited by

                            @sdetweil Problem fixed, now try alexa

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

                              @uok825 do you have a web server running on that system?

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              U 1 Reply Last reply Reply Quote 0
                              • U Offline
                                uok825 @sdetweil
                                last edited by

                                @sdetweil No i don’t have, i install fresh raspian

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

                                  @uok825 show results of ps -ef

                                  without MM running

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  U 1 Reply Last reply Reply Quote 0
                                  • U Offline
                                    uok825 @sdetweil
                                    last edited by

                                    @sdetweil said in MMM-awesome-alexa:

                                    @uok825 show results of ps -ef

                                    without MM running

                                    root        19     2  0 Haz26 ?        00:00:00 [kworker/u3:0-hci0]
                                    root        20     2  0 Haz26 ?        00:00:00 [xprtiod]
                                    root        23     2  0 Haz26 ?        00:01:40 [kswapd0]
                                    root        24     2  0 Haz26 ?        00:00:00 [nfsiod]
                                    root        35     2  0 Haz26 ?        00:00:00 [kthrotld]
                                    root        36     2  0 Haz26 ?        00:00:00 [iscsi_eh]
                                    root        37     2  0 Haz26 ?        00:00:00 [dwc_otg]
                                    root        38     2  0 Haz26 ?        00:00:00 [DWC Notificatio]
                                    root        39     2  0 Haz26 ?        00:00:00 [vchiq-slot/0]
                                    root        40     2  0 Haz26 ?        00:00:00 [vchiq-recy/0]
                                    root        41     2  0 Haz26 ?        00:00:00 [vchiq-sync/0]
                                    root        42     2  0 Haz26 ?        00:00:00 [vchiq-keep/0]
                                    root        43     2  0 Haz26 ?        00:00:00 [SMIO]
                                    root        44     2  0 Haz26 ?        00:00:48 [irq/86-mmc1]
                                    root        47     2  0 Haz26 ?        00:00:00 [mmc_complete]
                                    root        50     2  0 Haz26 ?        00:00:02 [jbd2/mmcblk0p2-]
                                    root        51     2  0 Haz26 ?        00:00:00 [ext4-rsv-conver]
                                    root        52     2  0 Haz26 ?        00:00:00 [ipv6_addrconf]
                                    root        86     1  0 Haz26 ?        00:00:02 /lib/systemd/systemd-journald
                                    root       108     1  0 Haz26 ?        00:00:01 /lib/systemd/systemd-udevd
                                    root       122     2  0 Haz26 ?        00:00:00 [SMIO]
                                    root       128     2  0 Haz26 ?        00:00:00 [mmal-vchiq]
                                    root       129     2  0 Haz26 ?        00:00:00 [mmal-vchiq]
                                    root       132     2  0 Haz26 ?        00:00:00 [mmal-vchiq]
                                    root       159     2  0 Haz26 ?        00:00:00 [cfg80211]
                                    root       162     2  0 Haz26 ?        00:00:00 [brcmf_wq/mmc1:0]
                                    root       163     2  0 Haz26 ?        00:00:11 [brcmf_wdog/mmc1]
                                    systemd+   217     1  0 Haz26 ?        00:00:01 /lib/systemd/systemd-timesyncd
                                    root       246     1  0 Haz26 ?        00:00:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
                                    root       247     1  0 Haz26 ?        00:00:00 /usr/sbin/cron -f
                                    nobody     248     1  0 Haz26 ?        00:00:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
                                    root       250     1  0 Haz26 ?        00:00:01 /usr/lib/udisks2/udisksd
                                    avahi      252     1  0 Haz26 ?        00:00:01 avahi-daemon: running [raspberrypi.local]
                                    root       253     1  0 Haz26 ?        00:00:20 /usr/sbin/rngd -r /dev/hwrng
                                    root       261     1  0 Haz26 ?        00:00:00 /lib/systemd/systemd-logind
                                    avahi      266   252  0 Haz26 ?        00:00:00 avahi-daemon: chroot helper
                                    root       271     1  0 Haz26 ?        00:00:00 /usr/sbin/rsyslogd -n -iNONE
                                    message+   277     1  0 Haz26 ?        00:00:02 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
                                    root       310     1  0 Haz26 ?        00:00:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
                                    root       330     1  0 Haz26 ?        00:00:00 /sbin/dhcpcd -q -b
                                    root       343     1  0 Haz26 ?        00:00:01 /usr/lib/policykit-1/polkitd --no-debug
                                    root       353     1  0 Haz26 ?        00:00:00 /usr/bin/vncserver-x11-serviced -fg
                                    root       354   353  5 Haz26 ?        00:13:58 /usr/bin/vncserver-x11-core -service
                                    root       368     1  0 Haz26 ?        00:00:00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - b8:27:eb:68:21:40
                                    root       369     2  0 Haz26 ?        00:00:00 [kworker/u3:2-hci0]
                                    root       372     1  0 Haz26 ?        00:00:04 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
                                    root       374     1  0 Haz26 ?        00:00:00 /usr/sbin/sshd -D
                                    root       378     1  0 Haz26 ?        00:00:00 /usr/sbin/lightdm
                                    root       398     1  0 Haz26 ?        00:00:00 /usr/lib/bluetooth/bluetoothd
                                    root       404     1  0 Haz26 ?        00:00:00 /usr/bin/bluealsa
                                    root       414     2  0 Haz26 ?        00:00:00 [krfcommd]
                                    root       421   378  2 Haz26 tty7     00:06:23 /usr/lib/xorg/Xorg -s 0 -dpms :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
                                    root       422     1  0 Haz26 tty1     00:00:00 /bin/login -f
                                    root       424     1  0 Haz26 ?        00:02:01 /usr/bin/vncagent service 14
                                    root       480   378  0 Haz26 ?        00:00:00 lightdm --session-child 14 17
                                    pi         492     1  0 Haz26 ?        00:00:00 /lib/systemd/systemd --user
                                    pi         495   492  0 Haz26 ?        00:00:00 (sd-pam)
                                    pi         506   480  0 Haz26 ?        00:00:03 /usr/bin/lxsession -s LXDE-pi -e LXDE
                                    pi         518   422  0 Haz26 tty1     00:00:00 -bash
                                    pi         519   492  0 Haz26 ?        00:00:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
                                    pi         557   506  0 Haz26 ?        00:00:00 /usr/bin/ssh-agent x-session-manager
                                    pi         568   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfsd
                                    pi         573   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
                                    pi         575     1  0 Haz26 ?        00:00:33 PM2 v4.4.0: God Daemon (/home/pi/.pm2)
                                    pi         580     1  0 Haz26 ?        00:00:02 /usr/bin/vncserverui service 15
                                    pi         606   506  0 Haz26 ?        00:00:06 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
                                    pi         607   506  0 Haz26 ?        00:00:00 lxpolkit
                                    pi         608   506  0 Haz26 ?        00:01:03 lxpanel --profile LXDE-pi
                                    pi         610   506  0 Haz26 ?        00:00:13 pcmanfm --desktop --profile LXDE-pi
                                    pi         619   580  0 Haz26 ?        00:00:00 /usr/bin/vncserverui -statusicon 5
                                    pi         621     1  0 Haz26 ?        00:00:00 /usr/bin/ssh-agent -s
                                    pi         692     1  0 Haz26 ?        00:00:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0
                                    pi         696   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
                                    pi         703   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
                                    pi         707   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
                                    pi         712   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
                                    pi         716   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
                                    pi         817   568  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
                                    root      1191   374  0 Haz26 ?        00:00:00 sshd: pi [priv]
                                    pi        1201  1191  0 Haz26 ?        00:00:01 sshd: pi@notty
                                    pi        1203  1201  0 Haz26 ?        00:00:00 /usr/lib/openssh/sftp-server
                                    root      1205   374  0 Haz26 ?        00:00:00 sshd: pi [priv]
                                    pi        1215  1205  0 Haz26 ?        00:00:00 sshd: pi@notty
                                    pi        1217  1215  0 Haz26 ?        00:00:00 -bash
                                    pi        1307     1  0 Haz26 ?        00:00:00 /bin/bash ./run-start.sh
                                    pi        1308  1307  1 Haz26 ?        00:04:24 node serveronly
                                    pi        1319     1  0 Haz26 ?        00:00:00 tee
                                    pi        2011   608  0 Haz26 ?        00:02:05 lxterminal
                                    pi        2028  2011  0 Haz26 pts/0    00:00:01 bash
                                    root      2317   374  0 Haz26 ?        00:00:00 sshd: pi [priv]
                                    pi        2560  2317  0 Haz26 ?        00:00:00 sshd: pi@notty
                                    pi        2562  2560  0 Haz26 ?        00:00:00 /usr/lib/openssh/sftp-server
                                    root     18999     2  0 01:17 ?        00:00:07 [kworker/u2:0-cfg80211]
                                    root     19458     2  0 01:35 ?        00:00:07 [kworker/u2:1-events_unbound]
                                    root     20569     2  0 01:49 ?        00:00:14 [kworker/0:2H-mmc_complete]
                                    root     21338     2  0 01:57 ?        00:00:00 [kworker/0:2-memcg_kmem_cache]
                                    root     21633     2  0 02:02 ?        00:00:00 [kworker/0:1-events]
                                    root     21649     2  0 02:05 ?        00:00:05 [kworker/0:1H-events_highpri]
                                    root     22089     2  0 02:08 ?        00:00:00 [kworker/0:0-events]
                                    root     22217     2  2 02:10 ?        00:00:06 [kworker/0:0H-mmc_complete]
                                    root     22495     2  0 02:12 ?        00:00:00 [kworker/0:3-events]
                                    root     22526     2  0 02:14 ?        00:00:00 [kworker/u2:2-events_unbound]
                                    pi       22533  2028  0 02:15 pts/0    00:00:00 ps -ef
                                    
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @uok825
                                      last edited by

                                      @uok825 said in MMM-awesome-alexa:

                                      pi 1217 1215 0 Haz26 ? 00:00:00 -bash
                                      pi 1307 1 0 Haz26 ? 00:00:00 /bin/bash ./run-start.sh
                                      pi 1308 1307 1 Haz26 ? 00:04:24 node serveronly

                                      somebody has the server running

                                      if u are using my install script, it starts serveronly and then connects chromium over that
                                      as there is no electron browser for pi0. (but only on pi 0/armv6l devices)

                                      show package.json
                                      “start” line

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      U 1 Reply Last reply Reply Quote 0
                                      • U Offline
                                        uok825 @sdetweil
                                        last edited by

                                        @sdetweil I used yourse
                                        268c0391-fce7-4e90-b570-0872489778e8-image.png

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

                                          @uok825 yep, so server is running on port 8080…

                                          sudo kill -9 1308

                                          but pm2 stop
                                          should have stopped that, does on my pi0

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          U 1 Reply Last reply Reply Quote 0
                                          • U Offline
                                            uok825 @sdetweil
                                            last edited by

                                            @sdetweil 4483d3b5-de87-4cef-9893-c08267933deb-image.png
                                            What is that error?

                                            S 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 12
                                            • 13
                                            • 4 / 13
                                            • 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