Read the statement by Michael Teeuw here.
MagicMirror install on proxmox LXC Container?
-
thanks sam…YOU ARE THE BEST :-)
-
one question: Where can i change the position from horizontal to vertical?
In what config can i change that?
-
@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…
-
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
-
@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
-
@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?
-
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
-
Sam, can you help me? What stopped the Server when i closed the putty Software?
-
@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 withsudo 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
-
@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 &