By default configuration is empty - you need to press load configuration to load it from file.
After reloading not all lines are in generated config - this is due to fact that setup is not aware of every single configuration property. Also in some cases it is not able to parse line values.
We can improve it but:
In my opinion if someone changed config file manually it may not expect it to be properly parsed.
Not all properties are supported as it is very big task to actually support every property in this web setup.
I think it is good as it is for initial configuration and reconfiguration for first time users of Tigase XMPP Server.
If we want to fix it, then I suggest to allow to run it only for initial setup and remove any possiblity to load configuration as I mentioned it will be very hard to add support for every property.
%kobit What do you think?
Andrzej Wójcik (Tigase) commented 8 years ago
%kobit Could you answer my question from previous comment?
Artur Hefczyc commented 8 years ago
I think that after initial setup, the configurator should allow to load config file for manual modifications only. I mean, it should load them into a web form into a text area field. An admin can edit the config file and save it to HDD. It would be also good to make an automatic backup of the original file to make it easy to revert all changes.
Andrzej Wójcik (Tigase) commented 8 years ago
%kobit I modified setup to work in way you described it.
%eric Please verify that it works correctly now. If init.properties file is configured by Tigase and restarted then entering setup pages will lead to new page with displayed configuration which can be modified and saved.
If it will work correctly then I think %daniel should check that documentation matches changed behaviour of setup.
Looking on http://cluster-c.xmpp-test.net:8080/setup/?step=3 U:admin@cluster-c.xmpp-test.net P: pass
This installation uses the latest nightly. Load configuration is not right. Initially displays this:
Pressing reload from file shows this:
The actual init.properties is this: