Read the statement by Michael Teeuw here.
MagicMirror install on proxmox LXC Container?
-
@sdetweil said in MagicMirror install on proxmox LXC Container?:
@kusselin and typically you would setup the container to run MM inside without user intervention… so none of those commands would be needed
Hi sam, unfortunately I have not yet understood why the server always stops when closing putty???
With the command npm run server I start the server… why does the container stop again?
-
@kusselin because that is the way it works. when the terminal window closes, any running app also is forced closed. it’s a security thing
during development I would not close the window. after you are happy, I would make the container auto start mm as part of it’s startup.
a containers design is to run ONE app.I do not know how I do this w lxc containers
w docker, u add a property to the Dockerfile to tell what app to start -
@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 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
And what about this… yesterday i installed screen and i Type the Commander in putty and the Containers was already online…
Now, After an reboot Nottingham is Gong :-(
-
@kusselin did the IP address change?
-
Hi sam,
This was my Solution Now
https://forum.iobroker.net/topic/52195/magic-mirror-zusammen-mit-iobroker/173?_=1666207319057
Crontab