OPNsense Forum

English Forums => General Discussion => Topic started by: bitTwiddler on January 07, 2021, 02:36:58 AM

Title: Plugins are not visible
Post by: bitTwiddler on January 07, 2021, 02:36:58 AM
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.
Title: Re: Plugins are not visible
Post by: AdSchellevis on January 07, 2021, 08:36:40 AM
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  :)
Title: Re: Plugins are not visible
Post by: bitTwiddler on January 07, 2021, 06:38:05 PM
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!
Title: Re: Plugins are not visible
Post by: AdSchellevis on January 07, 2021, 07:18:44 PM
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.
Title: Re: Plugins are not visible
Post by: bitTwiddler on January 07, 2021, 09:26:05 PM
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)
Title: Re: Plugins are not visible
Post by: AdSchellevis on January 08, 2021, 09:04:01 AM
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
Title: Re: Plugins are not visible
Post by: bitTwiddler on January 08, 2021, 03:03:26 PM
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.
Title: Re: Plugins are not visible
Post by: AdSchellevis on January 08, 2021, 03:07:37 PM
reinstall should be rather painless, but before you do can you check what the following does?


pkg update

Title: Re: Plugins are not visible
Post by: bitTwiddler on January 09, 2021, 12:51:40 AM
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.
Title: Re: Plugins are not visible
Post by: AdSchellevis on January 09, 2021, 09:40:18 AM
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).
Title: Re: Plugins are not visible
Post by: bitTwiddler on January 09, 2021, 09:01:01 PM
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.
Title: Re: Plugins are not visible
Post by: AdSchellevis on January 09, 2021, 10:12:37 PM
sounds like case closed then  :) if it functions now, we'er probably nog going to find the cause anymore.
Title: Re: Plugins are not visible
Post by: bitTwiddler on January 10, 2021, 10:00:48 PM
Thank you Ad for your guidance on this!

All the best