Jump to content

[PLUG-IN] NerdTools


Recommended Posts

On 7/13/2024 at 6:28 PM, rama3124 said:

Hi

I have been having SSL errors with the pip3 command after installing Unraid 7.0 beta. I tried to cd to /boot/extra and run the following command:

 

wget https://slackware.uk/slackware/slackware64-15.0/slackware64/n/mtr-0.95-x86_64-1.txz

 

And then rebooted unraid but I still get the error in pip3. Any idea how to fix it? Thanks

running nertdtools this pacakge and others no issues.

check fix common problems. Don't use pyhon3 by dlandon via plugins per ich777 on beta 7
use nerd tools to install python 3, pip and python setuptools.

 

Link to comment
  • 2 weeks later...
On 7/22/2024 at 8:00 AM, bmartino1 said:

openssl gets frequent updated package is 404:
pull from package repository:
https://slackware.uk/search?p=%2Fslackware%2Fslackware64-current%2Fslackware64%2Fn%2F&q=openssl

 

at time of writing:

openssl11-1.1.1w-x86_64-1.txz

 

is now: openssl11-1.1.1za-x86_64-1.txz

On 7/22/2024 at 8:00 AM, bmartino1 said:

Do i just pull the new package into the /boot/extra folder or is there a way to keep it up to date automatically? Thanks

Link to comment
  • 2 weeks later...

I just noticed that NerdTools for Unraid has been marked as discontinued.
This was my go-to for installing system-wide packages like mktorrent, zsh, and python. With NerdTools no longer being updated, I'm not sure what the best alternative is. Is un-get now the actively developed option for these kinds of packages? Any advice or recommendations would be greatly appreciated!

Thanks!

Link to comment
15 minutes ago, aspiziri said:

Thanks for the suggestion - any idea how this would work with NerdTools plugins that have dependencies on python? For example if I install these dlandon packages to get python 2/3 and then install a program via NerdTools which, within NerdTools has python listed as a dependency, NerdTools will try and install its version of python right? Do I need to worry about these conflicts?

dlandon python packages are depricated in unriad v7.  I have found it better to run a lxc with a python venv for unriad if needed.

Per others they say to use nerdtools and the extra folder to install python and its equivalent. Make sure you are grabing x86_64 packages... also check and make sure your using correct slackware versions... per others install slackware in a vm to grab necessary packages...

Not sure of its evolution or continuations, as unraid and the dev don't want 3rd party applications on the host OS.

It better to run a lxc / docker / vm for these if needed.

This only exists per Squid. See pin posts.
 

Edited by bmartino1
Link to comment
18 minutes ago, aspiziri said:

Thanks for the suggestion - any idea how this would work with NerdTools plugins that have dependencies on python? For example if I install these dlandon packages to get python 2/3 and then install a program via NerdTools which, within NerdTools has python listed as a dependency, NerdTools will try and install its version of python right? Do I need to worry about these conflicts?

your mainly wanting to grab the py setup tools pkg.

python3-setuptool
per post with others and links were taken down and other as it causes problems with implementations... 

The other issues is that python is version ahead of Slackware and a premade binary for the latest version doesn't exist.

when I last check slackware python 3 stopped around version 10. While python 3 v12 is the latest version...

Hence, a lxc/vm of debian/ubuntu and venv of python is the most optimal.

Edited by bmartino1
Link to comment
  • 2 weeks later...

hi! unraid 7 beta 2.  With the plugin (latest version) I'm getting  this errors about ssl

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/b2/

is it a known issue? it was working with a stable release 

Link to comment
On 8/25/2024 at 12:38 PM, oleksii said:

hi! unraid 7 beta 2.  With the plugin (latest version) I'm getting  this errors about ssl

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/b2/

is it a known issue? it was working with a stable release 


this is a know problem and the solution is to extra install the lattest openssl pkg and python packages.

at one time i had teh wrong lnks, updatd to the corect one but were removed. go find them yourself...
 


orginaly runnign stable id recomend using dlandon python to fix this as i had isseus with nerd tools python breking after a reboot.

Sadly that plugin for python 2 and 3 are not supported in unraid v7. it is now recomened to run a lxc to have a full python enviroment.

 

Edited by bmartino1
Link to comment
  • 2 weeks later...
On 5/17/2023 at 3:38 AM, unRAIDuser7 said:

Seems like it's still not working for me.


unRaid 6.11.2

Installed version as per NerdTools, no updates to apply - python3-3.9.16-x86_64-1_slack15.0.txz

 

Script Starting May 16, 2023 21:03.47
 

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/qbittorrent-api/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/qbittorrent-api/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/qbittorrent-api/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/qbittorrent-api/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/qbittorrent-api/
Could not fetch URL https://pypi.org/simple/qbittorrent-api/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/qbittorrent-api/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement qbittorrent-api (from versions: none)
ERROR: No matching distribution found for qbittorrent-api
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
WARNING: There was an error checking the latest version of pip.
Script Finished May 16, 2023 21:03.55

 

There was an issue with python3, even though it said it was installed, apparently, it wasn't. I applied an update to powershell and was notified that python was missing. 
I uninstalled python and reinstalled it. No longer receive the error message above.

Step by step guide for fixing this Problem

 

I had this problem since a while now, and I found the solution for it. 

Just open a command line, go to a directory that is empty / temporary.

 

Prerequisites

If you don't have wget, install wget with the following command, or install it with the NerdTools plugin from the Apps tab in Unraid.

installpkg wget-1.24.5-i586-1.txz

 

Installation

1. Download OpenSSL package (Source: https://packages.slackware.com/) (You can check if there is a newer version available)

For x86_64 CPUs:

wget --no-check-certificate https://slackware.uk/slackware/slackware64/patches/packages/openssl-1.1.1za-x86_64-1_slack15.0.txz

 

For i586 CPUs:

wget --no-check-certificate https://slackware.uk/slackware/slackware-15.0/patches/packages/openssl-1.1.1za-i586-1_slack15.0.txz

 

2. Install OpenSSL package

For x86_64 CPUs:

installpkg openssl-1.1.1za-x86_64-1_slack15.0.txz

 

For i586 CPUs:

installpkg openssl-1.1.1za-i586-1_slack15.0.txz

 

Hope I could have helped ;)

Edited by gabriel20xx
Link to comment
On 8/25/2024 at 7:38 PM, oleksii said:

hi! unraid 7 beta 2.  With the plugin (latest version) I'm getting  this errors about ssl

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/b2/

is it a known issue? it was working with a stable release 

Solution: 

 

Link to comment

I'm going to wind up deprecating this plugin on Unraid 7.0.0 stable   I have no time to maintain the packages within this, (not to mention that I don't agree with what this plugin actually does).

 

Thus far, there has been zero interest from anyone in picking up the maintenance of this, so because many of the packages will need to be updated to work in 7.x+, it's time to let it go and save everyone the aggravation.  

 

If anyone want to pick up the maintenance of this plugin (and fork it), then drop me a line here via PM

  • Thanks 3
  • Confused 1
  • Upvote 1
Link to comment
2 hours ago, Squid said:

I'm going to wind up deprecating this plugin on Unraid 7.0.0 stable   I have no time to maintain the packages within this, (not to mention that I don't agree with what this plugin actually does).

 

Thus far, there has been zero interest from anyone in picking up the maintenance of this, so because many of the packages will need to be updated to work in 7.x+, it's time to let it go and save everyone the aggravation.  

 

If anyone want to pick up the maintenance of this plugin (and fork it), then drop me a line here via PM


I'm not sure i want to try and maintain this. While, I would still want access to a way to install slack pacakges. 
I would only want to maintain the txz and extra folder and not the updater or web page, allowing users to install at their own risk

 

nothing else.

*This can kinda be done with pkg install with user script.... mby a feautre request instead?

 

Edited by bmartino1
Link to comment

Debating on rebuilding a similar plugin...

I think nerd tools just needs a revamp:


similar to going to plugins.

ISnce we have:
image.thumb.png.01f3eb5b9ef79a82e720e1d3673eab04.png

I can see a Setting page similar to this 

Where
I can see a similar page setup for 3rd party binary and a web Ui that shows the directory of the extra folder...

Then in the setting for "[new plugin name]" a delete option similar to the installed plugins screen.

Just a place someone can past a link to the binary file to "curl/wget" the 3rd party application.

As i'm only using nerd tools for similar management. More as i thought this was needed to have and use the "extra" folder.

Link to comment
1 hour ago, Braulio Dias Ribeiro said:

How can I install GoLang to execute script in another docker (Fabric AI nedds GoLang)?

?

?
https://github.com/merll/docker-fabric

Are you trying to install a docker feature at the host level to use a different language?
id have you look at docker compose and go that route, Unraid uses docker man for its orchestration layer.

Fabric would be another orchestration layer. Its better to run these from with in a LXC / VM.

Or the container within the docker ai frabic missing the "go files?
https://stackoverflow.com/questions/49560104/cannot-find-package-cid-in-goroot-or-gopath

https://lists.hyperledger.org/g/fabric/topic/not_able_to_find_go_in/37662672
?

either way i'm not sure "go" would need to be installed at the host level...

BUT: here is waht you may have to do. DO AT YOUR OWN RISK!

https://ratfactor.com/slackware/go

http://www.slackware.com/~alien/slackbuilds/google-go-lang/

Link to comment
59 minutes ago, bmartino1 said:

?

?
https://github.com/merll/docker-fabric

Are you trying to install a docker feature at the host level to use a different language?
id have you look at docker compose and go that route, Unraid uses docker man for its orchestration layer.

Fabric would be another orchestration layer. Its better to run these from with in a LXC / VM.

Or the container within the docker ai frabic missing the "go files?
https://stackoverflow.com/questions/49560104/cannot-find-package-cid-in-goroot-or-gopath

https://lists.hyperledger.org/g/fabric/topic/not_able_to_find_go_in/37662672
?

either way i'm not sure "go" would need to be installed at the host level...

BUT: here is waht you may have to do. DO AT YOUR OWN RISK!

https://ratfactor.com/slackware/go

http://www.slackware.com/~alien/slackbuilds/google-go-lang/

 

Make sure I understand.

 

1)Or install GoLang on the host (host would be the unraid flash drive). And after install docker Fabric AI.

2) Or install Fabric Ai on the container with LXC / VM.

 

Is that it?

Link to comment

Nerdtools is deprecated, if there isn't what you want there it'll never be. What's in there is mostly tools for the OS itself, you don't run apps on unraid itself if you want a system that works.

 

I see you already posted in that app's repo on an issue where they're discussing creating a Docker container for it, so wait for them to do that. In the meantime if you want it make a VM. 

Edited by Kilrah
  • Like 1
Link to comment
1 hour ago, Kilrah said:

Nerdtools is deprecated, if there isn't what you want there it'll never be. What's in there is mostly tools for the OS itself, you don't run apps on unraid itself if you want a system that works.

 

I see you already posted in that app's repo on an issue where they're discussing creating a Docker container for it, so wait for them to do that. In the meantime if you want it make a VM. 

That's all...you're right...thanks for the info

Link to comment
  • 2 weeks later...

A Big Thanks to Rysz!


For thoses looking for python.

You will need to remove the nerdtools plugin or any and all python application in the extra folder!

Please see new plugin:


image.png.704df168ad8aa5667c70ea9a670b0f4f.png

 

root@BMM-Unraid:~# python3
Python 3.11.10 (main, Sep  8 2024, 13:14:52) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

  • Thanks 1
Link to comment

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.

×
×
  • Create New...