Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Locked out after upgrade
« previous
next »
Print
Pages: [
1
]
Author
Topic: Locked out after upgrade (Read 6444 times)
interfaSys
Full Member
Posts: 165
Karma: 13
Locked out after upgrade
«
on:
February 04, 2017, 06:17:08 pm »
I upgraded via
Code:
[Select]
# opnsense-update -ur 17.1 -l.
The box rebooted a couple of times.
Side effects:
The boot picture is gone
There is no console menu any more
root password is refused
network is not configure properly
This means that I'm locked out and the router seems to be bricked. The line above the login prompt is on point... : <something>/Amnesia
Logged
GurliGebis
Newbie
Posts: 42
Karma: 3
Re: Locked out after upgrade
«
Reply #1 on:
February 04, 2017, 09:02:07 pm »
IIRC there is an issue with upgrades reverting to having the default console on serial instead of vga.
Does the machine you are running it on have a serial port?
Logged
interfaSys
Full Member
Posts: 165
Karma: 13
Re: Locked out after upgrade
«
Reply #2 on:
February 04, 2017, 09:14:24 pm »
Unfortunately, no
Can this be reverted in the boot console or in single-user mode?
Logged
interfaSys
Full Member
Posts: 165
Karma: 13
Re: Locked out after upgrade
«
Reply #3 on:
February 04, 2017, 10:55:37 pm »
OK, so the whole system is broken.
I enabled the vga console and changed the root password. That allowed me to login, but then nothing works as all the rc.initial files are missing. Copying them doesn't help as the dependencies are missing.
Trying to run opnsense-update doesn't help. It tells me everything is up to date.
I installed opnsense-stable-17.1 to see if it would give me the missing files and it kicked me out, preventing me from logging in again and re-installed all packages at next boot.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Locked out after upgrade
«
Reply #4 on:
February 05, 2017, 08:00:01 pm »
This post starts with a manual upgrade command "# opnsense-update -ur 17.1 -l.", but it fails to note which version it was upgraded from. The problem is: updates from anything before 16.7.14 will fail hard.
What was the original issue that led to typing the upgrade command copied from another thread? We're missing something...
Cheers,
Franco
Logged
interfaSys
Full Member
Posts: 165
Karma: 13
Re: Locked out after upgrade
«
Reply #5 on:
February 06, 2017, 01:39:18 am »
>The problem is: updates from anything before 16.7.14 will fail hard.
That's probably the problem then. I think I was on one of the first 16.7 releases.
>What was the original issue that led to typing the upgrade command copied from another thread? We're missing something...
An issue I often had. When manually updating packages, I often end up with a broken PHP because phalcon is not loaded any more. I can re-install from a backed up package, but this time phalcon had a problem with a missing pdo symbol and configd would no longer run.
Installing the vanilla packages seemed like a better option than trying to fix things.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Locked out after upgrade
«
Reply #6 on:
February 06, 2017, 05:39:10 am »
I see, you did install packages using the ports tree manually if I recall correctly?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
Locked out after upgrade