OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: bimmerdriver on July 30, 2020, 01:40:53 am

Title: Question about updating beta
Post by: bimmerdriver on July 30, 2020, 01:40:53 am
I'm running this version:

OPNsense 20.7.b_244-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
OpenSSL 1.1.1g 21 Apr 2020

I updated using the following"

opnsense-update

This results in:

Nothing to do.

opnsense-code core

This result in the following:

Fetching origin
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

Already up to date.
ABI 20.1 is no longer supported
Fetching origin
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

Already up to date.

What is the recommended next step?
Title: Re: Question about updating beta
Post by: mimugmail on July 30, 2020, 06:02:28 am
Switch to production back, stable will be released today ;)
Title: Re: Question about updating beta
Post by: bimmerdriver on August 08, 2020, 04:20:31 am
I tried git config pull.rebase true before opnsense-code core. The same message appeared as I posted previously.

The system is now at:

OPNsense 21.1.a_15-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
OpenSSL 1.1.1g 21 Apr 2020

Is there any way to fix the issue that's causing the message?
Title: Re: Question about updating beta
Post by: franco on August 10, 2020, 11:16:46 am
Worst case you borked your ABI mirror link...

Try this first:

# opnsense-revert -r 20.1.9 opnsense-devel

If that doesn't download...

# opnsense-update -sn "20.1\/latest"

And try again.


Cheers,
Franco
Title: Re: Question about updating beta
Post by: bimmerdriver on August 13, 2020, 01:24:44 am
Worst case you borked your ABI mirror link...

Try this first:

# opnsense-revert -r 20.1.9 opnsense-devel

If that doesn't download...

# opnsense-update -sn "20.1\/latest"

And try again.


Cheers,
Franco
Thank you for the reply.

I tried opnsense-revert -r 20.1.9 opnsense-devel. It completed without any apparent issues. I rebooted after that and it's working. However, after that, I did opnsense-update and opnsense code core.

Here is the output:

Code: [Select]
root@OPNsense:/usr/core # opnsense-code core
Fetching origin
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

Already up to date.
ABI 20.1 is no longer supported
Fetching origin
Already up to date.

After that, I tried opnsense-update -sn "20.1\/latest" and then did opnsense-update and opnsense code core. There was no difference. Something seems to be borked, alright.

Do you have any other suggestions or should should I reinstall it?
Title: Re: Question about updating beta
Post by: franco on August 13, 2020, 01:10:46 pm
> I tried opnsense-revert -r 20.1.9 opnsense-devel. It completed without any apparent issues. I rebooted after that and it's working. However, after that, I did opnsense-update and opnsense code core.

I'm not sure I get this part. If the revert was working go to GUI and upgrade to 20.7 properly. It just takes a few clicks leaving behind the command line stuff that breaks when development master branch moves from 20.1 to 20.7 and the system isn't yet on 20.7 itself.


Cheers,
Franco