Cant download plugins

IzLogan

Cadet
Joined
Mar 16, 2020
Messages
5
Everytime i open my plugins page i get an error
"Get Plugins Failed"
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1543, 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/adapool01/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 243, in fetch_plugin_versions
self.pull_clone_git_repo()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 134, in pull_clone_git_repo
depth, self.callback
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1608, 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/adapool01/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
stderr: 'Cloning into '/mnt/adapool01/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



Can anyone help me understand and resolve this error?
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
Could not resolve host: github.com
This sounds like a problem with resolving hosts. The reason can be a missing DNS Server setting or a missing default route.
Check your network config. Go to "Network->Global Config", what are the settings for Nameservers and Default Gateway?
 
Top