grep: /usr/local/directadmin/scripts/setup.txt: No such file or directory

kalyan

New member
Joined
Dec 20, 2022
Messages
1
I have a clean centos 7 with gcc and g++ installed.
following the installation guide of direct admin, I executed ./setup.sh <licensekey>
The setup didn't ask for any input and
The process gets stuck in after below steps

Code:
Checking quotas...
Running quotacheck
Done quotacheck
grep: /usr/local/directadmin/scripts/setup.txt: No such file or directory


What's needs to be done. Please advice
 
Hello,

If you purchased a license directly from DirectAdmin you'd better contact the official support and let them to check and install Directadmin for you. It might be the quickest option for you.

If you use a license from your server provider, you might ask them for a help.

If you still need a help from forums members, you might provide more details. Start from checking the log file:

- /var/log/directadmin/install.log

You might post final 50-100 lines from it here.

Be careful and DO NOT POST your login details, you might see them in the tail of the file, in case installation of directadmin succeeded.
 
Perhaps related to your issue, in the past I often used the interactive DA/Custombuild installation script but today I discovered that this does not ask for my input anymore, I now need to tell the script to use the stable branch of DirectAdmin for it to ask for my input.

If I don't change to the stable branch then it also gives the same error "grep: /usr/local/directadmin/scripts/setup.txt: No such file or directory" but instead of getting stuck it simply installs with the default config.

For example:
Code:
export DA_INTERACTIVE_CUSTOMBUILD=true
export DA_FOREGROUND_CUSTOMBUILD=true
export DA_HOSTNAME=$(hostname -f)
DA_CHANNEL=stable ./setup.sh LICENSE_KEY

Maybe that this (temporary) solution will also work for you, I prefer the stable branch anyhow.. :)
 
Back
Top