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.
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
The config file is not read on change
-
- nuBuilder Team
- Posts: 4566
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 529 times
- Contact:
Re: The config file is not read on change
Hi,
Normally it is sufficient to restart the browser.
Also see here: https://forums.nubuilder.cloud/viewtopic. ... 97&p=22050
Normally it is sufficient to restart the browser.
Also see here: https://forums.nubuilder.cloud/viewtopic. ... 97&p=22050
-
- Posts: 2
- Joined: Wed Nov 04, 2020 10:08 am
Re: The config file is not read on change
Thank you for the quick and correct answer. I didn't think it might be a "client"-side problem.