Running on PROXMOX LXC

Started by Uncle Buzz, July 12, 2025, 08:14:38 AM

Uncle Buzz

Hi,

I'am trying to run the gateway app on  a proxmox container LXC (not a VM) and I have some strange behavior...


I created a container with Debian 12.2 amd64 base, pass the USB device to the CT and installed the gateway app via the github script (version 9.2.1)


I'm able to run the app, getting node data, seams to be almost good... apart from following :

The node is auto generated when gateway receives new message, but I'm not able to edit or save any update since the node is reset at each new message, like the autogeneration was always executed even if the node already exists.

When I reload the webpage, the node list I void, but I can't add a node already known, and it appears on the GUI when a new message is received.

I'm not able to set a new label nor description, nor new event (I'm trying to add mqtt event which is correctly set and connect to the mqtt broker thanks to this topic


I wonder if all this strange stuff is due to the container, or library version from the debian 12 repository, or any misconfiguration.

Do you have any idea Felix ?

Uncle Buzz

The nedb that was installed with the script was not the latest version on your GitHub (which I believe is the latest version from Louischatriot). It threw an exception about IsDate from Utils. I changed utils.IsDate to utils.types.IsDate, which solved the problem and allowed the app to start correctly.

After finding the link to your nedb GitHub fork, I checked your code and saw another correction to mine. I manually copied your repo of nedb and didn't notice any difference, but everything is working correctly right now. I'm not sure if it's related or if it's related to some browser extensions I have uniloaded. I have to investigate further, but it works!

LukaQ

Hey

I have installed it on ProxMox, with the lastest updates (then).
Since then, I am on latest debian also

https://github.com/LukaGitH/Gateway