Today I had problems with phpmyadmin been wiped from my server because of custombuild cron webapps update error.
In options.conf I had:
Unfortunatelly today server files6.directadmin.com was down which caused problems with phpmyadmin update:
In my opinion when there is problem with md5 hash custombuild should stop automatic webapp update and leave it to manual update. Install continuing with this possibly corrupted file. (it may also be fine) is not safe!
Custombuild removed old phpmyadmin and tried to install corrupted one with no success leaving me with no phpmyadmin at all.
This should be fixed.
In options.conf I had:
downloadserver=files6.directadmin.com
cron=yes
webapps_updates=yes
Unfortunatelly today server files6.directadmin.com was down which caused problems with phpmyadmin update:
/etc/cron.daily/custombuild:
[1mUpdating phpMyAdmin. (B [m
[1m*** MD5 Checksum for /usr/local/directadmin/custombuild/phpMyAdmin-3.5.1-all-languages.tar.gz Failed. Redownloading...*** (B [m
--2012-05-07 04:02:38-- http://files6.directadmin.com/services/all/phpMyAdmin/phpMyAdmin-3.5.1-all-languages.tar.gz
Resolving files6.directadmin.com... 62.148.181.110, 2001:16e8:1:4:62:148:181:110 Connecting to files6.directadmin.com|62.148.181.110|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2012-05-07 04:02:38 ERROR 500: Internal Server Error.
[1m*** MD5 Checksum for /usr/local/directadmin/custombuild/phpMyAdmin-3.5.1-all-languages.tar.gz failed *again*.*** (B [m The md5 checksum value may be incorrect, or a wrong file is being downloaded.
Install continuing with this possibly corrupted file. (it may also be fine)
gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
cp: cannot stat `/var/www/html/phpMyAdmin-3.5.1-all-languages/config.sample.inc.php': No such file or directory Can't open /var/www/html/phpMyAdmin-3.5.1-all-languages/config.inc.php: No such file or directory.
Can't open /var/www/html/phpMyAdmin-3.5.1-all-languages/config.inc.php: No such file or directory.
chmod: cannot access `/var/www/html/phpMyAdmin-3.5.1-all-languages/scripts': No such file or directory
chmod: cannot access `/var/www/html/phpMyAdmin-3.5.1-all-languages/setup': No such file or directory phpMyAdmin 3.5.1-all-languages installation is done.
In my opinion when there is problem with md5 hash custombuild should stop automatic webapp update and leave it to manual update. Install continuing with this possibly corrupted file. (it may also be fine) is not safe!
Custombuild removed old phpmyadmin and tried to install corrupted one with no success leaving me with no phpmyadmin at all.
This should be fixed.