-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config.json not working state-less #5033
Comments
are you still having this issue? |
Yes I am still having the issue, I attempted today to simply load the config from the db using the mini config and it simply won't load. I reverted back to the full config and it works as expected. I originally configured it following the #running-state-less section. So the config is loaded into the DB. It simply will not read the config from it when using the mini config. It does for sure connect and read from the DB when using the full config. |
Never tried the stateless mode, so will add to my to-do list and gave a look see what's going on 👍 |
ok this is how i got it running...
how you actually edit your config.json in the DB i have no idea as its encrypted with you |
So I am using mariaDB but with mariaDB and the config.json file it loads correctly. If I remove the mariaDB then it breaks, so I know it is communicating. Uploading the config.json to DB works fine, but if I use settings similar to yours (but for mariaDB) it simply does not load up. If I put the full config.json back, it loads as expected. It would be great to solve this, but since I am using this in production now I don't know how enthused I am to mess around too much with it. |
@DarkxPunk dont worry im looking into it for you 👍 |
ok ive done a PR, this will add im still not sure why you cant get it working as it seems to work perfectly fine here? also the is no value |
I am using MariaDB attempting to start state-less. If I choose to use a mini config, I can start MeshCentral, but it loads none of the config. If I put my full config back and expressly tell it to load the config from the database, it still fails to load my config.
With mini config: node node_modules/meshcentral --debug --showall - I get the list with the top most being the config
With full config: node node_modules/meshcentral --debug --showall - I get the list with the top most being the config
If I choose to wipe out the meshcentral-data folder and tell it to start from the database, it says all the certificates are missing...
My guess, it isn't actually loading everything on to the database, and then it can't read it?
Thanks for any help!
Full config
Mini config
The text was updated successfully, but these errors were encountered: