Discussion about CustomBuild

I also think it might be an idea if it isnt already the case to have 2 update switches, one just to download new versions of dist files such as php and apache and another one that updates the actual build script so that way new build scripts are not forced on people running the update command.

That's an interesting concept ... Edge Release and Stable Release.

Might be tough to manage from DA's standpoint, but it'd definately keep things stable.
 
One question about Mysql it didn't install by default can I do that manually or there is a reason was not in build by default? Thanks

Yes, you can do that manually. It's only built with "./build all d" when it's set in options.conf file.
 
What's wrong with it at the moment? (except jailed ssh which is in beta)

<FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
AddHandler application/x-httpd-php .inc .php .php4 .phtml
AddHandler application/x-httpd-php-source .phps
</FilesMatch>
AddType text/html .php

This is what is wrong with it. I have to agree with HostPC. I am not paying $299 per license to be a guinnea pig. PLEASE STOP INCLUDING BETA CHUNKS YOU HAVEN'T EVEN TESTED ON LAB RATS.

BigWil
 
BigWil, I didn't include that code at all. It was John's idea, but what's wrong with it?
 
BigWil, I didn't include that code at all. It was John's idea, but what's wrong with it?

It's overriding .htaccess files that are using the last recommended string of:

AddHandler x-httpd-php5 .php .php5

After upgrading the machine all of the PHP5 scripts are failing!!!

FileMatch is taking precedence over the AddHandler in the files. Only another FileMatch will override that it seems.

BigWil
 
Code:
rm -rf /var/www/html/atmail/
rm -rf /var/www/html/atmail-1.01/
rm -rf /var/lib/mysql/da_atmail/
And remove atmail alias line from /etc/httpd/conf/extra/httpd-alias.conf or /etc/httpd/conf/httpd.conf.
 
I read almost all message in this theme. I need migrate to dovecot and I understand that I need install custombuild. I read that some users had problems after this. I'm afraid now install custombuild. I can't install Direct Admin on another server to testing because licence not allow for this. So what can I do to be safe ? How can I uninstall custombuild if something goes wrong ?
 
remikk, I can switch your server to CustomBuild for free :) Feel free to contact me if you want.
 
smtalk many thanks for that :) But I prefer do everything alone and I can't give access. I think that everything should be ok. Many things I did but I could test on another machine. I'm afraid because I can't test before I do on production server. License DirectAdmin not allow for that and I think it is a problem.
 
The crontab install option in the first post should be ./build cron rather than ./build crontab.

Other than that minor point, which confused me for an embarrassing amount of time, this script is a great help. I got my first DA server last weak and just ran my first update, for Apache, with no problem. Thank you.
 
The crontab install option in the first post should be ./build cron rather than ./build crontab.

Other than that minor point, which confused me for an embarrassing amount of time, this script is a great help. I got my first DA server last weak and just ran my first update, for Apache, with no problem. Thank you.

Thank you for the good words. It's fixed in the first post.
 
I'm afraid because I can't test before I do on production server. License DirectAdmin not allow for that and I think it is a problem.
What OS are you running? I often have testbed servers available for testing. If I don't have what you need when you need it feel free to contact DirectAdmin sales department. Perhaps they can help you with a temporary license.

Jeff
 
It's overriding .htaccess files that are using the last recommended string of:

AddHandler x-httpd-php5 .php .php5

After upgrading the machine all of the PHP5 scripts are failing!!!

FileMatch is taking precedence over the AddHandler in the files. Only another FileMatch will override that it seems.

BigWil
I've confirmed this. So if you've got a custom .htaccess file with an AddHandler to override what you've set in your options.conf, then you'd need to wrap a FilesMatch around it in your. htaccess, eg:
Code:
<FilesMatch "\.(inc|php|php3|php4|php5|php6|phtml|phps)$">
AddHandler x-httpd-php5 .php .php5
</FilesMatch>
For anyone who is curious, the reason for the FilesMatch is because files like file.php.txt would be executed as php when it really shouldn't have been. I found this to be somewhat important to address.

Threads:
http://www.directadmin.com/forum/showthread.php?t=26212&highlight=FilesMatch
http://www.directadmin.com/forum/showthread.php?t=17248

Also a note about build script releases, I'm currently looking into SVN to see what options we have to manange different release trees of custombuild. This would allow us to make changes, and release them once they've been around for a certain amount of time, as time is truely the only thing that can prove something really works.

John
 
I've got temp licence to test installation custombuild.
OS - Debian 4.0, I've installed DirectAdmin with customapache to simulate the same like on my main server and next I try to install custombuild.
During compiling I have error:
Code:
sl_engine_config.c && touch ssl_engine_config.lo
ssl_engine_config.c: In function 'ssl_cmd_SSLProxyCipherSuite':
ssl_engine_config.c:1270: error: 'SSLSrvConfigRec' has no member named 'proxY'
make[3]: *** [ssl_engine_config.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.9/modules'
make: *** [all-recursive] Error 1

What can I do now ?
Where is a problem ?
 
It looks like everything is ok. I run again build and then previous error didn't repeat. I don't understand why.
 
Back
Top