Hi to everyone, i'm new.
Six months ago I bought an alix system with opnsense installed, over time I made several updates without problems.
Saturday I made the transition from 17.7.6 to 17.7.12 and everything seemed ok.
When restarting from the web gui I recognized the new version and I tried to update to 18.1, but the next restart I found that it was not updated.
With access via SSH I see:
Hello, this is OPNsense 17.7
*** OPNsense.localdomain: OPNsense 17.7.12_1 (i386 / OpenSSL) ***
trying to update from ssh:
Enter an option: 12
Fetching change log information, please wait ... done
This will automatically fetch all updates, apply them,
and reboot if necessary.
A major firmware upgrade is available for this installation: 18.1
Make sure you have read the release notes and migration guide before
attempting this upgrade. Around 300MB will need to be downloaded
require 600MB of free space. Continue with this major upgrade by
typing the major upgrade version number displayed above.
Minor updates may be available, answer 'y' to run them instead.
Proceed with this action? [18.1 / y / N]: 18.1
Fetching packages-18.1-OpenSSL-i386.tar: ....................................... .................................................. .................................................. .................................................. done
Fetching base-18.1-i386.obsolete: ... done
Fetching base-18.1-i386.txz: ......................................... ....... done
Fetching kernel-18.1-i386.txz: .................... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Extracting packages-18.1-OpenSSL-i386.tar ... pkg-static: OPNsense missing repository. 'pkg update' required
pkg-static: No package database installed. Nothing to do!
done
Extracting base-18.1-i386.txz ... done
Extracting base-18.1-i386.obsolete ... done
Installing kernel-18.1-i386.txz ... done
Please reboot.
>>> Invoking stop script 'beep'
>>> Invoking stop script 'freebsd'
>>> Invoking stop script 'backup'
Can not 'stop' flowd_aggregate. Set flowd_aggregate_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.
Shutdown NOW!
shutdown: [pid 89551]
*** FINAL System shutdown message from root@OPNsense.localdomain ***
System going down IMMEDIATELY
I try to update pkg
root@OPNsense:~ # pkg update
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 1.2MB/s 00:05
pkg: archive_read_extract(extract error): No space left on device
pkg: No signature found
Unable to update repository FreeBSD
Error updating repositories!
root@OPNsense:~ # ls /var/db/pkg/
FreeBSD.meta OPNsense.meta local.sqlite repo-OPNsense.sqlite vuln.xml
Now the system is working with 17.7.12 but i can't upgrade anything.
someone could help me ? ask me if I have omitted some information.
Can you double-check these?
# uname -a
# freebsd-version -u
Cheers,
Franco
just the time to come back home and tonight i will post the output
thank's Franco
The output it's the same
# uname -a
11.1-RELEASE-p6
# freebsd-version -u
11.1-RELEASE-p6
That's not the output of 'uname -a' but let's continue assuming it said the right thing. ;)
# opnsense-update -sn "18\/latest"
# pkg bootstrap -f
(choose "y")
# pkg upgrade -f
Reboot.
Cheers,
Franco
Ok, this may or may not work. This was in your output snippets:
pkg: archive_read_extract(extract error): No space left on device
Your disk is full. No way to upgrade and likely why it failed / continues to fail.
Cheers,
Franco
I'm sorry Franco
opnsense it's out of LAN, attached to other PC in other room so i report wrong command (uname -r) copy with a pencil
that's a real copy of console
Enter an option: 8
root@OPNsense:~ # uname -a
FreeBSD OPNsense.localdomain 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 6621d681e(stable/18.1) i386
root@OPNsense:~ # freebsd-version -u
11.1-RELEASE-p6
root@OPNsense:~ # exit
exit
*** OPNsense.localdomain: OPNsense 17.7.12_1 (i386/OpenSSL) ***
QuoteYour disk is full. No way to upgrade
a way to clean ?
This is my dashboard ,it doesn't seems full ?
(https://thumb.ibb.co/hKvjqn/opn.jpg) (https://ibb.co/hKvjqn)
About the error, i see just now, i copy report to text :
System: Firmware: Reporter
Unfortunately we have detected at least one programming bug.
Would you like to submit this crash report to the developers?
You can help us further by adding your contact information and a problem description. Please note that providing your contact information greatly improves the chances of bugs being fixed.
your@email.com
A short problem description or steps to reproduce.
Please double-check the following contents to ensure you are comfortable submitting the following information.
System Information:
User-Agent Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
FreeBSD 11.1-RELEASE-p6 6621d681e(stable/18.1)
OPNsense 17.7.12_1-d0434f481 [17.7.9_9-25ec3c298] OpenSSL 1.0.2n 7 Dec 2017 (i386)
Plugins os-dyndns-1.5
Time Mon, 12 Feb 2018 23:38:44 +0100
PHP Errors:
[12-Feb-2018 23:04:44 Europe/Rome] PHP Warning: copy(/usr/local/etc/pkg/repos/origin.conf.sample): failed to open stream: No such file or directory in /usr/local/etc/inc/system.inc on line 939
dmesg.boot:
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE-p6 6621d681e(stable/18.1) i386
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(vga): resolution 640x480
[HBSD HARDENING] procfs hardening: enabled
[HBSD ASLR] status: opt-out
[HBSD ASLR] mmap: 14 bit
[HBSD ASLR] exec base: 14 bit
[HBSD ASLR] stack: 14 bit
[HBSD ASLR] vdso: 8 bit
[HBSD LOG] logging to system: enabled
[HBSD LOG] logging to user: disabled
[HBSD SEGVGUARD] status: opt-out
[HBSD SEGVGUARD] expiry: 120 sec
[HBSD SEGVGUARD] suspension: 600 sec
[HBSD SEGVGUARD] maxcrashes: 5
CPU: Geode(TM) Integrated Processor by AMD PCS (498.06-MHz 586-class CPU)
Origin="AuthenticAMD" Id=0x5a2 Family=0x5 Model=0xa Stepping=2
Features=0x88a93d
AMD Features=0xc0400000
real memory = 268435456 (256 MB)
avail memory = 230727680 (220 MB)
pnpbios: Bad PnP BIOS data checksum
random: unblocking device.
Timecounter "TSC" frequency 498061422 Hz quality 800
taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0
taskqgroup_adjust failed cnt: 1 stride: 1 mp_ncpus: 1 smp_started: 0
random: entropy device external interface
wlan: mac acl policy registered
kbd0 at kbdmux0
K6-family MTRR support enabled (2 registers)
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xc1167490, 0) error 19
ACPI BIOS Error (bug): A valid RSDP was not found (20170303/tbxfroot-369)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
vtvga0: on motherboard
cryptosoft0: on motherboard
pcib0 pcibus 0 on motherboard
pci0: on pcib0
pci0: at device 1.2 (no driver attached)
vr0: port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0
vr0: Quirks: 0x2
vr0: Revision: 0x96
miibus0: on vr0
ukphy0: PHY 1 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
vr0: Ethernet address: 00:0d:b9:48:ef:60
vr1: port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0
vr1: Quirks: 0x2
vr1: Revision: 0x96
miibus1: on vr1
ukphy1: PHY 1 on miibus1
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
vr1: Ethernet address: 00:0d:b9:48:ef:61
vr2: port 0x1800-0x18ff mem 0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0
vr2: Quirks: 0x2
vr2: Revision: 0x96
miibus2: on vr2
ukphy2: PHY 1 on miibus2
ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
vr2: Ethernet address: 00:0d:b9:48:ef:62
isab0: port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0
isa0: on isab0
atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
ata0: at channel 0 on atapci0
ata1: at channel 1 on atapci0
ohci0: mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0
usbus0 on ohci0
ehci0: mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
cpu0 on motherboard
pmtimer0 on isa0
orm0: at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0
atrtc0: at port 0x70 irq 8 on isa0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: at port 0x40 on isa0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
ppc0: parallel port not found.
uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0
uart0: console (115200,n,8,1)
uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
nvme cam probe device init
ugen1.1: at usbus1
uhub0: on usbus1
ugen0.1: at usbus0
uhub1: on usbus0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: ATA-7 device
ada0: Serial Number TSS50036170703105714
ada0: 100.000MB/s transfers (UDMA5, PIO 512bytes)
ada0: 3831MB (7847280 512 byte sectors)
Trying to mount root from ufs:/dev/ufs/OPNsense_Nano [rw]...
WARNING: was not properly dismounted
WARNING: : mount pending error: blocks 4 files 0
uhub1: 4 ports with 4 removable, self powered
WARNING: : reload pending error: blocks 4 files 0
uhub0: 4 ports with 4 removable, self powered
OPNsense (c) 2014-2018 Deciso B.V.
Alix board? :D
Disable /tmp and /var MFS under System: Settings: Misc. Reboot.
Run the commands I mentioned earlier. Reboot.
It should bring you to 18.1.2_2.
Enable /tmp and /var MFS under System: Settings: Misc. Reboot.
Cheers,
Franco
/tmp and /var disabled
run the command
root@OPNsense:~ # opnsense-update -sn "18\/latest"
Missing origin.conf
root@OPNsense:~ # pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:i386/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.10.3_1...
package pkg is already installed, forced install
Extracting pkg-1.10.3_1: 100%
root@OPNsense:~ # pkg upgrade -f
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 1.2MB/s 00:05
Processing entries: 100%
FreeBSD repository update completed. 28736 packages processed.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (127 candidates): 100%
Processing candidates (127 candidates): 100%
The following 131 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
libprelude: 1.2.6
libgcrypt: 1.8.2
libgpg-error: 1.27
gnutls: 3.5.16
trousers: 0.3.14_2
tpm-emulator: 0.7.4_2
p11-kit: 0.23.9
libtasn1: 4.12
libidn2: 2.0.4
libunistring: 0.9.8
libhtp: 0.5.25
openldap-client: 2.4.45
php56-hash: 5.6.32_1
php56: 5.6.32_1
php56-json: 5.6.32_1
php56-pdo: 5.6.32_1
lua52: 5.2.4
Installed packages to be UPGRADED:
unbound: 1.6.7_1 -> 1.6.8
radvd: 1.15 -> 2.17
php71-zlib: 7.1.13 -> 7.1.14
php71-xml: 7.1.13 -> 7.1.14
php71-sqlite3: 7.1.13 -> 7.1.14
php71-sockets: 7.1.13 -> 7.1.14
php71-simplexml: 7.1.13 -> 7.1.14
php71-session: 7.1.13 -> 7.1.14
php71-pdo: 7.1.13 -> 7.1.14
php71-openssl: 7.1.13 -> 7.1.14
php71-mcrypt: 7.1.13 -> 7.1.14
php71-ldap: 7.1.13 -> 7.1.14
php71-json: 7.1.13 -> 7.1.14
php71-intl: 7.1.13 -> 7.1.14
php71-hash: 7.1.13 -> 7.1.14
php71-gettext: 7.1.13 -> 7.1.14
php71-filter: 7.1.13 -> 7.1.14
php71-dom: 7.1.13 -> 7.1.14
php71-curl: 7.1.13 -> 7.1.14
php71-ctype: 7.1.13 -> 7.1.14
php71: 7.1.13 -> 7.1.14
phalcon: 3.2.4 -> 3.3.0
libevent: 2.1.8 -> 2.1.8_1
curl: 7.57.0 -> 7.58.0
clog: 1.0.1_3 -> 1.6
ca_root_nss: 3.34.1 -> 3.35
Installed packages to be DOWNGRADED:
py27-setuptools: 38.2.5 -> 36.5.0
py27-cryptography: 2.0.3_1 -> 2.0.3
py27-cffi: 1.11.2 -> 1.7.0
liblz4: 1.8.1,1 -> 1.8.0,1
isc-dhcp43-server: 4.3.6_2 -> 4.3.6_1
cyrus-sasl: 2.1.26_13 -> 2.1.26_12
apinger: 0.7 -> 0.6.1_3
Installed packages to be REINSTALLED:
pkg-1.10.3_1
zip-3.0_1
wpa_supplicant-2.6_2
suricata-4.0.3
sudo-1.8.21p2_1
strongswan-5.6.0
squid-3.5.27_2
sqlite3-3.21.0_1
samplicator-1.3.8.r1
rrdtool12-1.2.30_7
readline-7.0.3_1
rate-0.9_1
python27-2.7.14_1
py27-urllib3-1.22
py27-ujson-1.35
py27-sqlite3-2.7.14_7
py27-six-1.11.0
py27-requests-2.18.1_1
py27-pytz-2017.3,1
py27-pysocks-1.6.8
py27-pycparser-2.10
py27-openssl-17.3.0
py27-netaddr-0.7.19
py27-ipaddress-1.0.19
py27-idna-2.5
py27-enum34-1.1.6
py27-chardet-3.0.4
py27-certifi-2017.11.5
py27-asn1crypto-0.22.0
py27-MarkupSafe-1.0
py27-Jinja2-2.10
py27-Babel-2.5.1
png-1.6.34
pkgconf-1.3.10,1
pftop-0.7_8
perl5-5.24.3
pecl-radius-1.4.0.b1
pcre-8.40_1
openvpn-2.4.4
openssl-1.0.2n,1
openssh-portable-7.6.p1_3,1
openldap-sasl-client-2.4.45
ntp-4.2.8p10_2
nettle-3.4
mpd5-5.8_2
lzo2-2.10_1
lighttpd-1.4.48_1
libyaml-0.1.6_2
libxml2-2.9.7
libucl-0.8.0
libnghttp2-1.29.0
libnet-1.1.6_5,1
libmcrypt-2.5.8_3
libltdl-2.4.6
libiconv-1.14_11
libffi-3.2.1_2
libedit-3.1.20170329_2,1
libdaemon-0.14_1
libart_lgpl-2.3.21_3,1
ldns-1.7.0_1
krb5-1.15.2
jansson-2.10
isc-dhcp43-relay-4.3.6
isc-dhcp43-client-4.3.6
indexinfo-0.3.1
icu-60.2_1,1
hostapd-2.6_1
gmp-6.1.2
gettext-runtime-0.19.8.1_1
freetype2-2.8_1
flowd-0.9.1_3
flock-2.30.1
expiretable-0.6_1
expat-2.2.5
easy-rsa-3.0.1_1
dnsmasq-2.78,1
dhcp6-20080615.2
cpdup-1.18
choparp-20150613
beep-1.0_1
GeoIP-1.6.11
Number of packages to be installed: 17
Number of packages to be upgraded: 26
Number of packages to be reinstalled: 81
Number of packages to be downgraded: 7
The process will require 63 MiB more space.
84 MiB to be downloaded.
Proceed with this action? [y/N]: y
during this i lost connection continously
Timeout, server 192.168.1.1 not responding.
i can ping with positive reponse
after few time
[5/121] Extracting python27-2.7.14_1: 76%
: create/symlink failed, no inodes free
pkg: Fail to create temporary file: /usr/local/lib/python2.7/test/.test_functools.pyc.POaZMnBE1tUD:No space left on device
[5/121] Extracting python27-2.7.14_1: 100%
but
df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ufs/OPNsense_Nano 3916903 1087731 2515820 30% /
devfs 1 1 0 100% /dev
devfs 1 1 0 100% /var/dhcpd/dev
A simple pkg-upgrade work for 64 packages but in next pkg-upgrade -f it's stop again with python27-2.7.14_1
[5/124] Extracting python27-2.7.14_1: 34%
: create/symlink failed, no inodes free
pkg: Fail to create temporary file: /usr/local/lib/python2.7/idlelib/Icons/.idle_32.png.oawsrJr3r3Bu:No space left on device
[5/124] Extracting python27-2.7.14_1: 100%
No inodes free is suspicious.
Did you do anything to the install? Did something create thousands of files?
You should clean all caches:
# opnsense-update -es
# pkg clean -ya
And try again. But it looks like you are better off using a new Nano image and go with a config import. It is a lot less strain for your SD / CF card anyway.
Cheers,
Franco
Hi
root@OPNsense:~ # opnsense-update -e
Missing origin.conf
root@OPNsense:~ # pkg clean -ya
The following package files will be deleted:
...
...
...
The cleanup will free 84 MiB
Deleting files: 100%
All done
and after
root@OPNsense:~ # pkg upgrade -f
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 1.2MB/s 00:05
Processing entries: 100%
FreeBSD repository update completed. 28736 packages processed.
All repositories are up to date.
Checking for upgrades (139 candidates): 100%
Processing candidates (139 candidates): 100%
The following 130 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
php56-hash: 5.6.32_1
php56: 5.6.32_1
php56-json: 5.6.32_1
php56-pdo: 5.6.32_1
Installed packages to be UPGRADED:
phalcon: 3.2.4 -> 3.3.0
Installed packages to be DOWNGRADED:
liblz4: 1.8.1,1 -> 1.8.0,1
isc-dhcp43-server: 4.3.6_2 -> 4.3.6_1
cyrus-sasl: 2.1.26_13 -> 2.1.26_12
apinger: 0.7 -> 0.6.1_3
Installed packages to be REINSTALLED:
pkg-1.10.3_1
zip-3.0_1
wpa_supplicant-2.6_2
unbound-1.6.8
trousers-0.3.14_2
tpm-emulator-0.7.4_2
suricata-4.0.3
sudo-1.8.21p2_1
strongswan-5.6.0
squid-3.5.27_2
sqlite3-3.21.0_1
samplicator-1.3.8.r1
rrdtool12-1.2.30_7
readline-7.0.3_1
rate-0.9_1
radvd-2.17
python27-2.7.14_1
py27-urllib3-1.22
py27-ujson-1.35
py27-sqlite3-2.7.14_7
py27-six-1.11.0
py27-setuptools-36.5.0
py27-requests-2.18.1_1
py27-pytz-2017.3,1
py27-pysocks-1.6.8
py27-pycparser-2.10
py27-openssl-17.3.0
py27-netaddr-0.7.19
py27-ipaddress-1.0.19
py27-idna-2.5
py27-enum34-1.1.6
py27-cryptography-2.0.3
py27-chardet-3.0.4
py27-cffi-1.7.0
py27-certifi-2017.11.5
py27-asn1crypto-0.22.0
py27-MarkupSafe-1.0
py27-Jinja2-2.10
py27-Babel-2.5.1
png-1.6.34
pkgconf-1.3.10,1
php71-zlib-7.1.14
php71-xml-7.1.14
php71-sqlite3-7.1.14
php71-sockets-7.1.14
php71-simplexml-7.1.14
php71-session-7.1.14
php71-pdo-7.1.14
php71-openssl-7.1.14
php71-mcrypt-7.1.14
php71-ldap-7.1.14
php71-json-7.1.14
php71-intl-7.1.14
php71-hash-7.1.14
php71-gettext-7.1.14
php71-filter-7.1.14
php71-dom-7.1.14
php71-curl-7.1.14
php71-ctype-7.1.14
php71-7.1.14
pftop-0.7_8
perl5-5.24.3
pecl-radius-1.4.0.b1
pcre-8.40_1
p11-kit-0.23.9
openvpn-2.4.4
openssl-1.0.2n,1
openssh-portable-7.6.p1_3,1
openldap-client-2.4.45
ntp-4.2.8p10_2
nettle-3.4
mpd5-5.8_2
lzo2-2.10_1
lua52-5.2.4
lighttpd-1.4.48_1
libyaml-0.1.6_2
libxml2-2.9.7
libunistring-0.9.8
libucl-0.8.0
libtasn1-4.12
libprelude-1.2.6
libnghttp2-1.29.0
libnet-1.1.6_5,1
libmcrypt-2.5.8_3
libltdl-2.4.6
libidn2-2.0.4
libiconv-1.14_11
libhtp-0.5.25
libgpg-error-1.27
libgcrypt-1.8.2
libffi-3.2.1_2
libevent-2.1.8_1
libedit-3.1.20170329_2,1
libdaemon-0.14_1
libart_lgpl-2.3.21_3,1
ldns-1.7.0_1
krb5-1.15.2
jansson-2.10
isc-dhcp43-relay-4.3.6
isc-dhcp43-client-4.3.6
indexinfo-0.3.1
icu-60.2_1,1
hostapd-2.6_1
gnutls-3.5.16
gmp-6.1.2
gettext-runtime-0.19.8.1_1
freetype2-2.8_1
flowd-0.9.1_3
flock-2.30.1
expiretable-0.6_1
expat-2.2.5
easy-rsa-3.0.1_1
dnsmasq-2.78,1
dhcp6-20080615.2
curl-7.58.0
cpdup-1.18
clog-1.6
choparp-20150613
ca_root_nss-3.35
beep-1.0_1
GeoIP-1.6.11
Number of packages to be installed: 4
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 121
Number of packages to be downgraded: 4
The process will require 19 MiB more space.
83 MiB to be downloaded.
Proceed with this action? [y/N]: y
...
[130/130] Fetching php56-pdo-5.6.32_1.txz: 100% 41 KiB 41.5kB/s 00:01
Checking integrity... done (8 conflicting)
- php56-hash-5.6.32_1 conflicts with php71-hash-7.1.14 on /usr/local/include/php/ext/hash/php_hash_crc32_tables.h
- php56-hash-5.6.32_1 conflicts with php71-hash-7.1.14 on /usr/local/include/php/ext/hash/php_hash_crc32_tables.h
- php56-5.6.32_1 conflicts with php71-7.1.14 on /usr/local/bin/php
- php56-5.6.32_1 conflicts with php71-7.1.14 on /usr/local/bin/php
- php56-json-5.6.32_1 conflicts with php71-json-7.1.14 on /usr/local/include/php/ext/json/php_json.h
- php56-json-5.6.32_1 conflicts with php71-json-7.1.14 on /usr/local/include/php/ext/json/php_json.h
- php56-pdo-5.6.32_1 conflicts with php71-pdo-7.1.14 on /usr/local/include/php/ext/pdo/php_pdo.h
- php56-pdo-5.6.32_1 conflicts with php71-pdo-7.1.14 on /usr/local/include/php/ext/pdo/php_pdo.h
Cannot solve problem using SAT solver, trying another plan
Cannot solve problem using SAT solver, trying another plan
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 127 package(s) will be affected (of 0 checked):
Installed packages to be DOWNGRADED:
liblz4: 1.8.1,1 -> 1.8.0,1
isc-dhcp43-server: 4.3.6_2 -> 4.3.6_1
cyrus-sasl: 2.1.26_13 -> 2.1.26_12
apinger: 0.7 -> 0.6.1_3
Installed packages to be REINSTALLED:
indexinfo-0.3.1
readline-7.0.3_1
libffi-3.2.1_2
gettext-runtime-0.19.8.1_1
python27-2.7.14_1
py27-setuptools-36.5.0
py27-pycparser-2.10
gmp-6.1.2
tpm-emulator-0.7.4_2
py27-six-1.11.0
py27-ipaddress-1.0.19
py27-idna-2.5
py27-enum34-1.1.6
py27-cffi-1.7.0
py27-asn1crypto-0.22.0
libunistring-0.9.8
libtasn1-4.12
ca_root_nss-3.35
trousers-0.3.14_2
py27-cryptography-2.0.3
pcre-8.40_1
p11-kit-0.23.9
nettle-3.4
libxml2-2.9.7
libidn2-2.0.4
libgpg-error-1.27
py27-pytz-2017.3,1
py27-pysocks-1.6.8
py27-openssl-17.3.0
py27-certifi-2017.11.5
php71-7.1.14
libnghttp2-1.29.0
libltdl-2.4.6
libiconv-1.14_11
libgcrypt-1.8.2
libedit-3.1.20170329_2,1
gnutls-3.5.16
sqlite3-3.21.0_1
py27-urllib3-1.22
py27-chardet-3.0.4
py27-MarkupSafe-1.0
py27-Babel-2.5.1
png-1.6.34
pkgconf-1.3.10,1
perl5-5.24.3
openldap-client-2.4.45
lzo2-2.10_1
lua52-5.2.4
libyaml-0.1.6_2
libprelude-1.2.6
libnet-1.1.6_5,1
libmcrypt-2.5.8_3
libhtp-0.5.25
libevent-2.1.8_1
libdaemon-0.14_1
libart_lgpl-2.3.21_3,1
ldns-1.7.0_1
jansson-2.10
icu-60.2_1,1
freetype2-2.8_1
expat-2.2.5
easy-rsa-3.0.1_1
curl-7.58.0
pkg-1.10.3_1
zip-3.0_1
wpa_supplicant-2.6_2
unbound-1.6.8
suricata-4.0.3
sudo-1.8.21p2_1
strongswan-5.6.0
squid-3.5.27_2
samplicator-1.3.8.r1
rrdtool12-1.2.30_7
rate-0.9_1
radvd-2.17
py27-ujson-1.35
py27-sqlite3-2.7.14_7
py27-requests-2.18.1_1
py27-netaddr-0.7.19
py27-Jinja2-2.10
php71-zlib-7.1.14
php71-xml-7.1.14
php71-sqlite3-7.1.14
php71-sockets-7.1.14
php71-simplexml-7.1.14
php71-session-7.1.14
php71-openssl-7.1.14
php71-mcrypt-7.1.14
php71-ldap-7.1.14
php71-intl-7.1.14
php71-gettext-7.1.14
php71-filter-7.1.14
php71-dom-7.1.14
php71-curl-7.1.14
php71-ctype-7.1.14
pftop-0.7_8
openvpn-2.4.4
openssl-1.0.2n,1
openssh-portable-7.6.p1_3,1
ntp-4.2.8p10_2
mpd5-5.8_2
lighttpd-1.4.48_1
libucl-0.8.0
krb5-1.15.2
isc-dhcp43-relay-4.3.6
isc-dhcp43-client-4.3.6
hostapd-2.6_1
flowd-0.9.1_3
flock-2.30.1
expiretable-0.6_1
dnsmasq-2.78,1
dhcp6-20080615.2
cpdup-1.18
clog-1.6
choparp-20150613
beep-1.0_1
GeoIP-1.6.11
Number of packages to be reinstalled: 117
Number of packages to be downgraded: 4
Proceed with this action? [y/N]y
[1/127] Reinstalling indexinfo-0.3.1...
[1/127] Extracting indexinfo-0.3.1: 100%
[2/127] Reinstalling readline-7.0.3_1...
[2/127] Extracting readline-7.0.3_1: 100%
[3/127] Reinstalling libffi-3.2.1_2...
[3/127] Extracting libffi-3.2.1_2: 100%
[4/127] Reinstalling gettext-runtime-0.19.8.1_1...
[4/127] Extracting gettext-runtime-0.19.8.1_1: 100%
[5/127] Reinstalling python27-2.7.14_1...
[5/127] Extracting python27-2.7.14_1: 36%
: create/symlink failed, no inodes free
: create/symlink failed, no inodes free
pkg: Fail to create temporary file: /usr/local/lib/python2.7/idlelib/.WidgetRedirector.py.7Ro2xsaomzDC:No space left on device
[5/127] Extracting python27-2.7.14_1: 100%
: create/symlink failed, no inodes free
in python the progress fails everytimes
# df -hi
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ufs/OPNsense_Nano 3.7G 1.1G 2.4G 31% 45k 9 100% /
devfs 1.0K 1.0K 0B 100% 0 0 100% /dev
devfs 1.0K 1.0K 0B 100% 0 0 100% /var/dhcpd/dev
I have not done any particular configuration
I'm doing some tests at home but unfortunately I still could not do what I wanted
So the 4/5 times I turned it on for the tests I took the opportunity to update from the web gui in case there were updates.
until 17.7.12-1 everything is OK
The transition to 18.1 made me dry
(https://preview.ibb.co/i1VE87/t2.png) (https://ibb.co/dcRnT7)
upload image (https://imgbb.com/)
i need to investigate the disk about inodes?
https://doc.pfsense.org/index.php/Filesystem_Full_/_Out_of_Inode_Errors (https://doc.pfsense.org/index.php/Filesystem_Full_/_Out_of_Inode_Errors)
i tried access from web gui and sometimes isen't loading the indoes free fall down
# df -hi
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ufs/OPNsense_Nano 3.7G 1.0G 2.4G 29% 45k 1 100% /
devfs 1.0K 1.0K 0B 100% 0 0 100% /dev
devfs 1.0K 1.0K 0B 100% 0 0 100% /var/dhcpd/dev
a few seconds it restart and inodes grow up
# df -hi
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ufs/OPNsense_Nano 3.7G 1.0G 2.4G 29% 45k 259 99% /
devfs 1.0K 1.0K 0B 100% 0 0 100% /dev
devfs 1.0K 1.0K 0B 100% 0 0 100% /var/dhcpd/dev
Missing origin.conf
That is bad. At this point I think you are installing via FreeBSD, not OPNsense.
Last method to resort to...
# opnsense-bootstrap -r 18.1
Cheers,
Franco
Hi Franco chapeau ! ;)
last method workd fine
delete old file and install the new, but at the end
% /etc/rc.d/devfs restart
Message from opnsense-18.1.2_2:
Gecko got the groove
Fetching base-18.1-i386.obsolete: ... done
Fetching base-18.1-i386.txz: ................................................. done
Fetching kernel-18.1-i386.txz: .................... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing kernel-18.1-i386.txz... done
Installing base-18.1-i386.txz..../var/db/etcupdate/current/etc/rc.d/cleartmp: Can't create 'var/db/etcupdate/current/etc/rc.d/cleartmp'
tar: Error exit delayed from previous errors.
failed
at reboot
(https://thumb.ibb.co/dx61O7/suk.png) (https://ibb.co/dx61O7)
OPNsense 18.1.2_2-i386 is installed but a message continue to appear A problem was detected. Click here for more information.
in a shell
*** OPNsense.localdomain: OPNsense 18.1.2_2 (i386/OpenSSL) ***
LAN (vr0) -> v4: 192.168.1.1/24
WAN (vr1) -> v4/DHCP4: 192.168.0.150/24
0) Logout 7) Ping host
1) Assign interfaces 8) Shell
2) Set interface IP address 9) pfTop
3) Reset the root password 10) Firewall log
4) Reset to factory defaults 11) Reload all services
5) Power off system 12) Upgrade from console
6) Reboot system 13) Restore a backup
Enter an option: 12
Fetching change log information, please wait... No trusted fingerprint found matching file's certificate
This will automatically fetch all available updates, apply them,
and reboot if necessary.
Proceed with this action? [y/N]: y
Missing origin.conf
A firmware update is currently in progress.
*** OPNsense.localdomain: OPNsense 18.1.2_2 (i386/OpenSSL) ***
how i can solve it for future upgrade? Missing origin.conf
now i'm satisfied 'cause upgrade it's ok
start 17.7.6->17.7.10->17.7.12_1 with web gui no problem
in upgrade to 18.1 something broken the process
LAst question, can i enable again /tmp and /var MFS ?
thank's
edit
# df -hi
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ufs/OPNsense_Nano 3.7G 1.0G 2.4G 31% 42k 3.0k 93% /
devfs 1.0K 1.0K 0B 100% 0 0 100% /dev
devfs 1.0K 1.0K 0B 100% 0 0 100% /var/dhcpd/dev
Origin.conf should be back when you do:
# pkg install -f opnsense-update
But I think something happened with your file system that makes your system behave this way... quite erratic.
You can enable /tmp and /var MFS again, but I would not recommend attempting further updates without a clean reinstall. The issue could come back even on minor upgrades. In fact if origin.conf is missing then you don't track our updates, you track FreeBSD. :(
Cheers,
Franco
Hi Franco
i'm sorry 'cause my answer comes too late but i can work at this only in the night when i'm at home
i don't know why it take freeBSD repo
# pkg install -f opnsense-update
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 6 MiB 1.2MB/s 00:05
Processing entries: 100%
FreeBSD repository update completed. 28734 packages processed.
All repositories are up to date.
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
The most recent version of packages are already installed
root@OPNsense:~ # exit
exit
*** OPNsense.localdomain: OPNsense 18.1.2_2 (i386/OpenSSL) ***
LAN (vr0) -> v4: 192.168.1.1/24
WAN (vr1) -> v4/DHCP4: 192.168.0.150/24
0) Logout 7) Ping host
1) Assign interfaces 8) Shell
2) Set interface IP address 9) pfTop
3) Reset the root password 10) Firewall log
4) Reset to factory defaults 11) Reload all services
5) Power off system 12) Upgrade from console
6) Reboot system 13) Restore a backup
Enter an option: 12
Fetching change log information, please wait... No trusted fingerprint found matching file's certificate
This will automatically fetch all available updates, apply them,
and reboot if necessary.
Proceed with this action? [y/N]: y
Missing origin.conf
A firmware update is currently in progress.
*** OPNsense.localdomain: OPNsense 18.1.2_2 (i386/OpenSSL) ***
# df -hi
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/ufs/OPNsense_Nano 3.7G 1.1G 2.3G 32% 42k 3.0k 93% /
devfs 1.0K 1.0K 0B 100% 0 0 100% /dev
tmpfs 50M 12M 38M 24% 166 2.1G 0% /var
tmpfs 39M 576K 38M 1% 64 2.1G 0% /tmp
devfs 1.0K 1.0K 0B 100% 0 0 100% /var/dhcpd/dev
probably i need a fresh re-install, but it's my first time, i need a serial cable (tomorrow) and a image in a usb stick ,
it's this ? : OPNsense-18.1-OpenSSL-serial-i386.img.bz2
it's correct this doc : https://doc.pfsense.org/index.php/Installing_pfSense ?
The Alix 2D3's need a lot of finagling to make work when upgrading or doing complicated setups.
They are very low on CPU and memory; SWAP too slow to really be usable on sync mounted CF. Definitely EOL.
We have a bunch still as AP's; they're a pain sometimes.
You'd be well advices with a newer Alix board, the APU1 and 2's are really nice. Unfortunately the Alix series are getting a bit too old to run the newer distros.
Thanks for the advice
I bought this alix by mistake and so I keep it for what it is without big claims.
For now it is between my router and my small LAN home.
I will wait for the next update to see if it succeeds otherwise I will do a new installation and then import the configuration that I saved.
Apart from the first tests I've been in for two days working in a continuous way without problems (but it's early to sing victory)
You should enable the swap partition and /var and /tmp RAM mounts on Alix.
Do not use traffic graphing and disable all RRD; it save memory and CPU.
If you want a swap file < 2Gb, enable the checkbox in the GUI and do the following: (in this example 1Gb)
Quote
dd if=/dev/zero of=/usr/swap0 bs=1m count=1024
chmod 0600 /usr/swap0
mdconfig -a -t vnode -f /usr/swap0 -u /dev/md98
swapon /dev/md98
Or to change size:
Quote
swapoff -a
swapoff /dev/md98
mdconfig -d -u 98
dd if=/dev/zero of=/usr/swap0 bs=1m count=1536
chmod 0600 /usr/swap0
mdconfig -a -t vnode -f /usr/swap0 -u /dev/md98
swapon /dev/md98
Thanks for the advice
about the swap i don't have much space and /var /tmp are enabled
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/OPNsense_Nano 3.7G 1.1G 2.4G 31% /
devfs 1.0K 1.0K 0B 100% /dev
tmpfs 57M 31M 26M 54% /var
tmpfs 27M 680K 26M 2% /tmp
devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev
without net flow cpu consumption is not bad
last pid: 15996; load averages: 0.08, 0.12, 0.47 up 1+00:00:35 23:28:59
37 processes: 1 running, 36 sleeping
CPU: 0.4% user, 0.0% nice, 0.4% system, 1.1% interrupt, 98.1% idle
Mem: 54M Active, 95M Inact, 44M Wired, 7822K Buf, 30M Free
Swap:
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
1017 root 1 20 0 7264K 2800K RUN 0:08 0.28% top
26045 root 1 20 0 6140K 1772K bpf 0:32 0.05% filterlog
99848 root 1 20 0 9300K 5004K select 0:01 0.02% sshd
76224 root 1 20 0 5984K 1888K select 0:06 0.01% syslogd
78052 root 1 20 0 8992K 9024K select 0:04 0.01% ntpd
71105 root 1 20 0 11064K 6384K kqread 2:34 0.01% lighttpd
378 root 1 20 0 24256K 15340K accept 4:04 0.00% python2.7
now is 24 hours that opnsense is working
the only problem i've to solve is:
Missing origin.conf
I want to see how he arranges for the next update
tips are always welcome :)