OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: tre4bax on October 12, 2018, 09:40:31 am

Title: How can I update my plugins manually
Post by: tre4bax on October 12, 2018, 09:40:31 am
Hi All,

As I can no longer update from the standard button in Firmware is there another way I can update and load plugins that I can use?

Many thanks.
Title: Re: How can I update my plugins manually
Post by: mimugmail on October 12, 2018, 09:53:34 am
It would be better to track down the reason why you dont see the plugins?
You can always install them via CLI:

pkg update
pkg install os-pluginname
Title: Re: How can I update my plugins manually
Post by: tre4bax on October 12, 2018, 10:55:23 am
I have tried to figure it out.

this is the error

configd.py: [f4cd07c0-2058-4d99-bdcf-b628d951d85b] Script action failed with Command 'pkg rquery "%n|||%v|||%c|||%sh|||0|||%L"' returned non-zero exit status 74 at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 481, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command 'pkg rquery "%n|||%v|||%c|||%sh|||0|||%L"' returned non-zero exit status 74

I just have no clue why that is happening.

I can give the console ago though, maybe that will give me more info even if it does not work :-)  Ta for the tip.
Title: Re: How can I update my plugins manually
Post by: tre4bax on October 12, 2018, 11:03:35 am
thaks for the help it seems the problem may be this

pkg: Repository OPNsense load error: access repo file(/var/db/pkg/repo-OPNsense.sqlite) failed: No such file or directory

now as to why I do not know

Title: Re: How can I update my plugins manually
Post by: tre4bax on October 12, 2018, 11:59:56 am
With some research I concluded the only way I was likely to fix this was opnsense-bootstrap, which also failed.

Now I am getting very frustrated with opnsense.  It seems to be going out of its way to block me with everything!
Title: Re: How can I update my plugins manually
Post by: mimugmail on October 12, 2018, 01:19:12 pm
For me it seems like a broken installation or you changed some files manually ...

Trust me, OPNsense runs fine for many ppl out there .. it's something small on your side. Typical error which takes a day to find and it was just a small thing.
Title: Re: How can I update my plugins manually
Post by: tre4bax on October 12, 2018, 01:21:00 pm
Yeah it has been great until now.

I suspect that it has happened when I added the NTOPNG package as that is the point where I first started to note the issues.  It looks like I'm going to have to install from scratch.  Nightmare as I need everyone to be away for me to do that ;-)
Title: Re: How can I update my plugins manually
Post by: mimugmail on October 12, 2018, 01:33:25 pm
Nightmare to manage or you don't like it to be alone? :)

Title: Re: How can I update my plugins manually
Post by: franco on October 17, 2018, 10:57:22 pm
Try different mirrors and the default theme. Suspect something is off that shouldn't.


Cheers,
Franco
Title: Re: How can I update my plugins manually
Post by: tre4bax on October 18, 2018, 11:05:19 am
I tried that, now I think that there are some elements of the system that are not there and should be.  My plan is to wait for the family to go out and rebuild the box totally.