Page 1 of 1

The config file is not read on change

Posted: Wed Nov 04, 2020 10:35 am
by ifuzzle
Hi!

I am currently testing nuBuilder and its functions. While testing, with a college, we figured out that the nuconfig.php file is not read on an update. How can I force nuBuilder to reload the configuration?

How to recreate:
On a LAMP-Server install nuBuilder and open the website. Then change the nuconfig.php to point to another (remote) database.
Problem:
It will still load the old (localhost) database.

For us, it did fix itself after a while of waiting and restarting the Webserver. This would be a big problem in a production environment where we might need to hot-swap to a standby database or in a testing environment where you want to change the database quite often.

Re: The config file is not read on change

Posted: Wed Nov 04, 2020 10:44 am
by kev1n
Hi,

Normally it is sufficient to restart the browser.

Also see here: https://forums.nubuilder.cloud/viewtopic. ... 97&p=22050

Re: The config file is not read on change

Posted: Wed Nov 04, 2020 11:26 am
by ifuzzle
Thank you for the quick and correct answer. I didn't think it might be a "client"-side problem.

Re: The config file is not read on change

Posted: Sat Nov 07, 2020 11:07 pm
by admin
.