PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export"
-
@SteveITS
I'm attempting to look at /var/log files but I'm getting permission issues. My login's groups are "nobody admins". 'su' and 'sudo' don't seem to be recognized. -
@timbopoise for instance
https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html
https://docs.netgate.com/pfsense/en/latest/install/netinstaller.htmlReinstall is probably less time than repairing whatever happened, tbh, as long as you have a backup file. “Brute force” but clean.
-
Check: /cf/conf/upgrade_log.latest.txt
Or just check the dmesg output if it's failing to load pages. There will likely be some error there.
-
@SteveITS
Are you referring to /var/log/dmesg.boot?not sure if these results are helpful:
/var/log: grep -i error dmesg.boot module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffffffff807652e0, 0) error 1 module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff807475a0, 0) error 1 module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff80747650, 0) error 1 module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff80747700, 0) error 1 module_register_init: MOD_LOAD (iwi_bss_fw, 0xffffffff80765180, 0) error 1 module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffffffff80765230, 0) error 1
but I doubt it. What am I looking for? I don't see anything obvious to me.
-
A) https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html
B) https://docs.netgate.com/pfsense/en/latest/install/netinstaller.htmlQuestions:
when using B) approach ("brute force"), I will lose all of my routing rules, etc?
I believe I've read that when restoring backup it will restore pfsense version too. Am starting over again with upgrade
to 2.7.2 with possible problem again? -
Nope those are expected messages.
No I mean just run
dmesg
and see what the most recent logs are. They are probably going to be some error messages if you just tried to connect to the webgui.You can also try checking /var/log/system.log
-
@stephenw10 said in PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export":
just ran dmesg and see what the most recent logs are
No joy. I don't see anything to indicate a problem from output, after I attempted to open login page (https://192.168.5.1:xxx).
I don't know anything about PHP, but as I snoop around (nginx) and looking at /usr/local/www/ many of the *.php files are zero size?
-
Hmm, well hard to say what happened without logs. It sounds like the upgrade only partially completed. I've not seen it fail like that though. Usually failed upgrades would show library errors.
Do you have pkg access? Can you run:
pkg update
?If so you could try a forced pkg reinstall:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#forced-pkg-reinstall -
@stephenw10
No I apparently don't. I do not have su/root privilege (sudo not setup) but working on making a Comm cable to connect to comm port to connect and then set root passwd using a FreeBSD trick, if you call it that.What a pain! Once I get this done I'll have more access and try to force pkg reinstall...I think
Thank goodness the router is up and running as is...just no ability to config from webpage.
Thanks @stephenw10 and @SteveITS
-
How does
pkg update
fail?Since you can't access the webgui you may need to run
pfSense-repoc
before hand. The GUI processes usually run that when you access it. -
@stephenw10 said in PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export":
How does pkg update fail?
": pkg update
pkg: Insufficient privileges to update the repository catalogue."@stephenw10 said in PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export":
you may need to run pfSense-repoc before hand
I run this from the command line and then try to login webpage again?
-
Run
pfSense-repoc
at the command line then try runningpkg update
again.If it still fails try:
pkg-static -d update
and note the error output. -
@stephenw10 said in PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export":
Run pfSense-repoc at the command line
[2.7.2-RELEASE][ ]: pfSense-repoc failed to read the repo data. [2.7.2-RELEASE][ ]:
@stephenw10 said in PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export":
if it still fails try: pkg-static -d update
[2.7.2-RELEASE][ ]: pkg-static -d update DBG(1)[23852]> pkg initialized pkg-static: Insufficient privileges to update the repository catalogue. [2.7.2-RELEASE][ ]:
-
@timbopoise
I'm getting a comm cable and will hopefully gain root by tomorrow afternoon. Thanks -
@timbopoise Are you logging in as "admin" or another user you've created?
-
@SteveITS said in PFSense CE 2.7.0 package manager has no available packages, can't find "openvpn-client-export":
@timbopoise Are you logging in as "admin" or another user you've created?
I'm using a user name that we typically setup on all systems and used the pfsense login passwd. That got me on over ssh. However, I have since noticed that I have a login as well. My login is probably one that got setup setup by PFSense in prep for using vpn login.
The only two logins I see are in group "nobody" and "admins". -
You would need to be actually admin or root to use pkg at the cli.
-
@stephenw10
Yes. As of now I have no privileges and so will need to get on FreeBSD console to set root passwd. then I will have ability to do more.
Thanks -
@stephenw10
You have been helpful Thanks.
I have gotten my RJ45-USB adapter for com port and used it to follow guidance on internet to reset root password but for some reason the change does not take effect. I'm puzzled. I'll be back when I can figure this out.Thx
-
Hmm, curious. The reset process appeared to complete correctly?
There may be more broken there than we thought. Though I'd expect to see a load of errors....