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.

    MagicMirror install on proxmox LXC Container?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    37 Posts 3 Posters 10.3k Views 3 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 @kusselin
      last edited by

      @kusselin remember, a container is a ‘system’
      with its own IP address different than than the container hosting system (typically 172.xx.yy.zz)

      also, localhost means ONLY apps INSIDE this same ‘system’, can access… so that means a browser running IN the container… oops… not possible

      SO, you have to change the MM config.js to allow apps OUTSIDE the container to access the MM app
      and THEN on the container setup , map the container MM port to some host port … (so u can access from another pc, phone, tablet, outside the container hosting system )

      address:“0.0.0.0”.
      ipWhitelist:[],

      you didn’t have to reinstall mm… one install runs three ways
      full (ui on same ‘system’), npm start
      server (ui on some OTHER system (have to change config) npm run server
      client (just the UI part), npm run client

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      kusselinK 1 Reply Last reply Reply Quote 0
      • kusselinK Offline
        kusselin @sdetweil
        last edited by kusselin

        @sdetweil what a fu…

        now its running!!! Ohman!! yeahhhhhhh :-) thanks a lot…

        o.k. i understand …in an lxc is not same as a pi with raspbia…because lxc is an container and has no graphic giu…then i have to start server (npm start server" right…

        and i mut change the config as this here

        address:“0.0.0.0”.
        ipWhitelist:[],

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

          @kusselin yes, to help keep this organized for you

          think of a container as a pi/nuc/laptop/extra machine with no display, running in text mode
          and the only way to get to it is thru a proxy machine (your container host)

          and then some other machine, laptop, phone, tablet that wants to display info…

          so other machine, phone, tablet connects to proxy, who forwards request to pi, and returns response back.
          the proxy doesnt DO anything but transport the info .

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • kusselinK Offline
            kusselin
            last edited by

            thanks sam…YOU ARE THE BEST :-)

            1 Reply Last reply Reply Quote 0
            • kusselinK Offline
              kusselin
              last edited by

              one question: Where can i change the position from horizontal to vertical?

              In what config can i change that?

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

                @kusselin well that becomes much more troublesome…

                the container doesn’t have display, so u can’t force it there
                also, server mode doesn’t know orientation of display system .

                so this would typically be done on system w browser. full system in portrait or landscape.

                I don’t know how you would do it just for one browser/tab…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • kusselinK Offline
                  kusselin
                  last edited by

                  ahh o.k. with installation on a pi there is the config.txt in boot an there you van change the display_rotate =1

                  O.K: in Container is difficult. Its ok. then thanks

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

                    @kusselin if u are running container on pi, AND displaying on pi, then it’s the same. if u are running container on windows, displaying on pi, it’s the same.

                    if displaying on windows, then have to turn windows portrait mode

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    kusselinK 1 Reply Last reply Reply Quote 0
                    • kusselinK Offline
                      kusselin @sdetweil
                      last edited by

                      @sdetweil said in MagicMirror install on proxmox LXC Container?:

                      if displaying on windows, then have to turn windows portrait mode

                      how is this going under win 10?

                      1 Reply Last reply Reply Quote 0
                      • kusselinK Offline
                        kusselin
                        last edited by kusselin

                        but there is a problem…when i started the server in the container with “npm run server” with putty… and i shut down the laptop the server is not reachable anymore :-(

                        means if I then eb on the ipad the 192.168.200.74:8080 enter the mirror is not accessible :-(

                        I have to enter again in putty then “npm run server” and then it is there…I shut down the laptop the server is no longer accessible :-(

                        What can be the reason for this now?

                        pi@MagicMirror-live:~/MagicMirror$ npm run server
                        
                        > magicmirror@2.21.0 server
                        > node ./serveronly
                        
                        [16.10.2022 15:55.38.561] [LOG]   Starting MagicMirror: v2.21.0
                        [16.10.2022 15:55.38.563] [LOG]   Loading config ...
                        [16.10.2022 15:55.38.566] [LOG]   Loading module helpers ...
                        [16.10.2022 15:55.38.567] [LOG]   No helper found for module: alert.
                        [16.10.2022 15:55.38.582] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.38.582] [LOG]   Module helper loaded: updatenotification
                        [16.10.2022 15:55.38.583] [LOG]   No helper found for module: clock.
                        [16.10.2022 15:55.38.712] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.38.712] [LOG]   Module helper loaded: calendar
                        [16.10.2022 15:55.38.713] [LOG]   No helper found for module: compliments.
                        [16.10.2022 15:55.38.713] [LOG]   No helper found for module: MMM-OpenmapWeather.
                        [16.10.2022 15:55.38.714] [LOG]   No helper found for module: weather.
                        [16.10.2022 15:55.38.722] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.38.722] [LOG]   Module helper loaded: newsfeed
                        [16.10.2022 15:55.38.722] [LOG]   No helper found for module: MMM-Traffic.
                        [16.10.2022 15:55.38.723] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.38.724] [LOG]   Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.21.0
                        [16.10.2022 15:55.38.724] [LOG]   Version is ok!
                        [16.10.2022 15:55.38.724] [LOG]   Module helper loaded: MMM-Fuel
                        [16.10.2022 15:55.38.919] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.38.921] [LOG]   Module helper loaded: MMM-RNV
                        [16.10.2022 15:55.39.141] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.39.158] [LOG]   Module helper loaded: MMM-PublicTransportHafas
                        [16.10.2022 15:55.39.158] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.39.158] [LOG]   Module helper loaded: MMM-ioBroker
                        [16.10.2022 15:55.39.209] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.39.209] [LOG]   Module helper loaded: MMM-COVID19-AMPEL
                        [16.10.2022 15:55.39.211] [LOG]   Initializing new module helper ...
                        [16.10.2022 15:55.39.211] [LOG]   Module helper loaded: MMM-SoccerLiveScore
                        [16.10.2022 15:55.39.211] [LOG]   No helper found for module: MMM-Snow.
                        [16.10.2022 15:55.39.212] [LOG]   No helper found for module: MMM-Carousel.
                        [16.10.2022 15:55.39.212] [LOG]   All module helpers loaded.
                        [16.10.2022 15:55.39.277] [LOG]   Starting server on port 8080 ...
                        [16.10.2022 15:55.39.315] [WARN]  You're using a full whitelist configuration to allow for all IPs
                        [16.10.2022 15:55.39.321] [LOG]   Server started ...
                        [16.10.2022 15:55.39.332] [LOG]   Connecting socket for: updatenotification
                        [16.10.2022 15:55.39.332] [LOG]   Starting module helper: updatenotification
                        [16.10.2022 15:55.39.333] [LOG]   Connecting socket for: calendar
                        [16.10.2022 15:55.39.333] [LOG]   Starting node helper for: calendar
                        [16.10.2022 15:55.39.333] [LOG]   Connecting socket for: newsfeed
                        [16.10.2022 15:55.39.333] [LOG]   Starting node helper for: newsfeed
                        [16.10.2022 15:55.39.334] [LOG]   Connecting socket for: MMM-Fuel
                        [16.10.2022 15:55.39.334] [LOG]   Starting module helper: MMM-Fuel
                        [16.10.2022 15:55.39.334] [LOG]   Connecting socket for: MMM-RNV
                        [16.10.2022 15:55.39.449] [LOG]   Connecting socket for: MMM-PublicTransportHafas
                        [16.10.2022 15:55.39.450] [LOG]   Connecting socket for: MMM-ioBroker
                        [16.10.2022 15:55.39.451] [LOG]   Connecting socket for: MMM-COVID19-AMPEL
                        [16.10.2022 15:55.39.452] [LOG]   Starting node helper for: MMM-COVID19-AMPEL
                        [16.10.2022 15:55.39.452] [LOG]   Connecting socket for: MMM-SoccerLiveScore
                        [16.10.2022 15:55.39.453] [LOG]   Starting node helper for: MMM-SoccerLiveScore
                        [16.10.2022 15:55.39.453] [LOG]   Sockets connected & modules started ...
                        [16.10.2022 15:55.39.453] [LOG]
                        Ready to go! Please point your browser to: http://0.0.0.0:8080
                        

                        and then this:

                        Ready to go! Please point your browser to: http://0.0.0.0:8080
                        ^C[16.10.2022 15:55.50.516] [LOG]   [SIGINT] Received. Shutting down server...
                        [16.10.2022 15:55.50.516] [LOG]   Stopping module helper: updatenotification
                        [16.10.2022 15:55.50.517] [LOG]   Stopping module helper: calendar
                        [16.10.2022 15:55.50.517] [LOG]   Stopping module helper: newsfeed
                        [16.10.2022 15:55.50.517] [LOG]   Stopping module helper: MMM-Fuel
                        [16.10.2022 15:55.50.517] [LOG]   Stopping module helper: MMM-RNV
                        [16.10.2022 15:55.50.517] [LOG]   Stopping module helper: MMM-PublicTransportHafas
                        [16.10.2022 15:55.50.517] [LOG]   Stopping module helper: MMM-ioBroker
                        [16.10.2022 15:55.50.518] [LOG]   Stopping module helper: MMM-COVID19-AMPEL
                        [16.10.2022 15:55.50.518] [LOG]   Stopping node helper for: MMM-SoccerLiveScore
                        
                        
                        wishmaster270W 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 2 / 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