SOLVED I NEED HELP! GET PLUGINS FAILED!

BakkesOffical

Dabbler
Joined
Jun 22, 2021
Messages
31
There was one other post that I have read that I thought maybe could help me to solve this problem but I was wrong. I tried getting help on discord and on Reddit but nothing. I will leave the error message and the specs below if someone needs it. If someone could might help please help.

Error Message:

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1566, 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/HomeServer/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 387, 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 266, in fetch_plugin_versions
self.pull_clone_git_repo()
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 137, in pull_clone_git_repo
depth, self.callback
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1631, 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/HomeServer/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
stderr: 'Cloning into '/mnt/HomeServer/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Failed to connect to github.com port 443: Operation timed out
'


Specs:

Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
7.8GiB total memory installed
The HDD is 898.99GiB big.

I have also tried setting dns servers but it doesnt work.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Have you defined DNS servers and a default gateway in Network | Global Configuration ?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Can you ping github.con from the shell?

Although now I read the error a bit closer, I see that it's complaining about a missing path... /mnt/HomeServer/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git

Can you cd to that in the shell?
 

BakkesOffical

Dabbler
Joined
Jun 22, 2021
Messages
31
Now that i have looked at it closer the .plugins folder does have the github_com_freenas_iocage-ix-plugins_git (plugin) in it. I think that this might be the problem why the plugins dont actually show up, but I dont really understand this, since I have not been working with freebds, only with linux. When I "ls" the folder it says its empty. On the server through Windows it also says that there is nothing inside that.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Do you have any jails at all yet?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You could try clearing the pool with iocage clean -a

Then iocage activate poolname

After that, you should have a fresh start.
 

BakkesOffical

Dabbler
Joined
Jun 22, 2021
Messages
31
I have cleared and activated the pool again. Something has changed but it still doesnt show up the icons. Now when I go into my windows share (that I have hosted) I dont see the .plugins folder that has been hidden. It does not seem to display an error message either but I still cant see the plugins.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Open the shell, type "ping github.com" (without the quotes) and hit <Enter>.

Post the results here (screenshot best).
 

BakkesOffical

Dabbler
Joined
Jun 22, 2021
Messages
31
This is the result. It could not ping the url.
 

Attachments

  • rootshell.png
    rootshell.png
    9.6 KB · Views: 788

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
So your networking is not configured properly.

You need to correctly configure the entries of DNS servers and a default gateway in Network | Global Configuration per @sretralla 's earlier question.

The default gateway will likely be the private address of your router - probably 192.168.1.1 or similar. If you don't have DNS IP's from your ISP, try using your router address also and Google's ipv4 DNS addresses 8.8.8.8 and 8.8.4.4. Make sure your router is set up as a DHCP server.

Reboot TrueNAS, Try the ping again and report.

If you get or feel stuck, come back and ask questions.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
First please advise what version of TrueNAS/FreeNAS you are running and describe (list) the equipment in your network and how it is connected.
 

BakkesOffical

Dabbler
Joined
Jun 22, 2021
Messages
31
Version: FreeNAS-11.3-U5. I am running my server currently on a old ethernet cable but its good enough and I am sure that the cable is no problem in this case. You can see the specs of my old computer, (DELL Inspiron 15).
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Open Network>Global Configuration.
Enter your router's local address in ipv4 default gateway
Enter your default gateway also in Nameserver1
Enter 8.8.8.8 and 8.8.4.4 in Nameserver 2 and 3 respectively.
Hit Save

Try the ping test again from the Shell and post result.

You still have not listed the equipment in your network. What are you using to access the FreeNAS GUI over the network?
 
Top