dmacias72 / unRAID-NerdPack

GNU General Public License v2.0
74 stars 33 forks source link

[BUG] Fails to load in Unraid 6.11.0-RC1 #69

Open NickM-27 opened 2 years ago

NickM-27 commented 2 years ago

Updated to Unraid 6.11.0-RC1 and it never seems to load, gives this error in the logs:

root: Warning: preg_grep() expects parameter 2 to be array, string given in /usr/local/emhttp/plugins/NerdPack/scripts/packagemanager on line 79

alez007 commented 2 years ago

it's because no package folder has been added yet for unraid version 6.11. I needed this to work ASAP so I hacked into it by modifying /usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php and specifically adding version 6.10 on line 3

Screenshot 2022-07-30 at 21 16 18

it's a hack I know 🤷 but I'm sure this will get fixed soon

weirdcrap commented 2 years ago

it's because no package folder has been added yet for unraid version 6.11. I needed this to work ASAP so I hacked into it by modifying /usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php and specifically adding version 6.10 on line 3

Screenshot 2022-07-30 at 21 16 18

it's a hack I know shrug but I'm sure this will get fixed soon

Does this persist between reboots? I'd like to be on the RC as it supposedly addresses an issue I've been having but I also heavily rely on a few tools from NerdPack.

Looking forward to an official fix.

NickM-27 commented 2 years ago

I just moved the plugins from the NerdPack folder to /boot/extra and they have worked fine. I will use the above fix if I need to download any new packages

alez007 commented 2 years ago

it's because no package folder has been added yet for unraid version 6.11. I needed this to work ASAP so I hacked into it by modifying /usr/local/emhttp/plugins/NerdPack/include/NerdPackHelpers.php and specifically adding version 6.10 on line 3

Screenshot 2022-07-30 at 21 16 18

it's a hack I know shrug but I'm sure this will get fixed soon

Does this persist between reboots? I'd like to be on the RC as it supposedly addresses an issue I've been having but I also heavily rely on a few tools from NerdPack.

Looking forward to an official fix.

I haven't tried it but I doubt it persists between reboots. It's just a hack I'm using until a proper fix is in place.

weirdcrap commented 2 years ago

So the discussion on the forum is that dmacias is AFK and this will most likely be marked incompatible in CA with 6.11 stable. /boot/extra appears to be the way to go for installing slackware packages you want.

Unraid is currently on slackware 15 (this can be checked with cat /etc/slackware-version).

txwireless commented 2 years ago

Since it looks like this may be a longer term fix, I decided to make the update of the package file more automated in case it doesn't persist the reboot. Added the following to my go file.

DevPack and NerdPack Fix

alez007 commented 2 years ago

Since it looks like this may be a longer term fix, I decided to make the update of the package file more automated in case it doesn't persist the reboot. Added the following to my go file.

DevPack and NerdPack Fix

I've been less elegant than that:

cp /boot/config/plugins/NerdPack/packages/6.10/packages.json /boot/config/plugins/NerdPack/packages/6.11/packages.json
thorrrr commented 2 years ago

HI Guys I am getting a warning re this plugin The author (or moderators of Community Applications) of the plugin template (https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/plugin/NerdPack.plg) has specified that this plugin is incompatible with your version of Unraid (6.11.0). You should uninstall the plugin here

Do i need to remove it? I thought reading above it was type of fixed for now but now not sure!

thecode commented 2 years ago

HI Guys I am getting a warning re this plugin The author (or moderators of Community Applications) of the plugin template (https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/plugin/NerdPack.plg) has specified that this plugin is incompatible with your version of Unraid (6.11.0). You should uninstall the plugin here

Do i need to remove it? I thought reading above it was type of fixed for now but now not sure!

It is already disabled once you upgraded to 6.11, you should remove it. Keep watching this issue, if a new version released you can reinstall it

alez007 commented 2 years ago

yeah, the fixes here are more or less hacks, if you can afford waiting for a proper update, then better to do so

thorrrr commented 2 years ago

HI More than happy to wait your plugin has been a god send over the years well done for the work you put in.

thorrrr commented 1 year ago

yeah, the fixes here are more or less hacks, if you can afford waiting for a proper update, then better to do so

Have you released a new version yet?

alez007 commented 1 year ago

@thorrrr apparently the owner of this pack is MIA so a new plugin was launched for unraid: https://forums.unraid.net/topic/129200-plug-in-nerdtools/