What happens on 1/1/2022 with current FreeBSD Servers running DirectAdmin?

If you would upgrade DA to the latest available version for FreeBSD it would work with the new licensing system. If you are running very old DA instance you can perform upgrade manually with commands:


Code:
FILE="directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz"
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
Wow, thanx very much. All sorted now and I am steaming ahead. Mighty grateful
 
If you would upgrade DA to the latest available version for FreeBSD it would work with the new licensing system. If you are running very old DA instance you can perform upgrade manually with commands:


Code:
FILE="directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz"
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
Thanx very much for this, worked and I was got some of the servers back working. Mighty grateful and I am steaming ahead
 
If you would upgrade DA to the latest available version for FreeBSD it would work with the new licensing system. If you are running very old DA instance you can perform upgrade manually with commands:
By the latest version do you mean the latest of 11 and 12 or just 12?
 
Hi team ,
when untar on FreeBSD12 found error below ,

# tar zxf directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz
tar: Error opening archive: Unrecognized archive format

Please kindly advise : )
236B Mar 17 20:13 directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz
 
Last edited:
In the previous code snippet I have included the latest FreeBSD build ID. Since the time of last post there was a new FreeBSD release (fixing brute-force manager issue). Now latest build ID is a759259a6deeeb3977de8dc4387d275a9de8eaad.

To get the latest version please use (and detect latest build ID automatically):

Code:
COMMIT=$(dig +short -t txt "freebsd-version.directadmin.com" | sed 's|.*commit=\([0-9a-f]*\).*|\1|')
FILE="directadmin_${COMMIT}_freebsd_amd64.tar.gz"
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

Script snippet taken from docs.

But please keep in mind DA on FreeBSD is EOL and the best thing you would be to actually migrate to Linux based server. This is just a rescue boat to keep DA running and buy some time for proper migration.
 
In the previous code snippet I have included the latest FreeBSD build ID. Since the time of last post there was a new FreeBSD release (fixing brute-force manager issue). Now latest build ID is a759259a6deeeb3977de8dc4387d275a9de8eaad.

To get the latest version please use (and detect latest build ID automatically):

Code:
COMMIT=$(dig +short -t txt "freebsd-version.directadmin.com" | sed 's|.*commit=\([0-9a-f]*\).*|\1|')
FILE="directadmin_${COMMIT}_freebsd_amd64.tar.gz"
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

Script snippet taken from docs.

But please keep in mind DA on FreeBSD is EOL and the best thing you would be to actually migrate to Linux based server. This is just a rescue boat to keep DA running and buy some time for proper migration.
In case migrate from FreeBSD12 -> Debian 10
Do you have safe way or step of command for this issue ?
 
FreeBSD and Linux systems have a lot of changes and we have no automated migration path. The easiest way for migration would be:

* Make fresh Debian 10 install on a new server.
* Configure the system to be similar to existing FreeBSD server (features and services).
* Start migrating users one by one from one server to the other by creating and restoring user backup.

This would require keeping two DA servers for some time. And communicating the migration procedure with users.

There is always an option to use consulting services to help with the migration.
 
Could we install new DA and use same license id on new server (Debian10) during migrating period users one by one from old server to new server ?
 
You can certainly use the same license key to install DA onto the new server, but then DA on the old server would refuse to let you login because the key is used somewhere else.

The official method for migrations is to open a support ticket and request another license for a short time, as most people would want both servers operating at the same time. :)

Official method:
 
Last edited:
You can certainly use the same license key to install DA onto the new server, but then DA on the old server would refuse to let you login because the key is used somewhere else.

The official method for migrations is to open a support ticket and request another license for a short time, as most people would want both servers operating at the same time. :)

Official method:
Thank you for your good recommendation : )
 
If you would upgrade DA to the latest available version for FreeBSD it would work with the new licensing system. If you are running very old DA instance you can perform upgrade manually with commands:


Code:
FILE="directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz"
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
Hello and thank you very much. I have followed the instructions and have upgraded 5 of the FreeBSD servers. I am however getting an error on the sixth server, after the file is downloaded I have been unable to use tar to uncompress it.
I get the error
tar: Error opening archive: Unrecognized archive format
This is the name of the file downloaded
directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz
I used the file command to check what type of file it was and got this
directadmin_a3e4091814582ab3c0fecea62ff5c1f956e023da_freebsd_amd64.tar.gz: XML 1.0 document, ASCII text, with no line terminators

Please help ....Thanx
 
Build a3e4091814582ab3c0fecea62ff5c1f956e023da is no longer latest version available for FreeBSD. Please refer to my previous message where I updated the upgrade commands to add latest build detection code.

Latest build for FreeBSD can be checked with:

Code:
dig +short -t txt freebsd-version.directadmin.com
 
Build a3e4091814582ab3c0fecea62ff5c1f956e023da is no longer latest version available for FreeBSD. Please refer to my previous message where I updated the upgrade commands to add latest build detection code.

Latest build for FreeBSD can be checked with:

Code:
dig +short -t txt freebsd-version.directadmin.com
Hello my bad. Indeed I did not see your revised post. All sorted and migrations almost complete. For the record we are now using AlmaLinux as we have expertise also on that distro. Many thanx....
 
Build a3e4091814582ab3c0fecea62ff5c1f956e023da is no longer latest version available for FreeBSD. Please refer to my previous message where I updated the upgrade commands to add latest build detection code.

Latest build for FreeBSD can be checked with:

Code:
dig +short -t txt freebsd-version.directadmin.com

Hi DA team!

Have you stopped building for FreeBSD at all? I'm interested in a fresh binaries only (w/o scripts skins etc), I'll do the rest by myself.
 
Hi @roman_m, yes DA no longer supports running on FreeBSD, so there are no new releases. Given some effort it technically possible to make one last build of DA 1.642 for FreeBSD, but I know for sure DA 1.643 will not be compatible. Not sure it is worth prolonging this slow and painful FreeBSD depreciation phase with additional release ?.
 
DA no longer supports running on FreeBSD
Yes I know.

, so there are no new releases. Given some effort it technically possible to make one last build of DA 1.642 for FreeBSD, but I know for sure DA 1.643 will not be compatible. Not sure it is worth prolonging this slow and painful FreeBSD depreciation phase with additional release ?.
I agree to not to receive new features on FreeBSD DA, but I need latest bug fixes, e.g. https://docs.directadmin.com/change...of-letsencrypt-creation-time-prevents-renewal

I'ts impossible to me to migrate all the existing infrastructure here in Ukraine to linux for now; so I asking to build latest possible bugfix release, please.
 
I understand that you need updates if you want to continue running DA on FreeBSD systems. Dropping support means we release no updates at all. So running DA on FreeBSD becomes unfeasible.

Backporting the fixes is exactly the efforts we want to avoid because FreeBSD user-base is minuscule.

Would you be willing to test out DA 1.642 build for FreeBSD? Build id 4a38a5301c046acba29dd2dfb9fcb1c9c9ce903c.
 
  • Like
Reactions: mmx
Back
Top