Solved, https://forum.directadmin.com/threads/new-install-no-admin-password.65452/post-341607Did something change in 1.63.4? New installation just now, previously the admin password is directly shown at installation, but now:
Solved, https://forum.directadmin.com/threads/new-install-no-admin-password.65452/post-341607Did something change in 1.63.4? New installation just now, previously the admin password is directly shown at installation, but now:
As long as it’s not 32 bit CentOS 6. It should work.Is there any simple way that I can use to hold life in the DA panel on this server until september?
/usr/local/directadmin/scripts/getDA.sh current
script. More details at:getDA.sh
should still work.@Rune, just upgrade to the latest DA using/usr/local/directadmin/scripts/getDA.sh current
script. More details at:
CentOS is EOL, but upgrading withgetDA.sh
should still work.
I tried that, even if it say UID and not CID, but it did not work..uid=xxx
lid=xxxxx
--2022-03-28 10:21:04-- https://www.directadmin.com/cgi-bin/daupdate?lid=xxx&uid=current
Resolving www.directadmin.com... 167.172.23.237
Connecting to www.directadmin.com|167.172.23.237|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 400 Bad request
Server: nginx
Date: Mon, 28 Mar 2022 08:21:12 GMT
Content-Type: text/html
Content-Length: 46
Connection: keep-alive
x-return-code: error
x-error-code: 20
Vary: User-Agent
2022-03-28 10:21:05 ERROR 400: Bad request.
Error downloading the update.tar.gz file
getDA.sh
script. What is the current DA version /usr/local/directadmin/directadmin v
?COMMIT=$(dig +short -t txt "rhel6-version.directadmin.com" | sed 's|.*commit=\([0-9a-f]*\).*|\1|') # can be commit hash literal value if you want specific build to be installed
FILE="directadmin_${COMMIT}_rhel6_amd64.tar.gz" # creates download package name from the variables above
curl --location --progress-bar --connect-timeout 10 "https://download.directadmin.com/${FILE}" --output "/root/${FILE}" # downloads given directadmin build into /root dir
tar xzf "/root/${FILE}" -C /usr/local/directadmin # extracts downloaded package to /usr/local/directadmin
/usr/local/directadmin/directadmin permissions || true # runs post-upgrade permission fix step
/usr/local/directadmin/scripts/update.sh # runs other post upgrade fixes
service directadmin restart # restarts directadmin
#
symbol, these are comments. Pasting command with comments will work as well but they make lines much longer and clunkier to deal with. Here is a version without comments:COMMIT=$(dig +short -t txt "rhel6-version.directadmin.com" | sed 's|.*commit=\([0-9a-f]*\).*|\1|')
FILE="directadmin_${COMMIT}_rhel6_amd64.tar.gz"
curl --location --progress-bar --connect-timeout 10 "https://download.directadmin.com/${FILE}" --output "/root/${FILE}"
tar xzf "/root/${FILE}" -C /usr/local/directadmin
/usr/local/directadmin/directadmin permissions || true
/usr/local/directadmin/scripts/update.sh
service directadmin restart
Yes one by one.
You can skip all the text after#
symbol, these are comments. Pasting command with comments will work as well but they make lines much longer and clunkier to deal with. Here is a version without comments: