[PLUGIN] CustomBuild 2.0

Thanks for the help and sorry for posting it here actually I'm new to this forum...
 
Plugin does not work with php 5.3

Seem this plugin does not work with php 5.3. I see "Network Error" after build PHP with php1_release=5.3. It works well with PHP >= 5.4
 
Plugin interface

its gonna be a noob question...
I have installed custombuild 2.0.0 (rev: 2165)and then the plugin.
Plugin is activated. I use centos 7.

However i dont have any idea how to reach to the plugin's interface. I looked every menu on the direct admin panel (as admin/user or reseller) but there's nothing.
I use enhanced theme on admin panel and evolution on user panel.

Hope anyone helps me :S

Thanks anyway
 
It should in any case be visible under the enhanced skin and then Admin Panel under Admin level -> Extra Features.

If you don't find it there, check /usr/local/diretadmin/plugins if it's indeed installed correctly.
 
Wow, I just now saw this plugin after years of using directadmin. Works great! It's good to see DA's EA equivalent.
 
After update to latest DA and CustomBuild 1.0.24 when i enter CustomBuild page i get lots on errors:

CustomBuild
Network Error

How could i solve this?
Thank you.

Installed DA 1.59 yesterday, and have exactly the same error. My PHP version after installation was 5.6, upgraded to 7.3.9. The issue still exists - custombuild works fine via CLI, but plugin (in DA GUI interface) always displays tons of errors - https://i.postimg.cc/bwSBqgkt/custombuild.png

Re-installed DA 3 times, the issue remains.

Code:
php -v
PHP 7.3.9 (cli) (built: Sep 24 2019 14:44:11) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies


./build version
2.0.0 (rev: 2180)
 
Please try:
Code:
su - diradmin -s /bin/bash
php /usr/local/directadmin/plugins/custombuild/admin/index.html

It must error.
 
Would it be possible to add extra features to custombuild?

Change SSL/TLS version (v1.0, v1.1, v1.2 etc)

I have Apache/nginx running, and even after changing the httpd settings it still provides TLS1.0 and TLS1.1
So a feature like this, similar to PHP versions, would be great and easy-to-use.
 
For some reason a:

Code:
# ./build update
# ./build update_versions

Suddenly enabled this plugin, never used or enabled it before on this server. Is that a CB bug or a feature? There was a small error at the end by the way:

Code:
Updating CustomBuild plugin
converted 'https://files.directadmin.com/services/custombuild/plugin/custombuild.tar.gz' (ANSI_X3.4-1968) -> 'https://files.directadmin.com/services/custombuild/plugin/custombuild.tar.gz' (UTF-8)
--2019-11-09 22:28:47--  [url]https://files.directadmin.com/services/custombuild/plugin/custombuild.tar.gz[/url]
Resolving files.directadmin.com (files.directadmin.com)... 69.162.69.58, 104.128.54.74, 185.42.221.168
Connecting to files.directadmin.com (files.directadmin.com)|69.162.69.58|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 325143 (318K) [application/x-gzip]
Saving to: 'custombuild_plugin.tar.gz'

custombuild_plugin.tar.gz                         100%[===============================================================================================================>] 317.52K   432KB/s   in 0.7s   

2019-11-09 22:28:48 (432 KB/s) - 'custombuild_plugin.tar.gz' saved [325143/325143]

/usr/bin/id: cb_plugin: no such user
CustomBuild plugin is now installed!
 
For some reason a:

Code:
# ./build update
# ./build update_versions

Suddenly enabled this plugin, never used or enabled it before on this server. Is that a CB bug or a feature? There was a small error at the end by the way:

Code:
Updating CustomBuild plugin
converted 'https://files.directadmin.com/services/custombuild/plugin/custombuild.tar.gz' (ANSI_X3.4-1968) -> 'https://files.directadmin.com/services/custombuild/plugin/custombuild.tar.gz' (UTF-8)
--2019-11-09 22:28:47--  [URL]https://files.directadmin.com/services/custombuild/plugin/custombuild.tar.gz[/URL]
Resolving files.directadmin.com (files.directadmin.com)... 69.162.69.58, 104.128.54.74, 185.42.221.168
Connecting to files.directadmin.com (files.directadmin.com)|69.162.69.58|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 325143 (318K) [application/x-gzip]
Saving to: 'custombuild_plugin.tar.gz'

custombuild_plugin.tar.gz                         100%[===============================================================================================================>] 317.52K   432KB/s   in 0.7s   

2019-11-09 22:28:48 (432 KB/s) - 'custombuild_plugin.tar.gz' saved [325143/325143]

/usr/bin/id: cb_plugin: no such user
CustomBuild plugin is now installed!

I think custombuild_plugin=yes was in the options.conf file? I've changed CB 2.0 rev. 2267 not to install the plugin on updates time if it wasn't installed.
 
Some errors after new install in centos8 and evolution combi

Don't know or it was because centos 8, new install, evolution, latest ms edge,

Started on centos8 with evolution in ms edge:

There after choosing the edit options i had to refresh page to see new settings.

After pushing update all it seems to hang and no log made only this
error
updates_count.txt
Warning: DateTime::setTimestamp() expects parameter 1 to be integer, string given in /usr/local/directadmin/plugins/custombuild/admin/tabs/log_files.php on line 28 2019-11-09 18:21:12
Warning: filesize(): stat failed for /usr/local/directadmin/plugins/custombuild/logs/..log in /usr/local/directadmin/plugins/custombuild/admin/tabs/log_files.php on line 29 0 B

Also these error in other log file:
Unable to get any data from http://www.custombuild.eu:193.46.84.152 : Unable to connect to 193.46.84.152

After changing to enhanced skin and some manual CLI ./build update sorry tried several.
No logs in this plugin only the one with error.
Then tried some more updates in this plugin those goes well ( enhanced skin and ms edge), only this one not ( is updating but stay asking update)
While new install.
EDIT update this bug/error stays also in enhanced skin
(Easy spamm fighter 0 update to 1.31 is available)
this stays even after updating that one

Install is on openstack instance with centos8 iso and the manul for lan install for da. then external ip is ok for license.

I did try with ms edge because of my strict settings in Firefox (Content-Security-Policy) here evolution almost blank screen,

Al without cert while fresh install so had to push the .. buttons , if this makes difference.

( The evolutin skin and Firefox strict on security policy things / headers is also with le certs https blank mostly. On other installations)

THIS error keeps coming again and again in log file directadmin errors.
2019:11:10-16:42:16: Unable to get any data from www.custombuild.eu:193.46.84.152 : Unable to connect to 193.46.84.152<br>
Unable to open a socket<br>


EDIT update with this workarround the unable to connect to are gone https://forum.directadmin.com/threa...info-old-links-not-working.59492/#post-304400
 
Last edited:
Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /usr/local/directadmin/plugins/custombuild/admin/elements/header.php on line 7
HOW to reslove? (Php 5.3.29 )
 
Some errors after new install in centos8 and evolution combi

Don't know or it was because centos 8, new install, evolution, latest ms edge,

Started on centos8 with evolution in ms edge:

There after choosing the edit options i had to refresh page to see new settings.

After pushing update all it seems to hang and no log made only this
error


Also these error in other log file:

After changing to enhanced skin and some manual CLI ./build update sorry tried several.
No logs in this plugin only the one with error.
Then tried some more updates in this plugin those goes well ( enhanced skin and ms edge), only this one not ( is updating but stay asking update)
While new install.
EDIT update this bug/error stays also in enhanced skin this stays even after updating that one

Install is on openstack instance with centos8 iso and the manul for lan install for da. then external ip is ok for license.

I did try with ms edge because of my strict settings in Firefox (Content-Security-Policy) here evolution almost blank screen,

Al without cert while fresh install so had to push the .. buttons , if this makes difference.

( The evolutin skin and Firefox strict on security policy things / headers is also with le certs https blank mostly. On other installations)

THIS error keeps coming again and again in log file directadmin errors.



EDIT update with this workarround the unable to connect to are gone https://forum.directadmin.com/threa...info-old-links-not-working.59492/#post-304400

What was the PHP version used as system (main) one?
 
Default with install is 7.2x
Then in PLUGIN i did choose version on 7.3x
Don't know which version was active at that moment.

I did a new installation then with the updates before i did the lets encrypt for hostname and on enhanced skin that went good with version 2276

So problem cause was maybe 2 also this https://forum.directadmin.com/threa...-worked-after-installation.59503/#post-304444

For the easy spam fighter i had to ./build exim again then solved.
;)
 
Last edited:
Hi There,

When can we expect to install php 7.4 via custombuild 2.0 for a debian 10 os ?
 
Last edited:
Hello,
since yesterday I get the notice "Exim 4.93 downgrade to 4.92.3 is available" in v2.0.0 (rev: 2320) on centos 7.
Is there a reason we should downgrade? Couldn't find any info.
 
Back
Top