Hello All,
I recently migrated several Nubuilder instances.
The previous version of the database was on Mariadb, the new one is on Google cloud sql
Version info of the new version:
db version: V.4.5-2024.06.09.00
file version: V.4.5-2024.06.08.10
mysql version: 8.0
php verion: 8.1
os : Debian12
I now have one Nubuilder that only works when I copy over the old /var/www/html/nubuilder files.
On the other ones a was able to directly use the newest version files.
When I now try to update the Nubuilder by replacing all the files except libs and nuconfig.php with newer version files I see this EM in /var/log/apache2/error.log:
[Thu Jan 09 11:17:58.415553 2025] [php:error] [pid 1424:tid 1424] [client *************:50438] PHP Fatal error: Uncaught Error: Call to undefined function nuStringStartsWith() in /var/www/html/klachten/core/nudatabase.php:545\nStack trace:\n#0 /var/www/html/klachten/core/nudatabase.php(567): nuDebugCreateOutput()\n#1 /var/www/html/klachten/core/nudatabase.php(161): nuDebug()\n#2 /var/www/html/klachten/index.php(45): nuRunQuery()\n#3 /var/www/html/klachten/index.php(137): nuHeader()\n#4 {main}\n thrown in /var/www/html/klachten/core/nudatabase.php on line 545
I can make little sense of that EM and don’t know how to create additional logs.
Any advise would be appreciated.
Greetings, j.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
not able to update recently updated Nubuilder instance
-
- Posts: 16
- Joined: Fri Dec 20, 2024 11:40 am
- Been thanked: 1 time
-
- nuBuilder Team
- Posts: 4242
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 68 times
- Been thanked: 422 times
- Contact:
Re: not able to update recently updated Nubuilder instance
Hi,
After replacing or updating the core files, you must log in again (it's best to restart the browser). After that, the update process must be executed.
Can you log in after replacing the files? And which version are you updating from?
After replacing or updating the core files, you must log in again (it's best to restart the browser). After that, the update process must be executed.
Can you log in after replacing the files? And which version are you updating from?
-
- Posts: 16
- Joined: Fri Dec 20, 2024 11:40 am
- Been thanked: 1 time
Re: not able to update recently updated Nubuilder instance
Hello,
after replacing the files, restarting Apache and restarting browser I only get a blanc page
and the above mentioned EM.
Previous version is:
file version: V.4.5-2021.10.17.00
db version: V.4.5-2021.10.15.00
greetings, j.
after replacing the files, restarting Apache and restarting browser I only get a blanc page
and the above mentioned EM.
Previous version is:
file version: V.4.5-2021.10.17.00
db version: V.4.5-2021.10.15.00
greetings, j.
-
- nuBuilder Team
- Posts: 4242
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 68 times
- Been thanked: 422 times
- Contact:
Re: not able to update recently updated Nubuilder instance
Are there any other error messages in the log file?
-
- Posts: 16
- Joined: Fri Dec 20, 2024 11:40 am
- Been thanked: 1 time
Re: not able to update recently updated Nubuilder instance
Hello,
not in /var/log/apache2/error.log
I don't know what other logs files to check.
Greetings, j.
not in /var/log/apache2/error.log
I don't know what other logs files to check.
Greetings, j.
-
- Posts: 16
- Joined: Fri Dec 20, 2024 11:40 am
- Been thanked: 1 time
Re: not able to update recently updated Nubuilder instance
Hello,
this is solved. We created a database from scratch and copied things over.
However we now have the same issue as described here:
viewtopic.php?p=30406#p30406
So this one is solved and I will update the other post.
Greetings, j.
this is solved. We created a database from scratch and copied things over.
However we now have the same issue as described here:
viewtopic.php?p=30406#p30406
So this one is solved and I will update the other post.
Greetings, j.
-
- nuBuilder Team
- Posts: 4242
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 68 times
- Been thanked: 422 times
- Contact:
Re: not able to update recently updated Nubuilder instance
An update can fail for various reasons, though in my experience, this is quite rare. If it does happen, there should be an error message trace available—either in the PHP log or the nuBuilder Debug Results—providing details on the cause of the failure. Based on my experience, one common reason for failure is modifications to the nuBuilder core tables (zzzzsys_...).