sday
Verified User
I'm attempting to install DA in Debian Etch and believe I have found a number of bugs. Note that I am installing clean with the custombuild option, not installing with customapache and then updating. Not that that works either.
The first error is from the line "chown -f root:ftp /etc/proftpd.passwd" in scripts/proftpd.sh. Debian base install does not have an ftp group. The script also attempts to install proftpd-1.3.1.deb without first downloading it. These errors also occur when trying to install with customapache. Where in the scripts should proftpd-1.3.1.deb be downloaded?
When running the "make install" from custombuild/build::doProftpd() it attempts the following line, that fails because debian also has no ftp user in the base install.
/usr/bin/install -c -s -o ftp -g ftp -m 0755 proftpd /usr/sbin/proftpd
Both of these errors can be fixed by adding the ftp user and group before running the scripts.
After install DA complains that proftpd is not running and it fails to start it. This turned out to be because there is no /etc/init.d/proftpd script installed. Where does this come from on other platforms?
Another issue is the wget problem that everyone seems to have. This of properly solved by installing ca-certificates beforehand, as debians wget does support https but it needs these certificates to perform verification.
Yet another is the scripts trying to install gd. In debian gd is known as libgd1-xpm or libgd2-xpm. Solve by install libgd2-xpm before running the scripts:
I'll leave it at this for now. Any help is appreciated, and I'm happy to submit patches for problems I can fix if they will be accepted.
Cheers
The first error is from the line "chown -f root:ftp /etc/proftpd.passwd" in scripts/proftpd.sh. Debian base install does not have an ftp group. The script also attempts to install proftpd-1.3.1.deb without first downloading it. These errors also occur when trying to install with customapache. Where in the scripts should proftpd-1.3.1.deb be downloaded?
When running the "make install" from custombuild/build::doProftpd() it attempts the following line, that fails because debian also has no ftp user in the base install.
/usr/bin/install -c -s -o ftp -g ftp -m 0755 proftpd /usr/sbin/proftpd
Both of these errors can be fixed by adding the ftp user and group before running the scripts.
Code:
adduser ftp --system --group --home /var/ftp
After install DA complains that proftpd is not running and it fails to start it. This turned out to be because there is no /etc/init.d/proftpd script installed. Where does this come from on other platforms?
Another issue is the wget problem that everyone seems to have. This of properly solved by installing ca-certificates beforehand, as debians wget does support https but it needs these certificates to perform verification.
Code:
apt-get install ca-certificates
Yet another is the scripts trying to install gd. In debian gd is known as libgd1-xpm or libgd2-xpm. Solve by install libgd2-xpm before running the scripts:
Code:
apt-get install libgd2-xpm
I'll leave it at this for now. Any help is appreciated, and I'm happy to submit patches for problems I can fix if they will be accepted.
Cheers