Debian 10

jet1972

Verified User
Joined
Jul 8, 2011
Messages
169
Debian 10 will be released in this week (6th of July, 2019). Time to create Debian 10 forum.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
Hello,


What if you try and install DirectAdmin with a license for Debian 9? Will it succeed?
 

jet1972

Verified User
Joined
Jul 8, 2011
Messages
169
"DirectAdmin will now be installed on: debian 10.0
Is this correct? (must match license) (y,n) : n

Please change the value in your license, or install the correct operating system"

There is still no Debian 10 in the supported OS list..

and if I choose Yes to the previous question:

ERROR 404: Not Found.

*** Unable to download files.sh
tried: http://files.directadmin.com/services/debian_10.0_64/files.sh
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
It rolls back to debian 9:

Code:
[root@server ~]# [B]grep buster setup.sh  -A 10
[/B]        if [ "$OS_VER" = "buster/sid" ]; then
                echo "This appears to be Debian version $OS_VER.";
                echo "This version is essentially Debian 10, which is not released yet, so the install might not work";
                echo "See this page for more information:";
                echo "    http://www.debian.org/releases/";
                echo "";
                sleep 10;
                #exit 1;
                OS_VER=9.0
                echo "... but continuing anyway.";
                sleep 1;
[root@server ~]#
Did you try the latest setup.sh?

You might choose debian 9 for the license.
 

jet1972

Verified User
Joined
Jul 8, 2011
Messages
169
It rolls back to debian 9:

Code:
[root@server ~]# [B]grep buster setup.sh  -A 10
[/B]        if [ "$OS_VER" = "buster/sid" ]; then
                echo "This appears to be Debian version $OS_VER.";
                echo "This version is essentially Debian 10, which is not released yet, so the install might not work";
                echo "See this page for more information:";
                echo "    http://www.debian.org/releases/";
                echo "";
                sleep 10;
                #exit 1;
                OS_VER=9.0
                echo "... but continuing anyway.";
                sleep 1;
[root@server ~]#
Did you try the latest setup.sh?

You might choose debian 9 for the license.

Yes. I downloaded the latest setup-file.

It seems there is a bug in the script:
if [ "$OS_VER" = "buster/sid" ]; then

If I change it to
if [ "$OS_VER" = "10.0" ]; then

then it works.

On Debian the Setup should parse file /etc/os-release to set the release name and OS correctly?

Now it parses /etc/debian_version which only contains the version number and not release name at all.
 
Last edited:

jet1972

Verified User
Joined
Jul 8, 2011
Messages
169
Executing database schema update.
ERROR: SQLSTATE[HY000] [2002] No such file or directoryError 500: Error connecting to database: SQLSTATE[HY000] [2002] No such file or direct ory
ensure_my_cnf: cannot find /usr/local/directadmin/conf/mysql.conf
chown: invalid user: 'diradmin:diradmin'
phpMyAdmin requires mysqld. Cannot find /usr/local/mysql/bin/mysql
--2019-07-12 14:59:49-- http://files18.directadmin.com/services/SpamBlocker/4.5.14/exim.conf-SpamBlockerTechnology-v4.5.14.txt
Resolving files18.directadmin.com (files18.directadmin.com)... 37.72.98.6
Connecting to files18.directadmin.com (files18.directadmin.com)|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32137 (31K) [text/plain]
Saving to: '/etc/exim.conf.cb20'

/etc/exim.conf.cb20 100%[================================================================>] 31.38K --.-KB/s in 0.08s

2019-07-12 14:59:49 (418 KB/s) - '/etc/exim.conf.cb20' saved [32137/32137]

--2019-07-12 14:59:49-- http://files18.directadmin.com/services/custombuild/system_filter.exim
Resolving files18.directadmin.com (files18.directadmin.com)... 37.72.98.6
Connecting to files18.directadmin.com (files18.directadmin.com)|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10489 (10K) [text/plain]
Saving to: '/etc/system_filter.exim'

/etc/system_filter.exim 100%[================================================================>] 10.24K --.-KB/s in 0.01s

2019-07-12 14:59:49 (699 KB/s) - '/etc/system_filter.exim' saved [10489/10489]

--2019-07-12 14:59:49-- http://files18.directadmin.com/services/SpamBlocker/4.5.14/exim.strings.conf
Resolving files18.directadmin.com (files18.directadmin.com)... 37.72.98.6
Connecting to files18.directadmin.com (files18.directadmin.com)|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2076 (2.0K) [text/plain]
Saving to: '/etc/exim.strings.conf.cb20'

/etc/exim.strings.conf.cb20 100%[================================================================>] 2.03K --.-KB/s in 0.002s

2019-07-12 14:59:49 (1.25 MB/s) - '/etc/exim.strings.conf.cb20' saved [2076/2076]

--2019-07-12 14:59:49-- http://files18.directadmin.com/services/SpamBlocker/4.5.14/exim.variables.conf.default
Resolving files18.directadmin.com (files18.directadmin.com)... 37.72.98.6
Connecting to files18.directadmin.com (files18.directadmin.com)|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 924 [text/plain]
Saving to: '/etc/exim.variables.conf.cb20'

/etc/exim.variables.conf.cb20 100%[================================================================>] 924 --.-KB/s in 0s

2019-07-12 14:59:50 (73.8 MB/s) - '/etc/exim.variables.conf.cb20' saved [924/924]

--2019-07-12 14:59:50-- http://files18.directadmin.com/services/exim.pl.24
Resolving files18.directadmin.com (files18.directadmin.com)... 37.72.98.6
Connecting to files18.directadmin.com (files18.directadmin.com)|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17716 (17K) [application/x-perl]
Saving to: '/etc/exim.pl.cb20'

/etc/exim.pl.cb20 100%[================================================================>] 17.30K --.-KB/s in 0.05s

2019-07-12 14:59:51 (350 KB/s) - '/etc/exim.pl.cb20' saved [17716/17716]

Restarting exim.
Downloading letsencrypt.sh...
--2019-07-12 14:59:51-- http://files18.directadmin.com/services/custombuild/all/letsencrypt/letsencrypt.sh.1.1.23
Resolving files18.directadmin.com (files18.directadmin.com)... 37.72.98.6
Connecting to files18.directadmin.com (files18.directadmin.com)|37.72.98.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30577 (30K) [application/x-troff-man]
Saving to: '/usr/local/directadmin/custombuild/letsencrypt.sh'

/usr/local/directadmin/custombuild/ 100%[================================================================>] 29.86K --.-KB/s in 0.08s

2019-07-12 14:59:51 (391 KB/s) - '/usr/local/directadmin/custombuild/letsencrypt.sh' saved [30577/30577]

chown: invalid user: 'diradmin:diradmin'
Let's encrypt client 1.1.23 has been installed.



*************************************
* *
* All parts have been installed *
* *
*************************************

Type: systemctl restart httpd.service
## REPORT_START
Welcome to DirectAdmin version 1.57.5!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.


Here is the information given:

Admin user: admin
Admin email: admin@srv.domain.com
Server IP: x.x.x.x
Server IP Netmask: 255.255.255.0
Server Hostname: srv.domain.com
Name Servers:
ns1.domain.com
ns2.domain.com
options.conf exists, not installing the httpd.conf. Relying on custombuild.
Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successful
Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf successful
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf successful
*** Unable to read directadmin.conf. Check permissions and make sure that it exists. Cannot find the diradmin user. Make sure the diradmin user exists in your system.<br>
This error also comes up when the wrong OS is selected in the license. These binaries were compiled for: Debian 9.0 64-bit<br>

## INSTALL_FAILED
 

AudiAddict

Verified User
Joined
Oct 10, 2008
Messages
62
Yeah.. we are going to have to wait for Directadmin to update the installer / test with Debian 10. I tried and couldn't get it to work either.
 
Top