I have been trying to upgrade a gateway running on linux over EAM but I have been running into some issues that at first were not obvious. To begin, the updates zip file would successfully send and I would begin the upgrade from my main gateway. The gateway would receive the upgrade request, but the upgrade status would remain "Upgrade in progress" forever as follows:
At the very least I feel that the IOException Error should somehow be communicated back to the originating gateway to let you know that the upgrade failed.
After doing a little more digging I found where the zip file was being saved in the ignition directory and also found the log file for the upgrade process. It seems that I am getting an IOException Error when backing up the user-lib folder during the upgrade. Specifically getting a Permission Denied error when trying to read the README in jdbc-bundled. Here is a screen grab of the logs:
I tried recursively changing the permissions for the Ignition directory with the following command:
chmod -R 751 /Ignition-Directory
I then tried the remote upgrade again without any changes in the error that I was getting. I am wondering if I am doing something wrong in setting the permissions for the directory or if there is something I need to change in the gateway to allow it to effectively make this upgrade.
Anyone have any insight?