Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

New install - blank web page

Questions related to installing, updating, setting up and configuring
Post Reply
Keith-i
Posts: 88
Joined: Wed Jan 18, 2023 3:03 pm
Has thanked: 1 time
Been thanked: 1 time

New install - blank web page

Unread post by Keith-i »

As a bit of background I successfully installed nuBuilder a few years ago on a Ubuntu server in my office. For redundancy I recently decided to build a spare server with a duplicate of all the files/software just in case my main server goes down. I have managed to install Apache, mysql etc and it all seems to be running fine. I can get the default Apache webpage when I connect to the spare server on a browser via the local network and I can see the empty database I created on mysql using mysql Workbench. All the settings such as in the nuconfig.php file are mirrored correctly. However, when I try to connect to the databse via a browser on a client pc I just get a blank web page. It looks like the nubuilder files have not been placed into the database. Would this assumption be correct? The guides all say that the files get copied accross automatically when you first log in but I'm not sure this is happening. Any thoughts please.
kev1n
nuBuilder Team
Posts: 4242
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 68 times
Been thanked: 422 times
Contact:

Re: New install - blank web page

Unread post by kev1n »

Hi,

You're correct, nubuilder4.sql file is supposed to be imported automatically the first time you log in. If this isn't happening, here are a few steps you can take to resolve the issue:

Manual Import: Use phpMyAdmin or another database tool like MySQL Workbench to manually import the nubuilder4.sql file into your database. This file is located in the nuBuilder directory.

Check PHP Logs: Inspect the PHP error log files to see if any errors are being reported during the process. This can help pinpoint the issue, such as a misconfiguration or a missing dependency.
Keith-i
Posts: 88
Joined: Wed Jan 18, 2023 3:03 pm
Has thanked: 1 time
Been thanked: 1 time

Re: New install - blank web page

Unread post by Keith-i »

Hi kev1n, thanks for the quick reply. I'll try a manual import of the nubuilder4.sql file and see how I get on. I will also check the PHP error logs.

Presumably, if I export a copy of my existing working database and copy that across to the new server, it would have all the necessary files in the backup. Would that achieve the same result?
Thanks
Keith
kev1n
nuBuilder Team
Posts: 4242
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 68 times
Been thanked: 422 times
Contact:

Re: New install - blank web page

Unread post by kev1n »

Yes, that would work too.
Post Reply