ERROR "Failed opening required 'Net/IPv6.php' " - HELP
-
Hello,
I use version 2.4.4 and updated several packages before updating to 2.4.5. I actually was waiting for next point release to avoid current problems.
(Note: Why incompatible packages even offered via UI Package Manager? I think this is a missing feature and packages with incomparable versions should not be even available for updates. )
Then I saw pfBlockerNG-devel to 2.2.5_30 available for update and after reading about problem from other people upgrading to 2.4.5 thought it would be good idea to update it (since I already updated to pfBlockerNG-devel to 2.2.5_29).
Till this point my router and pfSense had no problem expect I did not see version updated on UI https://imgur.com/a/gw9hQOW.
@jimp suggested that this can be due to DNS issues.
Since the only thing I did was pfBlockerNG-devel to 2.2.5_30 update, I decided to remove it and reinstall (keeping settings)
And there problems started !
No access to UI
PHP ERROR: Type: 64, File: /etc/inc/config.inc, Line: 51, Message: require_once(): Failed opening required 'Net/IPv6.php' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/')
I still have access via SSH and router seem functinaly.
Please help!
-
There s some good news :
2.4.5 is rock solid.
So :
Make a copy of your config.
Do a clean install (make that USB key, boot from it etc).
Assign LAN and WAN from console access.
Make WAN work if it's not DHCP (for example, PPPOE, use the GUI for this).
When WAN is up : import your config using GUI.
Reboot.
Et voilà !!
You just finished the crash course pfSense re install test - always a good thing to know. Now your ready for it the next item - if it ever happens again.Will you wiat for the install (5 minutes) : look here : https://www.youtube.com/watch?v=2ch-QyQsVDY ( an news bulletin on CNN will follow ) or look at the https://www.netgate.com/blog/pfsense-2-4-5-release-now-available.html (+ articles mentioned)
-
@Gertjan said in ERROR "Failed opening required 'Net/IPv6.php' " - HELP:
There s some good news :
2.4.5 is rock solid.
So :
Make a copy of your config.
Do a clean install (make that USB key, boot from it etc).
Assign LAN and WAN from console access.
Make WAN work if it's not DHCP (for example, PPPOE, use the GUI for this).
When WAN is up : import your config using GUI.
Reboot.
Et voilà !!
You just finished the crash course pfSense re install test - always a good thing to know. Now your ready for it the next item - if it ever happens again.Will you wiat for the install (5 minutes) : look here : https://www.youtube.com/watch?v=2ch-QyQsVDY ( an news bulletin on CNN will follow ) or look at the https://www.netgate.com/blog/pfsense-2-4-5-release-now-available.html (+ articles mentioned)
Is there a way to do some updates via ssh command lines only?
I want to stay on 2.4.4 ATM -
Tried
16) Restart PHP-FPM
via sshand
11) Restart webConfiguratorand
12) PHP shell + pfSense toolsEnter an option: 15
Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
Stack trace:
#0 /etc/inc/functions.inc(32): require_once()
#1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
#2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
#3 /etc/rc.restore_config_backup(23): require_once('/etc/inc/config...')
#4 {main}
thrown in /etc/inc/certs.inc on line 46Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
Stack trace:
#0 /etc/inc/functions.inc(32): require_once()
#1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
#2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
#3 /etc/rc.banner(24): require_once('/etc/inc/config...')
#4 {main}
thrown in /etc/inc/certs.inc on line 46Wonder did I do so wrong trying to uninstall a package that the overall pfSense system is so badly damaged?
-
Your PHP library files are conflicting.
That package installed new versions.
Your pfSense is using older - same library files - version.
A conflict is born.
A manual way out is possible, but it's IMHO, pure madness to do so.Btw : I can't really see any difference between the latest 2.4.5-RC and 2.4.5-Release.
-
At this point the only sure way to recover from that is to reinstall+restore your config. Use 2.4.5.
This is why the upgrade instructions tell you not to upgrade packages before upgrading to a new pfSense version. The packages are only compatible with the latest release.
-
@jimp said in ERROR "Failed opening required 'Net/IPv6.php' " - HELP:
At this point the only sure way to recover from that is to reinstall+restore your config. Use 2.4.5.
This is why the upgrade instructions tell you not to upgrade packages before upgrading to a new pfSense version. The packages are only compatible with the latest release.
@jimp
I am at bad state now, in addition to having issues with the router, I lost my laptop and I had my router back there.I used the option to do automatic backup but don't remember how to get it. Pls remind me. Is it possible? (I think it used to be a way to login and get it IIRC)
Also you suggest using 2.4.5 even tho I used and crashed on 2.4.4?
Thx
-
@jimp said in ERROR "Failed opening required 'Net/IPv6.php' " - HELP:
At this point the only sure way to recover from that is to reinstall+restore your config. Use 2.4.5.
This is why the upgrade instructions tell you not to upgrade packages before upgrading to a new pfSense version. The packages are only compatible with the latest release.
Can you please see that nothing is missed here ?
https://forum.netgate.com/topic/151956/restore-pfsense-setting-during-usb-stick-setup