Upgrading on WebIF to 19.7.r1 doesn´t work?

Started by Bytechanger, July 09, 2019, 05:50:27 PM

Previous topic - Next topic
Okay, so does this always happen, even on the first upgrade attempt?

> 9) System hangs (no connection)
> 10) Push Power off/on

Do you have a console to see why it hangs?

The upgrade.log did indicate it stops/hangs and is forcefully cut off as well without an error to show for.

On tv, there is no wan/modem = no internet.
So webif upgrade doesnt work!

On wan/modem, there is no tv/monitor, so i can' t see console....

is there a possibility to upgrade without wan/internet?


o I have to think about it...

July 10, 2019, 06:09:27 PM #17 Last Edit: July 10, 2019, 06:12:38 PM by franco
I don't understand. The upgrade is staged so as to be able to do it all offline before networking comes up.

I only can push button Upgrade, when internet is connected.
After that, upgrade loads data and reboots my system. Than, system hangs.
After shut down and start again, old system is back....

I think, i can't push upgrade without internet connection....

Byte

It's stuck for a yet unknown reason, but it's not missing internet connectivity.

The log is cut because the system is switched off. After the forced reboot the system is back where it hang in a half-upgraded state.

I'm trying to reproduce this now by adding the os-wireguard-devel plugin to an otherwise working upgrade procedure... back in a few minutes :)


Cheers,
Franco

So it worked fine. But I noticed that I only have [149/149].

What else did you install and from where? We have 41 packages unaccounted for.

# pkg query %n:%R


Thanks,
Franco

July 10, 2019, 06:47:25 PM #21 Last Edit: July 10, 2019, 07:30:43 PM by Bytechanger
Thanks for help:


sudo pkg query %n:%R
Password:
acme.sh:OPNsense
arp-scan:OPNsense
bash:OPNsense
beep:OPNsense
bind-tools:OPNsense
bind914:OPNsense
bsdinstaller:OPNsense
ca_root_nss:OPNsense
choparp:OPNsense
clog:OPNsense
cpdup:OPNsense
cpustats:OPNsense
curl:OPNsense
cvsps:OPNsense
cyrus-sasl:OPNsense
dhcp6c:OPNsense
dhcpleases:OPNsense
dmidecode:OPNsense
dnsmasq:OPNsense
dpinger:OPNsense
e2fsprogs-libuuid:OPNsense
expat:OPNsense
expiretable:OPNsense
filterlog:OPNsense
flock:OPNsense
flowd:OPNsense
freeradius3:OPNsense
gdbm:OPNsense
gettext-runtime:OPNsense
git:OPNsense
glib:OPNsense
gmp:OPNsense
haproxy18:OPNsense
hostapd:OPNsense
hyperscan:OPNsense
ifinfo:OPNsense
indexinfo:OPNsense
isc-dhcp44-relay:OPNsense
isc-dhcp44-server:OPNsense
jansson:OPNsense
json-c:OPNsense
krb5:OPNsense
ldns:OPNsense
libargon2:OPNsense
libdaemon:OPNsense
libedit:OPNsense
libevent:OPNsense
libffi:OPNsense
libiconv:OPNsense
libidn2:OPNsense
liblz4:OPNsense
libnet:OPNsense
libnghttp2:OPNsense
libucl:OPNsense
libunistring:OPNsense
libxml2:OPNsense
libyaml:OPNsense
lighttpd:OPNsense
lmdb:OPNsense
lua53:OPNsense
lzo2:OPNsense
mdns-repeater:OPNsense
monit:OPNsense
mpd5:OPNsense
mysql56-client:OPNsense
nettle:OPNsense
ntp:OPNsense
openldap-sasl-client:OPNsense
openssh-portable:OPNsense
openssl:OPNsense
openvpn:OPNsense
opnsense-devel:OPNsense
opnsense-lang:OPNsense
opnsense-update:OPNsense
os-acme-client-devel:OPNsense
os-api-backup-devel:OPNsense
os-arp-scan-devel:OPNsense
os-bind-devel:OPNsense
os-debug-devel:OPNsense
os-dmidecode-devel:OPNsense
os-dyndns-devel:OPNsense
os-freeradius-devel:OPNsense
os-haproxy-devel:OPNsense
os-mdns-repeater-devel:OPNsense
os-smart-devel:OPNsense
os-wireguard-devel:OPNsense
p5-Error:OPNsense
p5-File-Slurp:OPNsense
pam_opnsense:OPNsense
pcre:OPNsense
perl5:OPNsense
pftop:OPNsense
php72:OPNsense
php72-ctype:OPNsense
php72-curl:OPNsense
php72-dom:OPNsense
php72-filter:OPNsense
php72-gettext:OPNsense
php72-hash:OPNsense
php72-json:OPNsense
php72-ldap:OPNsense
php72-openssl:OPNsense
php72-pdo:OPNsense
php72-pear:OPNsense
php72-pear-PHP_CodeSniffer:OPNsense
php72-pecl-radius:OPNsense
php72-pecl-xdebug:OPNsense
php72-phalcon:OPNsense
php72-phar:OPNsense
php72-phpseclib:OPNsense
php72-session:OPNsense
php72-simplexml:OPNsense
php72-sockets:OPNsense
php72-sqlite3:OPNsense
php72-tokenizer:OPNsense
php72-xml:OPNsense
php72-xmlwriter:OPNsense
php72-zlib:OPNsense
phpunit7-php72:OPNsense
pkg:OPNsense
py27-Babel:OPNsense
py27-Jinja2:OPNsense
py27-MarkupSafe:OPNsense
py27-asn1crypto:OPNsense
py27-certifi:OPNsense
py27-cffi:OPNsense
py27-chardet:OPNsense
py27-cryptography:OPNsense
py27-dnspython:OPNsense
py27-enum34:OPNsense
py27-idna:OPNsense
py27-ipaddress:OPNsense
py27-netaddr:OPNsense
py27-openssl:OPNsense
py27-ply:OPNsense
py27-pycparser:OPNsense
py27-pysocks:OPNsense
py27-pytz:OPNsense
py27-requests:OPNsense
py27-setuptools:OPNsense
py27-six:OPNsense
py27-sqlite3:OPNsense
py27-ujson:OPNsense
py27-urllib3:OPNsense
py27-yaml:OPNsense
py37-Babel:OPNsense
py37-Jinja2:OPNsense
py37-MarkupSafe:OPNsense
py37-asn1crypto:OPNsense
py37-certifi:OPNsense
py37-cffi:OPNsense
py37-chardet:OPNsense
py37-cryptography:OPNsense
py37-dnspython:OPNsense
py37-idna:OPNsense
py37-netaddr:OPNsense
py37-openssl:OPNsense
py37-pycodestyle:OPNsense
py37-pycparser:OPNsense
py37-pysocks:OPNsense
py37-pytz:OPNsense
py37-requests:OPNsense
py37-setuptools:OPNsense
py37-six:OPNsense
py37-sqlite3:OPNsense
py37-ujson:OPNsense
py37-urllib3:OPNsense
python27:OPNsense
python37:OPNsense
radvd1:OPNsense
rate:OPNsense
readline:OPNsense
rrdtool:OPNsense
samplicator:OPNsense
smartmontools:OPNsense
socat:OPNsense
sqlite3:OPNsense
squid:OPNsense
sshlockout_pf:OPNsense
strongswan:OPNsense
sudo:OPNsense
suricata:OPNsense
syslog-ng:OPNsense
syslogd:OPNsense
talloc:OPNsense
unbound:OPNsense
vim-console:OPNsense
wireguard:OPNsense
wireguard-go:OPNsense
wpa_supplicant:OPNsense
zip:OPNsense



EDIT:
All from WebIf installed

Quote from: AhnHEL on July 10, 2019, 04:38:33 PM
When you're in the WebUI, and you've successfully upgraded to the Development Version 19.7r_1, and you go back to the Production Release type to try to Update to r.1, there are three buttons; Update, Unlock and Upgrade.

Use the "Update" button to get r.1

If you Unlock and Upgrade again you will just get back to r_1.
+ mIxed of Bytechanger...

I went through this weird behavior yesterday, too. I had even explicitly typed 19.7.r1 under point 12 in the console to upgrade but ended up with a complete freezing in 19.7.b_148. (cold restart)
Then via the GUI in 19.7.r_1 and sometime in 19.7.r1.
What is still noticeable is that the Smart Plugin doesn't run as a widget anymore and flowd doesn't display any more despite resetting the data. :(
Up to now I thought this is a special case but here seems to be something wrong.

cheers till

190 packages upgraded ok. I'm not sure about the implications of starting/restarting Configd that early, but OTOH there haven't been any issues with that system in place for a couple of major iterations already. I am at a loss what the trigger is here.

Does someone have a screenshot or console output of the hanging upgrade?


Cheers,
Franco

Hi,

now I connect my beamer and change to vga console.
Installing goes with many many messages up to...

Message from opnsense-devel-19.7.r_1:

Carry on my wayward son
Checking integrity...
[...]

pkg-static: Repository OPNsense has a wrong packagesitem need to re-create database
pkg-static: Repository OPNsense cannot be opened. 'pkg update' required
Nothing to do.
Please reboot.
after that, a reboot is done and OPNsense come with "old" version.

Quote from: franco on July 11, 2019, 08:26:11 AM
...
Does someone have a screenshot or console output of the hanging upgrade?
...
Cheers,
Franco
Hi Franco,
unfortunately no but the display of the terminal that didn't react to anything showed waiting for a PID (not helpful I know).
cheers
till

That's a clue at least. I would suspect if it's waiting for a PID it would be configd because that's what is being restarted a number of times (one time for each plugin). I'll try to disable the reload for the upgrade bits as it may be the solution here.


Cheers,
Franco

OK, there was an error because of pid:

[...]
[186/190] Extracting os-bind-devel-1.5: ........
Starting configd
Unable to lock on the pidfile.
/usr/local/etc/rc.d/configd: WARNING failed to start configd
Keep version OPNsense\Bind}Dnsbl (1.0.5)
[...]

Helps that?

Greets

Byte