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

jamesvcc

@jamesvcc

0
Reputation
5
Profile views
2
Posts
0
Followers
0
Following
Joined Mar 23, 2020, 5:26 PM
Last Online Nov 6, 2023, 5:49 PM

jamesvcc Unfollow Follow

Latest posts made by jamesvcc

  • RE: magicmirror [DEBUG] config syntax error

    @sdetweil Awesome, been puzzling for ages over this. What a difference two " makes make.

    Thank you for being a second set of eyes.

    posted in Troubleshooting
    J
    jamesvcc
    Nov 2, 2023, 4:42 PM
  • magicmirror [DEBUG] config syntax error

    I am running MM in a docker container. Everything has been fine up until today.

    I have run npm run config:check from inside the container and it says my config is completely fine. However although the logs eventually say “ready to go” - it is not. I cannot get to the webpage -nothing, the container appears to have crashed.

    Any ideas please.

    copy default modules to host …
    copy css files to host …
    chown modules and config folder …
    enable mouse cursor …
    timezone is Europe/London
    start magicmirror

    magicmirror@2.25.0 server
    node ./serveronly
    [02.11.2023 16:08.13.554] [LOG] Starting MagicMirror: v2.25.0
    [02.11.2023 16:08.13.555] [LOG] Loading config …
    [02.11.2023 16:08.13.556] [DEBUG] config template file not exists, no envsubst
    [02.11.2023 16:08.13.557] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: daily is not defined
    at Object. (/opt/magic_mirror/config/config.js:91:6)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions…js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at loadConfig (/opt/magic_mirror/js/app.js:117:14)
    at App.start (/opt/magic_mirror/js/app.js:247:18)
    at Object. (/opt/magic_mirror/serveronly/index.js:4:5)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions…js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47
    [02.11.2023 16:08.13.558] [LOG] Loading module helpers …
    [02.11.2023 16:08.13.560] [LOG] Initializing new module helper …
    [02.11.2023 16:08.13.560] [LOG] Module helper loaded: updatenotification
    [02.11.2023 16:08.13.561] [LOG] No helper found for module: helloworld.
    [02.11.2023 16:08.13.561] [LOG] All module helpers loaded.
    [02.11.2023 16:08.13.563] [LOG] Starting server on port 8080 …
    [02.11.2023 16:08.13.570] [LOG] Server started …
    [02.11.2023 16:08.13.570] [LOG] Connecting socket for: updatenotification
    [02.11.2023 16:08.13.571] [LOG] Starting module helper: updatenotification
    [02.11.2023 16:08.13.571] [LOG] Sockets connected & modules started …
    [02.11.2023 16:08.13.571] [LOG]
    Ready to go! Please point your browser to: http://localhost:8080

    posted in Troubleshooting
    J
    jamesvcc
    Nov 2, 2023, 4:12 PM
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