I’m using loraserver on windows machine.
I’ve installed Postgres, redis, mosquitto and I’m using loraserver.exe and lora-app-server.exe.
Everithing works fine and I’m able to connect to the GUI from my browser typing https://localhost:8080.
The problem is that it seems the posgres db is not correctly created by loraserver. Infact in postgres I’ve 2 Dbs : 1 for lora-app-server created with several tables and 1 for loraserver which is empty (no tables).
Using now the GUI I’ve the following error :"relation channel_configuration_id " doesn’t exists…
Hmm, --db-automigrate is set to true. That should create all the tables… Could you post the logoutput too (from the moment when you start LoRa Server)?
It looks like the loraserver.exe is not picking up the --db-automigrate flag. Please note that just that flag, without true should be enough. Please compare with the lora-app-server.exe config as in both cases the config flag is parsed the same way.
When everything works, you should see a log message migrations applied with a count=X indicating the number of migrations applied.
problem solved by typing --db-automigrate just after the --band option.
I had a similar pproblem with --jwt-secret: typing at the end of the command line it wasn’t catch by the runtime, I had to move it at the beginning of the command line.