Plugins are not visible

Started by bitTwiddler, January 07, 2021, 02:36:58 AM

Previous topic - Next topic
Hello,

I am running OPNsense 20.7-amd64 and when I browse to System->Firmware->Plugins I am not seeing any plugins listed.  When I was running 20.5 on another system I saw a list of both installed and not installed plugins.

What am I missing?

Thanks and regards,
bT

P.S. Donated US$25 today.

Hi,

First thing I would expect are some connectivity issues when trying to access the package mirror (local dns for example). Does check for updates work properly?

Best regards,

Ad

p.s. thanks for you donation, much appreciated  :)

It is hard to be conclusive.  It appears that it just says "Checking, please wait..." indefinitely. 

I have not explicitly defined a mirror in the settings tab.

I can attempt to ping or curl the repo if I know the address.  I am able to ssh into the host.

Thanks!

if you kept it default, you should be able to ping pkg.opnsense.org from the machine itself, that's probably the easiest test to start with.

January 07, 2021, 09:26:05 PM #4 Last Edit: January 07, 2021, 09:33:32 PM by bitTwiddler
Yes, I am able to drop to a shell and ping that address.   It also resolves correctly.

root@OPNsense:~ # ping pkg.opnsense.org
PING pkg.opnsense.org (89.149.211.205): 56 data bytes
64 bytes from 89.149.211.205: icmp_seq=0 ttl=54 time=137.670 ms
64 bytes from 89.149.211.205: icmp_seq=1 ttl=54 time=137.634 ms
64 bytes from 89.149.211.205: icmp_seq=2 ttl=54 time=138.238 ms
64 bytes from 89.149.211.205: icmp_seq=3 ttl=54 time=139.870 ms
64 bytes from 89.149.211.205: icmp_seq=4 ttl=54 time=138.377 ms
64 bytes from 89.149.211.205: icmp_seq=5 ttl=54 time=137.585 ms
^C
--- pkg.opnsense.org ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 137.585/138.229/139.870/0.795 ms


Oddly enough, traceroute doesn't appear to hit my local DNS server but goes immediately upstream to my ISP DNS.  Traceroute hangs trying to route past


ip4.gtt.net (46.33.78.21)

hmm, and what happens if you fetch a file with curl?


curl -v -o /tmp/eicar.txt https://pkg.opnsense.org/test/eicar.com.txt

It runs with no issues.


root@OPNsense:~ # cat /tmp/eicar.txt
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*root@OPNsense:~ #


Should I backup my configuration and reinstall?  I am trying to think of any options I may have mucked up which is causing this problem.

reinstall should be rather painless, but before you do can you check what the following does?


pkg update


The only downside to reinstalling is the down time.  My plan is to backup my configuration,  reinstall, load configuration.  Is there a faster method?  Perhaps point to the config file during installation?

The command executed perfectly.


root@OPNsense:~ # pkg update
Updating OPNsense repository catalogue...
Fetching meta.txz: 100%    1 KiB   1.5kB/s    00:01
Fetching packagesite.txz: 100%  198 KiB 202.9kB/s    00:01
Processing entries: 100%
OPNsense repository update completed. 730 packages processed.
All repositories are up to date.


I am stumped.  None of the entries show up on the Package page.

ok, connectivity looks in order, if you can spare some downtime, I would try to update using the console first (option 12 in the menu) and capture the output for debug purposes (in case it fails).

We are thinking the same on this.  Last night I ran a "pkg upgrade" command and restarted my browser this morning and I am seeing the packages and plugins.  It also upgraded OPNsense to the latest minor release.

sounds like case closed then  :) if it functions now, we'er probably nog going to find the cause anymore.

Thank you Ad for your guidance on this!

All the best