• 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
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 7.8k 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.
  • K Offline
    kusselin
    last edited by Oct 16, 2022, 3:28 PM

    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 Oct 16, 2022, 3:34 PM Reply Quote 0
    • S Offline
      sdetweil @kusselin
      last edited by Oct 16, 2022, 3:34 PM

      @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

      K 1 Reply Last reply Oct 16, 2022, 3:39 PM Reply Quote 0
      • K Offline
        kusselin @sdetweil
        last edited by Oct 16, 2022, 3:39 PM

        @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
        • K Offline
          kusselin
          last edited by kusselin Oct 16, 2022, 3:57 PM Oct 16, 2022, 3:55 PM

          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
          
          
          W 1 Reply Last reply Oct 16, 2022, 5:34 PM Reply Quote 0
          • K Offline
            kusselin
            last edited by Oct 16, 2022, 5:32 PM

            Sam, can you help me? What stopped the Server when i closed the putty Software?

            S 1 Reply Last reply Oct 16, 2022, 6:00 PM Reply Quote 0
            • W Offline
              wishmaster270 Module Developer @kusselin
              last edited by Oct 16, 2022, 5:34 PM

              @kusselin
              Hi,

              if your problem is only to keep the command running while/after you disconnected to the container you can use the “screen” command.
              It you should be installed with Ubuntu already. If not you can install it with

              sudo apt update && sudo apt install -y screen
              

              You then start a new screen with

              screen -S NAME
              

              while NAME is simply an alias and could be something like “mm”.

              After this you can start the mirror with

              npm run server
              

              And you can leave the screen with the keyboard combination

              CRTL+ad
              

              The screen then keeps running. If you want the resume to the screen you can use

              screen -r NAME
              
              K 3 Replies Last reply Oct 17, 2022, 7:19 AM Reply Quote 0
              • S Offline
                sdetweil @kusselin
                last edited by Oct 16, 2022, 6:00 PM

                @kusselin when u disconnect a terminal session any app still running is terminated…

                u can spinit off in the background with & at the end of the command

                npm run server &

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                W 1 Reply Last reply Oct 16, 2022, 6:26 PM Reply Quote 0
                • W Offline
                  wishmaster270 Module Developer @sdetweil
                  last edited by Oct 16, 2022, 6:26 PM

                  @sdetweil You are right in running apps with & in the background but if you disconnect the ssh session all background commands will be disconnected as well.
                  Either screen or a command like nohup needs to be used to keep the command running.

                  S 1 Reply Last reply Oct 16, 2022, 7:03 PM Reply Quote 0
                  • S Offline
                    sdetweil @wishmaster270
                    last edited by Oct 16, 2022, 7:03 PM

                    @wishmaster270 never had one disconnected w &

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kusselin @wishmaster270
                      last edited by Oct 17, 2022, 7:19 AM

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

                      @kusselin
                      Hi,

                      if your problem is only to keep the command running while/after you disconnected to the container you can use the “screen” command.
                      It you should be installed with Ubuntu already. If not you can install it with

                      sudo apt update && sudo apt install -y screen
                      

                      You then start a new screen with

                      screen -S NAME
                      

                      while NAME is simply an alias and could be something like “mm”.

                      After this you can start the mirror with

                      npm run server
                      

                      And you can leave the screen with the keyboard combination

                      CRTL+ad
                      

                      The screen then keeps running. If you want the resume to the screen you can use

                      screen -r NAME
                      

                      Thanks, so it is going :-)

                      S 1 Reply Last reply Oct 18, 2022, 3:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        30/37
                        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