Unix/Linux MID Server autoupgrade fails with error "/bin/sh: bin/glide-dist-upgrade.sh: Permission denied"Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Overview The MID Server periodically checks if it is running the same version as the instance. The MID server automatically downloads and install updates in order to be in the same version as the instance. The updates are downloaded to: <mid_server_folder>/agent/package/incoming/ The upgrades are then extracted to: /tmp/<generated_random_number> Once the files are downloaded and extracted the upgrage begins by running "glide-dist-upgrade.sh" Error The MID Server autoupgrade fails with error "glide-dist-upgrade.sh: Permission denied", full error as follows: AutoUpgrade.3600 Stopping MID server. Bootstrapping upgrade. Gobbling stderr: /bin/sh -c bin/glide-dist-upgrade.sh start Gobbled: /bin/sh: bin/glide-dist-upgrade.sh: Permission denied AutoUpgrade.3600 Added marker `/tmp/1528126003155-0` to upgrade marker file. AutoUpgrade.3600 SEVERE *** ERROR *** Upgrade failed. Troubleshooting Confirm the file has execute permissions. Navigate to the "/tmp/<generated_random_number>/upgrade-wrapper/bin/" directoryRun "ll" command to list files and permissions Confirm the "/tmp" folder is not mounted as "noexec". When mounted with "noexe" option, it will not be possible to run ".sh" files from tmp even if the permissions are correct. Run "mount" command to view mounted filesystems and mount point configurations Solution Warning: Contact the linux/unix admin of the system to perform the following. Example commands may be provided, however may differ from version to version Give execute permission to the "glide-dist-upgrade.sh" script file, if not already givenRe-mount the /tmp folder without the "noexec" option. For example: sudo mount -o remount,exec /tmp