unRAID 6 NerdPack - CLI tools (iftop, iotop, screen, kbd, etc.)


jonp

Recommended Posts

Ok, have been using these for years without issue until recently. Possibly relating to a UnRaid OS update (went from v6.6.6 to v6.9.2), but am not sure.

 

I mainly use the unrar tool and had a nice VBS script that would do various things, including unrar files for me.

Now it comes up with a "not found" type error when running the commend.

 

If i log into my server as root i can't find the unrar program.

 

Where should it be? looked in the /usr/bin location

 

I've tried reinstalling the NerdPack and that hasn't helped.

 

*Edit, also i just noticed the config\plugins\NerdPack\packages\6.9 folder is empty. Is that right?

Edited by pantner
Link to comment
On 12/4/2021 at 1:09 PM, KnifeFed said:

 

Doesn't it come default with Unraid? Otherwise I don't know why I have it:

 

$ which jq
/usr/bin/jq

$ jq --version
jq-1.6

 

Hm, i couldnt find jq before, added a custom script to install it and afterwards i was able to use it

Link to comment

I might be a totally noob for this stuff, but I got Nerdpack installed, and still when I type "unrar" in terminal I get "bash: unrar: command not found".

 

What can be wrong? Unraid 6.9.2

 

EDIT: Well, not that noob. 😃 I removed the plugin, then re added it, and installed unrar.

 

/Söder

Edited by soder
did some research
Link to comment
  • 2 weeks later...
14 hours ago, syphant said:

Happy new year, all!
I've got bashtop installed via Nerd Pack, could someone be so kind as to point me to where its configuration file is located?

Just trying to change the update interval.

Thanks in advance!

Happy new year, buddy. The config is in /root/.config/bashtop

  • Thanks 1
Link to comment
On 10/20/2021 at 5:03 PM, Phoenix26 said:

Anyone else getting an error when trying to use iotop?

 

iotop
Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Tried re-installed it but made no difference.

Unraid V6.9.2

Same for me.

Looking at the github repo, it looks like the plugin (NerdTools) may have been abandoned, which is a shame.

Link to comment
22 hours ago, boomam said:

As a quick & dirty fix: 

cd /mnt/user/XXXX (where XXXX is a share of yours)

wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz

upgradepkg --install-new ncurses-5.9-x86_64-4.txz

 

 

Following this, iotop works again.

 

I confirm that this also works on my system. 6.9.2

Thank you booman!

 

This effectively downgraded my ncurses package from 6.2 to 5.9.

+==============================================================================
| Upgrading ncurses-6.2_20201024-x86_64-1 package using ./ncurses-5.9-x86_64-4.txz
+==============================================================================

Hopefully nothing else breaks...

Link to comment
On 1/15/2020 at 11:59 AM, Ziggurat said:

Can I request ranger to be added as a package?
https://github.com/ranger/ranger/

 

I see many requests for a filebrowser on unraid. This would be one. Just open the terminal and type ranger and you got a terminal :D

 

I was looking for this and saw it WAS in NerdPack :)

image.thumb.png.fd10c94ff89a1161582407e3850338a0.png

 

However, when I try and run it from the cli, it errors :(

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/usr/lib64/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
Traceback (most recent call last):
  File "/usr/bin/ranger", line 36, in <module>
    sys.exit(ranger.main())  # pylint: disable=no-member
  File "/usr/lib64/python2.7/site-packages/ranger/core/main.py", line 32, in main
    from ranger.container.settings import Settings
  File "/usr/lib64/python2.7/site-packages/ranger/container/settings.py", line 13, in <module>
    from ranger.gui.colorscheme import _colorscheme_name_to_class
  File "/usr/lib64/python2.7/site-packages/ranger/gui/colorscheme.py", line 33, in <module>
    from ranger.gui.color import get_color
  File "/usr/lib64/python2.7/site-packages/ranger/gui/color.py", line 74, in <module>
    curses.setupterm()
_curses.error: setupterm: could not find terminal

 

I suspect this may be to do with the ncurses version which I have see giving issues with iotop as well

 

Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Whilst downgrading ncurses to say ncurses-5.9-x86_64-4.txz fixes iotop (v0.6 in nerpack vs 1.2 in the wider world - which will compile ok on slackware), it does not fix ranger.

 

Link to comment
  • 2 weeks later...

man and manpages would be great. I'm not sure why documentation was ever omitted; perhaps memory? but the days of being worried about a few megs of text files in memory are over, so nerd pack to the rescue.

 

https://pkgs.org/download/man-db

https://slackbuilds.org/repository/14.2/system/man-db/

 

Thanks for all the work on this project; makes unraid so much better.

 

Edited by nate1749
Link to comment

+1 to update iotop / iftop.  I haven't been able to run these for a couple years due to

Traceback (most recent call last):
  File "/usr/sbin/iotop", line 17, in <module>
    main()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 620, in main
    main_loop()
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 610, in <lambda>
    main_loop = lambda: run_iotop(options)
  File "/usr/lib64/python2.7/site-packages/iotop/ui.py", line 508, in run_iotop
    return curses.wrapper(run_iotop_window, options)
  File "/usr/lib64/python2.7/curses/wrapper.py", line 22, in wrapper
    stdscr = curses.initscr()
  File "/usr/lib64/python2.7/curses/__init__.py", line 33, in initscr
    fd=_sys.__stdout__.fileno())
_curses.error: setupterm: could not find terminal

 

Thank you!

Link to comment
  • Squid unpinned this topic

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.