Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Upgrading

Vilhelm Prytz edited this page Apr 20, 2018 · 8 revisions

Before you start, make sure the slaves are turned off.

nafsdm versions 1.2 and onwards have automatic upgrading.

In versions after 1.2.5, you can upgrade nafsdm-slave using nafscli. Run the upgrade command. nafscli upgrade

For 1.1-stable and 1.0.1-stable, you can follow this guide to manually upgrade your system.

Upgrading nafsdm 1.0.1-stable to latest version

1.0.1-stable does have config changes, but the script automatically fixes them (currently, but might not in the future).

Master upgrade

To get started, download the upgrade script.

wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeMaster.sh

Start the script.

bash upgradeMaster.sh

The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted. Currently, this means that you will have to add the "dnssec.yes" or "dnssec.no" flag on all domains in your data file.

rm -rf upgradeMaster.sh

Slave upgrade

To get started, download the upgrade script.

wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeSlave.sh

Start the script with the operating system you are using as an agrument (like the example below).

bash upgradeSlave.sh debian (debian can be replaced by "ubuntu" or "centos")

The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted.

rm -rf upgradeSlave.sh

Upgrading nafsdm 1.1-stable to latest version

1.1 currently has no big differences, so script will do everything for ya. :).

Master upgrade

To get started, download the upgrade script.

wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeMaster.sh

Start the script.

bash upgradeMaster.sh

The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted.

rm -rf upgradeMaster.sh

Slave upgrade

To get started, download the upgrade script.

wget https://raw.githubusercontent.com/MrKaKisen/nafsdm/master/scripts/upgradeSlave.sh

Start the script with the operating system you are using as an agrument (like the example below).

bash upgradeSlave.sh debian (debian can be replaced by "ubuntu" or "centos")

The upgrader will give you info on what to do after the upgrade is completed. This script can now be deleted.

rm -rf upgradeSlave.sh