Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

plugin: run failed: 'upgradepkg --install-new' returned 127

Featured Replies

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

Solved by cordswires

Getting the same...

Recommend using the existing CA support thread:

 

 

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...

 

Facing the same issue, but I cannot use @ndauphin583 's solution because the community applications plugin also won't update/install...

Same problem here, since few days :/

 

 

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 by NoBigCat

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.

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

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.

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

  • 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.

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.

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.

  • 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

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 

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. 

  • 1 month later...
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!

  • 1 month later...

Worked for me as well, thanks.

  • 3 months later...

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.