CB Script set to download twice?

nmb

Verified User
Joined
Sep 13, 2008
Messages
223
I just ran ./build update to download update software like PHP 5.3.20, PHP 5.4.10 and FreeType.

Then, when I ran ./build update_versions to actually update them, CB started to download those files again before compile. I also checked while updatescript is updating PHP 5.3 and found that the PHP 5.4 file that should be there (And will update after the script update PHP 5.3) after download is gone. That's why Custombuild downloaded it again.
 
Got similar situation again with dovecot update today. Below is a copy of my screen :

File already exists: exim_freebsd
File already exists: exim_debian
Downloading dovecot-2.1.13.tar.gz...
--2013-01-08 08:58:51-- http://files1.directadmin.com/services/custombuild/dovecot-2.1.13.tar.gz
Resolving files1.directadmin.com... 216.144.254.90
Connecting to files1.directadmin.com|216.144.254.90|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3843407 (3.7M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/dovecot-2.1.13.tar.gz'

100%[======================================>] 3,843,407 42.2K/s in 1m 45s

2013-01-08 09:00:39 (35.9 KB/s) - `/usr/local/directadmin/custombuild/dovecot-2.1.13.tar.gz' saved [3843407/3843407]

MD5 Checksum on dovecot-2.1.13.tar.gz passed.
File already exists: dovecot.boot
File already exists: dovecot.boot.freebsd
File already exists: dovecot.boot.debian
File already exists: dovecot.conf
File already exists: exim.conf.dovecot.patch
MD5 Checksum on exim.conf.dovecot.patch passed.
File already exists: autoconf-2.68.tar.gz
MD5 Checksum on autoconf-2.68.tar.gz passed.
File already exists: automake-1.11.1.tar.gz
MD5 Checksum on automake-1.11.1.tar.gz passed.
File already exists: m4-1.4.16.tar.gz
MD5 Checksum on m4-1.4.16.tar.gz passed.
File already exists: libtool-2.4.tar.gz
MD5 Checksum on libtool-2.4.tar.gz passed.
File already exists: ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
[root@server custombuild]# ./build update_versions
Updating Dovecot
Downloading dovecot-2.1.13.tar.gz...
--2013-01-08 09:00:47-- http://files1.directadmin.com/services/custombuild/dovecot-2.1.13.tar.gz
Resolving files1.directadmin.com... 216.144.254.90
Connecting to files1.directadmin.com|216.144.254.90|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3843407 (3.7M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/dovecot-2.1.13.tar.gz'

23% [========> ] 891,722 58.8K/s eta 65s
 
Hello,

Which custombuild version is this? 1.1, 1.2 or 2.0?
Code:
grep custombuild= options.conf
My guess is that a directory is changed, but not changed back before the dovecot file check...

John
 
Try to update PHP today and still, the script downloads PHP again when ran ./build update_versions after it was already download by ./build update

Updating PHP 5.3
Downloading php-5.3.21.tar.gz...
--2013-01-19 00:21:25-- http://files1.directadmin.com/services/custombuild/php-5.3.21.tar.gz
Resolving files1.directadmin.com... 216.144.254.90
Connecting to files1.directadmin.com|216.144.254.90|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14901156 (14M) [application/x-gzip]
Saving to: `/usr/local/directadmin/custombuild/php-5.3.21.tar.gz'

42% [===============> ] 6,276,201 38.2K/s eta 3m 30s
 
Thank you for the report, fixed in CB 2.0 development version (not yet uploaded to DA servers). A temporary fix is:
Code:
cd /usr/local/directadmin/custombuild
./build set clean_old_tarballs no
 
Back
Top