Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
-
After upgrade:
Version 2.3-RELEASE (amd64)
built on Mon Apr 11 18:28:29 CDT 2016
FreeBSD 10.3-RELEASEUnable to check for updates
–-----------------------------------------------------------------
pkg info -x pfSense
pfSense-2.3
pfSense-Status_Monitoring-1.0_1
pfSense-base-nanobsd-2.3
pfSense-default-config-serial-2.3
pfSense-kernel-pfSense-2.3
pfSense-pkg-AutoConfigBackup-1.43_1
pfSense-pkg-aws-wizard-0.5_1
pfSense-pkg-ipsec-profile-wizard-0.9_1
pfSense-pkg-openvpn-client-export-1.4.3
pfSense-rc-2.3
pfSense-repo-2.3
php56-pfSense-module-0.12pkg upgrade -f
Nothing happensrm /usr/local/etc/pkg/repos/pfSense.conf
rm: /usr/local/etc/pkg/repos/pfSense.conf: Read-only file systemfetch -qo /usr/local/share/pfSense/keys/pkg/trusted/ https://raw.githubusercontent.com/pfsense/pfsense/RELENG_2_3_0/src/usr/local/share/pfSense/keys/pkg/trusted/pkg.pfsense.org.20160406
fetch: /usr/local/share/pfSense/keys/pkg/trusted//pkg.pfsense.org.20160406: mkstemps(): Read-only file systemError: /usr/local/etc/pkg/repos/pfSense.conf: Read-only file system.
Error: /var/tmp/vi.recover/: Permission denied; Modifications not recoverable if the session failsLast here is present content of /usr/local/etc/pkg/repos/pfSense.conf
FreeBSD: { enabled: no }
pfSense-core: {
url: "pkg+http://firmware.netgate.com/pkg/pfSense_factory-v2_3_0_amd64-core",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/local/share/pfSense/keys/pkg"
enabled: yes
}pfSense: {
url: "pkg+http://firmware.netgate.com/pkg/pfSense_factory-v2_3_0_amd64-pfSense_factory-v2_3_0",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/local/share/pfSense/keys/pkg"
enabled: yes
}Simple question which step am I missing here?
-
@Rajko:
rm /usr/local/etc/pkg/repos/pfSense.conf
rm: /usr/local/etc/pkg/repos/pfSense.conf: Read-only file system
[…]
Simple question which step am I missing here?You have a filesystem problem which needs addressed. Failing to update is a symptom of some other problem you have, it's most likely not a problem with your updates.
Reboot into single user mode (option 2 at the boot menu IIRC) and then run "fsck -y /" repeatedly until it does not find any problems. Don't stop when it says the filesystem is clean, keep going until it finds no problems/makes no corrections. If that doesn't help, you might have a disk issue, or may need to reinstall. Start a new thread if you need more help with that since it isn't directly related to this thread.
-
Using admin username which isn't built-in admin behaves differently on pfsense.
Once I re-enabled "admin" account and logged to firewall via SSH console, I was able to complete update.
2 firewalls fixed with these steps so far.
File system was fine.
-
@Rajko:
Using admin username which isn't built-in admin behaves differently on pfsense.
Once I re-enabled "admin" account and logged to firewall via SSH console, I was able to complete update.
2 firewalls fixed with these steps so far.
File system was fine.
When you used a non-root/admin account, did you run the update via sudo?
I would expect it to fail without sudo from an unprivileged user. That also explains the errors.
-
please check your pfsense date and time .
-
This post is deleted!