Replies: 4 comments 2 replies
-
| 
         config.php is out dated and is should be faces out, all the config now reside in the DB and creating a config.php file means hard overwriting the current settings (but this can sometime be useful where you want to make sure no one can mess some settings up) . You can use "lnms config:set" instead inside opt/librenms So: Translates to: You can also check the config state before you do any change by doing "lnms config:get enable_proxmox" With this in mind should be able to construct a docker compose "command:" that can execute the configuration during the startup process instead of having to volume map in a "config.php" file  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         except in docker this results in root@server:~# docker exec ef5e9edd8421 lnms config:set enable_proxmox 1
This is not a valid setting. Please check your input | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Experiencing the same issue here. Syntax doesn't appear to be available on the Docker instance lnms context. Note that I tried a lot of combinations of the same. However, after dumping an arbitrarily named   It seemed to have registered the setting However, the set option was still unavailable.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         That is an upstream bug. In order for it to validate correctly with config:set, it must be defined in https://github.com/librenms/librenms/blob/master/misc/config_definitions.json (which is still incomplete). You can add --ignore-checks to set "any" settting even ones with typoes ;)  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
i have a librenms on docker.
on docs i read that i edit file config.php
https://docs.librenms.org/Extensions/Proxmox/
but i don't have file config.php on docker compose.
i add some rows on .env file?
but i can't find syntax...
someone can help me?
thank you
Beta Was this translation helpful? Give feedback.
All reactions