Skip to content

Troubleshooting / Forgetting the Installation Directory

The default installation path for DataFlux Func is /usr/local/dataflux-func.

In addition, starting from version 1.1.5 of DataFlux Func, after a successful installation or upgrade, the installation directory will be written to the fixed location file /etc/dataflux-func.

You can confirm the installation directory with the following command:

Bash
1
cat /etc/dataflux-func

An example return value is as follows:

Bash
1
INSTALLED_DIR=/usr/local/dataflux-func

After version 1.1.5, there is no need to provide the --install-dir parameter during upgrades; the script will automatically locate the installation directory based on the content in /etc/dataflux-func

After version 1.1.5, hosts that already have DataFlux Func installed 【in principle】are not allowed to be reinstalled into a different directory

For hosts running older versions of DataFlux Func, the aforementioned automatic handling will not occur, and you must manually specify the previous installation directory for the current upgrade

If you are reading this content, you can only download versions of DataFlux Func later than 1.1.5