Problem while installing any Plugin

linus0508

Cadet
Joined
Jan 22, 2022
Messages
1
Hello,
Sadly, my newly setup TrueNAS Core installation isn't able to load in any plugins. Neither the official nor third-party ones install. Every try results in the following error:

Error: test had a failure Exception: GitCommandError Message: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-plugin-plexmediaserver.git /mnt/VM Storage 1/iocage/jails/test/plugin stderr: 'Cloning into '/mnt/VM Storage 1/iocage/jails/test/plugin'... fatal: unable to access 'https://github.com/freenas/iocage-plugin-plexmediaserver.git/': Could not resolve host: github.com ' Partial plugin destroyed

As mentioned in other posts I already tried to Setup my DNS-Servers (1.1.1.1/ 8.8.8.8) and Nameserver and rebooted the machine. Sadly this doesn't change anything.

I hope someone can explain the problem to me.

Many thanks in advance!
 
Joined
Jul 10, 2016
Messages
521
Do you have the "Default Gateway" filled in? It should have the IP address of your router.
 

mdhurrtn

Cadet
Joined
Feb 23, 2022
Messages
9
Hello
I am very new to truenas core 12 U8 and its installation practices. I have a problem with PLEX media player install. Or plugins, not sure what applies here. Followed some videos on installing truenas and plex. But, the information in the videos do not mention what I have seen, namely an error code (128):

[EFAULT] Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/tank/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git stderr: 'Cloning into '/mnt/tank/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.9/site-packages/middlewared/job.py", line 367, in run
await self.future
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 405, in __run_body
rv = await self.middleware.run_in_thread(self.method, *([self] + args))
File "/usr/local/lib/python3.9/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.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 979, in nf
return f(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/jail_freebsd.py", line 372, in available
return self.middleware.call_sync('plugin.available_impl', options).wait_sync(raise_error=True)
File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 338, in wait_sync
raise CallError(self.error)
middlewared.service_exception.CallError: [EFAULT] Cmd('git') failed due to: exit code(128)
cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/tank/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
stderr: 'Cloning into '/mnt/tank/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

Some assistance in solving this problem would be greatly appreciated. As mentioned, I am new to this environment. Thanks.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Could not resolve host: github.com '
Your network setup is incorrect.
You need a DNS setup and check that the Default Gateway is set correctly
 

mdhurrtn

Cadet
Joined
Feb 23, 2022
Messages
9
Hello Alecmascot,
Thank you for your response, I have been trying to obtain a DDNS service provider, can you recommend a service that would be easy to install on truenas core 12 u8? I have an ORBI mesh wifi home network. Again, thanks.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Have you solved your original problem yet : "Could not resolve host: github.com "

DDNS is not the solution.....
 

mdhurrtn

Cadet
Joined
Feb 23, 2022
Messages
9
Hello
Thanks for interest in my problem. I been working on it for the past couple of days. I have a purchase DDNS service so, hopefully I will get that done fairly soon. Some of the parameters that must inputted are confusing to me. Namely, port values inbound and outbound. And the fact that I must also do Port Forwarding on my ORBI MESH router has been slowing me down. Once I get those things worked out, hopefully I can move on to installing plugins.

Just for informational purposes, this is an old system that I am setting up. ASUS RAMPAGE EXTREME V motherboard, intel i7 5960x cpu, Corsair Dominator DDR4 24gb(2666Mhzcl15 ram) XMP is applied, and GTX 980 graphics card(4gb DDR5). And water cooled, both cpu and gpu.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
As I said......The provision of DDNS has NO BEARING on your Plugin issue.
You need to put the IP of one or more Name servers: 1.1.1.1 or 8.8.8.8 or 4.4.4.4 or what have you, into the Nameservers fields in Network/Global Configuration/ page in your TrueNAS Server.
 

mdhurrtn

Cadet
Joined
Feb 23, 2022
Messages
9
Ok. I'll try it and get back with you. Thanks for the information.
 

mdhurrtn

Cadet
Joined
Feb 23, 2022
Messages
9
Thanks to all. A lot of trial and error. I finally achieved a stable plugin for plex media server. The 1.1.1.1 worked. Again, thanks.
 
Top