In ConnectAll Installer fail to run while performing upgrade from Non-root Linux user and throw "No such file or directory" error message when user don't have permissions to its home directory.
book
Article ID: 411503
calendar_today
Updated On:
Products
ConnectAll On-Prem
Issue/Introduction
Steps to Reproduce:
Login to application server with Non-Root user from which fresh installation was done.
Make sure Non-Root user should not have write permissions to its home directory.
Run the next version installer to upgrade the application server.
Expected Results:
Installer should run and finish the upgrade.
Actual Results:
Installer fails and throw below error message "No such file or directory" and finish the installation.
Environment
3.9.0x
Resolution
Stop ConnectAll services manually.
While running an upgrade ConnectAll installer default look for user home directory, in order to overwrite this default behaviour export below variable to ConnectAll directory where user that runs the installation has permission eg. /path/to/folder
$exportXDG_DATA_HOME=/path/to/folder
In the normal case of a successful installation there are some Metadata files in this directory that basically only contain the location of the original install. By default that would be /path/to/connectall/install/directory. Since user don't have permissions at the time of the original clean installation, these files are missing and need to be created manually via e.g.: