GET PLUGINS FAILED.

IzLogan

Cadet
Joined
Mar 16, 2020
Messages
5
Everytime i click on the plugins section or install plugins i get an error.


"Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git stderr: 'Cloning into '/mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'... fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com ' "



"
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1504, in _clone_repo
repo = git.Repo(destination)
File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 131, in __init__
raise NoSuchPathError(epath)
git.exc.NoSuchPathError: /mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
await self.future
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 388, in __run_body
rv = await self.middleware.run_in_thread(self.method, *([self] + args))
File "/usr/local/lib/python3.7/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.7/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/jail.py", line 409, in available
plugins_versions_data = IOCPlugin(branch=branch, git_repository=plugin_repository).fetch_plugin_versions()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 220, in fetch_plugin_versions
self.pull_clone_git_repo()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 133, in pull_clone_git_repo
depth, self.callback
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1569, in _clone_repo
k: v for k, v in kwargs.items() if v
File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 988, in clone_from
return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 939, in _clone
finalize_process(proc, stderr=stderr)
File "/usr/local/lib/python3.7/site-packages/git/util.py", line 333, in finalize_process
proc.wait(**kwargs)
File "/usr/local/lib/python3.7/site-packages/git/cmd.py", line 415, in wait
raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
stderr: 'Cloning into '/mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com
'
"


How can i fix this issue
 

Attachments

  • Capture.PNG
    Capture.PNG
    138 KB · Views: 2,027

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,175

William Bravin

Contributor
Joined
Mar 16, 2016
Messages
195
Hello all

Read this post. I have the same problem.

However i do not understand what how to fix this
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Read this post. I have the same problem.

However i do not understand what how to fix this
In the GUI under Network | Global Configuration, make sure you have at least one nameserver and the IPv4 Default Gateway filled in.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Read this post. I have the same problem.

However i do not understand what how to fix this
In the GUI under Network | Global Configuration, make sure you have at least one nameserver and the IPv4 Default Gateway filled in.
 

William Bravin

Contributor
Joined
Mar 16, 2016
Messages
195
Hi Tanks for replying so quickly I do have 192.168.1.1 in that location to no avail
 

evassieger

Cadet
Joined
Jul 22, 2020
Messages
3
TrueNAS-12.0-RC1

I have the same problem.
Does anyone have any answers?

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
    await self.future
  File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 399, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *([self] + args))
  File "/usr/local/lib/python3.8/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
    return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/jail_freebsd.py", line 367, in available
    return self.middleware.call_sync('plugin.available_impl', options).wait_sync(raise_error=True)
  File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 332, in wait_sync
    raise CallError(self.error)
middlewared.service_exception.CallError: [EFAULT] filedescriptor out of range in select()
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,175
TrueNAS-12.0-RC1

I have the same problem.
Does anyone have any answers?

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
    await self.future
  File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 399, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *([self] + args))
  File "/usr/local/lib/python3.8/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
    return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/jail_freebsd.py", line 367, in available
    return self.middleware.call_sync('plugin.available_impl', options).wait_sync(raise_error=True)
  File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 332, in wait_sync
    raise CallError(self.error)
middlewared.service_exception.CallError: [EFAULT] filedescriptor out of range in select()
You do not have the same problem.
The OP has a Name Resolution problem. Yours is completely different.
Have you set a location for plugins and jails
 

khajo

Cadet
Joined
Oct 31, 2020
Messages
1
Everytime i click on the plugins section or install plugins i get an error.


"Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git stderr: 'Cloning into '/mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'... fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com ' "



"
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1504, in _clone_repo
repo = git.Repo(destination)
File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 131, in __init__
raise NoSuchPathError(epath)
git.exc.NoSuchPathError: /mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
await self.future
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 388, in __run_body
rv = await self.middleware.run_in_thread(self.method, *([self] + args))
File "/usr/local/lib/python3.7/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.7/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/jail.py", line 409, in available
plugins_versions_data = IOCPlugin(branch=branch, git_repository=plugin_repository).fetch_plugin_versions()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 220, in fetch_plugin_versions
self.pull_clone_git_repo()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 133, in pull_clone_git_repo
depth, self.callback
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1569, in _clone_repo
k: v for k, v in kwargs.items() if v
File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 988, in clone_from
return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 939, in _clone
finalize_process(proc, stderr=stderr)
File "/usr/local/lib/python3.7/site-packages/git/util.py", line 333, in finalize_process
proc.wait(**kwargs)
File "/usr/local/lib/python3.7/site-packages/git/cmd.py", line 415, in wait
raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
stderr: 'Cloning into '/mnt/ada02pool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com
'
"


How can i fix this issue
just make sure that your nameserver and gateway are correct and online
 

vinjoza

Dabbler
Joined
Jun 4, 2020
Messages
12
Does anyone else have the problem of evassieger 3 posts up?

I have TrueNAS 12.0, fresh install. My nameserver and gateway are correct, online, and restarted. Problem persists.

error message when entering external services, like fetching Plugins:

[EFAULT] filedescriptor out of range in select()

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 361, in run
await self.future
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 399, in __run_body
rv = await self.middleware.run_in_thread(self.method, *([self] + args))
File "/usr/local/lib/python3.8/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
File "/usr/local/lib/python3.8/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 977, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/jail_freebsd.py", line 367, in available
return self.middleware.call_sync('plugin.available_impl', options).wait_sync(raise_error=True)
File "/usr/local/lib/python3.8/site-packages/middlewared/job.py", line 332, in wait_sync
raise CallError(self.error)
middlewared.service_exception.CallError: [EFAULT] filedescriptor out of range in select()

please help, I don't want to reinstall
 

William Bravin

Contributor
Joined
Mar 16, 2016
Messages
195
hello all

i do not say i am an it guy.

however in my limited knowledge, what i did to resolve my issue was to perform an iocage clean -a reboot freenas 11.3 and proceeded to reinstall the plugins. following this my plugins worked

sorry i could not be of more help
 

vinjoza

Dabbler
Joined
Jun 4, 2020
Messages
12
hello all

i do not say i am an it guy.

however in my limited knowledge, what i did to resolve my issue was to perform an iocage clean -a reboot freenas 11.3 and proceeded to reinstall the plugins. following this my plugins worked

sorry i could not be of more help
Thank you... That would make me re-initialize nextcloud where I have sync set up with out people who work from-home. But it's a big step up from having to reinstall all, set up all shares, rebuild pools etc.

Hoping for a less painful fix, still, thank you a lot
 

-Mael-

Dabbler
Joined
Mar 26, 2016
Messages
17
Does anyone else have the problem of evassieger 3 posts up?

I have TrueNAS 12.0, fresh install. My nameserver and gateway are correct, online, and restarted. Problem persists.

error message when entering external services, like fetching Plugins:



please help, I don't want to reinstall

I have the exact same issue with the same error message. I'm on TrueNAS 12.0. The plugin page had been working for some time after the upgrade to 12.0 and has only started failing in the last week.

UPDATE - A reboot fixed my issue.
 
Last edited:
Joined
Jan 8, 2021
Messages
2
SOLVED: Be sure to set at least one DNS server address and your default gateway address. It is *important* to restart your server for the change to have an effect. The DNS server address that I used was 209.18.47.61 & 209.18.47.62 . You can also try 1.1.1.1 & 8.8.8.8 . My default gateway address was 192.168.1.1 . You can find your default gateway address in Command Prompt with the command 'ipconfig /all' or by checking your router. Also make sure that your DHCP is 'no' in interfaces.
 
Top