February 24, 20251 yr Hello, after patching a bunch of "Apps" with the AI Centre, i now have the issue that i cannot install any new App/plugin, it always returns the error: plugin: run failed: 'upgradepkg --install-new' returned 127 Even if i try to install the "Unraid Patch" Tool, i just get this error: plugin: installing: unraid.patch.plg Executing hook script: pre_plugin_checks plugin: downloading: unraid.patch.plg ... done Executing hook script: pre_plugin_checks plugin: run failed: 'upgradepkg --install-new' returned 127 Executing hook script: post_plugin_checks Can anyone help me with his? Attached is my diagnostics file. Thanks in advance! tower-diagnostics-20250224-1810.zip
February 26, 20251 yr Found a solution that worked for me - seems I had one plugin that got stuck somewhere in the upgrade process - meaning some of the others were blocked from updating since there was one "still in progress". Solution: went to Apps>Action Center and Updated all. This completed whichever one was not finished, and after that round was able to go back and individually update all other pending plugins. On 2/24/2025 at 11:12 AM, neo404 said: Hello, after patching a bunch of "Apps" with the AI Centre, i now have the issue that i cannot install any new App/plugin, it always returns the error: plugin: run failed: 'upgradepkg --install-new' returned 127 Even if i try to install the "Unraid Patch" Tool, i just get this error: plugin: installing: unraid.patch.plg Executing hook script: pre_plugin_checks plugin: downloading: unraid.patch.plg ... done Executing hook script: pre_plugin_checks plugin: run failed: 'upgradepkg --install-new' returned 127 Executing hook script: post_plugin_checks Can anyone help me with his? Attached is my diagnostics file. Thanks in advance! tower-diagnostics-20250224-1810.zip 251.06 kB · 0 downloads On 2/25/2025 at 7:13 AM, twkd said: Getting the same...
February 27, 20251 yr Facing the same issue, but I cannot use @ndauphin583 's solution because the community applications plugin also won't update/install...
March 1, 20251 yr Posting this here aswell, I had the same issue, I upgraded straight to 7.0.1 without upgrading to 7.0 first. This is why the issue was happening for me. I downgraded, upgraded to 7.0 ,got a popup to apply a patch (Unraid Patch),applied it, then upgraded to 7.0.1. The issue was fixed then. edit: It could have just been the act of having it re-update unraid that fixed it, but either way this is what fixed it for me.I don't think the patch was necessary for this fix for me, but I am just saying exactly what I did. Edited March 1, 20251 yr by NoBigCat
March 2, 20251 yr and error of 127 from upgradepkg is very strange. Rebooting into safe mode and then attempting to install CA from scratch would tell the story.
March 2, 20251 yr I had this issue and have resolved it by going to the "Plugins" tab. There was a tab for errors. I deleted the apps shown in the errors tab, rebooted and the install went well with no errors. I
March 2, 20251 yr I also ran into this problem. I noticed that I didn't have a `/sbin/upgradepkg` any more but I did have `/sbin/upgradepkg-` ❯ ls -l /sbin/upgradepkg* .rwxr-xr-x 16k root 5 Dec 2024 /sbin/upgradepkg-* Rebooting did resolve it for me. If it's helpful, I had been updating things. I first installed the official patch installer and then I did update all plugins.
March 3, 20251 yr We haven't been able to reproduce as of yet, and seems to have only affected a small subset of users. A reboot should resolve this problem, and if it doesn't then please post your diagnostics following the reboot
March 5, 20251 yr Solution Same issue here. Don't want to reboot just yet, but fixed it by opening an terminal and copying /sbin/upgradepkg- to /sbin/upgradepkg which fixed the error for now.
March 5, 20251 yr Same issue here. On two out of my 3 unRAID servers. Those two are in different locations - one running 7.0.0 and one running 6.12.15. The common failed (127) update is unRAID Patch. I'll try rebooting and see what happens.
March 6, 20251 yr Been having the same issue here since I upgraded 6.11 -> 6.12.15 - specifically my Apps tab was asking me to reinstall the Community Applications plugin but attempts to do that failed with the error 127 message. I followed cordswires suggestion - renamed upgradepkg- to upgradepkg, then I could successfully reinstall Community Applications, no reboot required - Apps tab is working again now and things SEEM to be OK.
March 7, 20251 yr Author On 3/5/2025 at 1:45 PM, cordswires said: Same issue here. Don't want to reboot just yet, but fixed it by opening an terminal and copying /sbin/upgradepkg- to /sbin/upgradepkg which fixed the error for now. cp /sbin/upgradepkg- /sbin/upgradepkg on a ssh session, solved the problem for me, after that, all updates running without issues
March 14, 20251 yr On 3/7/2025 at 7:13 PM, neo404 said: cp /sbin/upgradepkg- /sbin/upgradepkg on a ssh session, solved the problem for me, after that, all updates running without issues I can confirm this fixed same issue for me when attempting to reinstall some plugins after upgrade from 6.x to 7.0.1
March 14, 20251 yr On 3/5/2025 at 7:45 AM, cordswires said: Same issue here. Don't want to reboot just yet, but fixed it by opening an terminal and copying /sbin/upgradepkg- to /sbin/upgradepkg which fixed the error for now. On 3/7/2025 at 2:13 PM, neo404 said: cp /sbin/upgradepkg- /sbin/upgradepkg on a ssh session, solved the problem for me, after that, all updates running without issues Can confirm this worked for me as well.
April 30, 20251 yr On 3/14/2025 at 7:52 AM, SimonRoth said: Can confirm this worked for me as well. cp /sbin/upgradepkg- /sbin/upgradepkg This also worked for me, I haven't tried it across reboots yet though it worked on 7.0.1. Thanks for the tip!
September 18, 2025Sep 18 I know it's kind of a late response but after going crazy trying to figure out why i couldn't update, i tried the cp /sbin/upgradepkg- /sbin/upgradepkg command and it worked, i'm able to update plugins now.Thank you!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.