pfSense Gold Subscription

Author Topic: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE  (Read 43305 times)

0 Members and 1 Guest are viewing this topic.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 20797
  • Karma: +1311/-24
    • View Profile
For issues updating from RC (or older) to -RELEASE:


No trusted public keys found
If you see an error when checking for or installing updates that states "No trusted public keys found", run the following command from the shell or Diagnostics > Command:

Code: [Select]
fetch -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

Unable to Check for Updates
If you see "unable to check for updates", and/or the package manager cannot fetch data:

First, make sure you have pfSense-base or pfSense-base-nanobsd installed:

Check the output of:
Code: [Select]
pkg info -x pfSense
If pfSense-base is missing (Full install) or if pfSense-base-nanobsd missing (NanoBSD), run:

Code: [Select]
pkg install pfSense-base



Upgrade resulted in running 2.3.1 or the version claims to be newer

For anyone who landed on 2.3.1 or has a message stating that they are on a newer version than release: To get 2.3-RELEASE proper, follow this:

First, check the pkg repository configuration:

Code: [Select]
ls -l /usr/local/etc/pkg/repos/pfSense.conf
It should point to /usr/local/share/pfSense/pkg/repos/pfSense-repo.conf

If it does not:

Code: [Select]
rm /usr/local/etc/pkg/repos/pfSense.conf
ln -s /usr/local/share/pfSense/pkg/repos/pfSense-repo.conf /usr/local/etc/pkg/repos/pfSense.conf

Double check the contents of the file:

Code: [Select]
: cat /usr/local/etc/pkg/repos/pfSense.conf
FreeBSD: { enabled: no }

pfSense-core: {
  url: "pkg+http://pkg.pfsense.org/pfSense_v2_3_0_amd64-core",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/local/share/pfSense/keys/pkg",
  enabled: yes
}

pfSense: {
  url: "pkg+http://pkg.pfsense.org/pfSense_v2_3_0_amd64-pfSense_v2_3_0",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/local/share/pfSense/keys/pkg",
  enabled: yes
}

If the contents of that file matches above, OK, if not, edit the file and make it match.

Force an update to the pkg database:

Code: [Select]
pkg update -f
If that fails:

Code: [Select]
fetch -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
And then run the update command again.

Lastly, force an upgrade of all installed packages:

Code: [Select]
pkg upgrade -f
If an error is shown that the kernel package is locked, you can unlock it with "pkg unlock <name>" replacing <name> with what the error complains about, then run the "pkg update -f" command again. Be sure to lock it back after you're done.
« Last Edit: May 09, 2016, 05:11:11 pm by cmb »
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline GTAXL

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #1 on: April 12, 2016, 02:27:05 pm »
One bug I'm getting, I did that and was able to upgrade to 2.3-Release.
On the dashboard page it shows 2.3-RELEASE (amd64)  The system is on a later version than the official release.
It doesn't show the update available button, but when I go to the System > Update it shows,
Current Base System 2.3.1.a.20160412.1112
Latest Base System 2.3
and has the update button, I click it but get,
pfSense repository is up-to-date.
All repositories are up-to-date.
Your packages are up to date
Success

So I guess it's just reading the current base system incorrectly? No biggie just throwing that out there.

Offline ohwell

  • Newbie
  • *
  • Posts: 8
  • Karma: +3/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #2 on: April 12, 2016, 02:36:29 pm »
I'm seeing:

   Current Base System 2.3.r.20160406.0534
   Latest Base System 2.3.1.a.20160412.1222

even though I have Update Settings set to

   Follow 2.3 snapshots and move automatically to -RELEASE (Default). The Dashboard still shows that I'm on 2.3-RC.

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 20797
  • Karma: +1311/-24
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #3 on: April 12, 2016, 02:38:21 pm »
I'm seeing:

   Current Base System 2.3.r.20160406.0534
   Latest Base System 2.3.1.a.20160412.1222

even though I have Update Settings set to

   Follow 2.3 snapshots and move automatically to -RELEASE (Default). The Dashboard still shows that I'm on 2.3-RC.

To make sure you're on the right track, click Save on the update settings with that set. Then run the update. It will show that and then during the backup it will see -RELEASE and use that instead, due to that setting.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline Achromatic

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #4 on: April 12, 2016, 02:59:06 pm »

To make sure you're on the right track, click Save on the update settings with that set. Then run the update. It will show that and then during the backup it will see -RELEASE and use that instead, due to that setting.

I saved as Dev, then saved as Stable.

Still showed 2.3.1 (noting what you said above), and hit update:

Code: [Select]
>>> Updating repositories metadata...
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
ERROR: It was not possible to determine pfSense-repo-devel remote version
Failed

Offline qubit

  • Newbie
  • *
  • Posts: 20
  • Karma: +8/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #5 on: April 12, 2016, 04:58:52 pm »

To make sure you're on the right track, click Save on the update settings with that set. Then run the update. It will show that and then during the backup it will see -RELEASE and use that instead, due to that setting.

I saved as Dev, then saved as Stable.

Still showed 2.3.1 (noting what you said above), and hit update:

Code: [Select]
>>> Updating repositories metadata...
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
ERROR: It was not possible to determine pfSense-repo-devel remote version
Failed

I was on the last RC before release and was on the stable track but saw update to 2.3.1a. Saving RELEASE track in settings didn't show 2.3. SSH'd in and downloaded new pkg key but still showed 2.3.1a. Solved it by selecting "13) Update from console" which removed the old repo-devel, refreshed the pkg database and offered update to 2.3 which worked great.

Offline troyborg

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #6 on: April 12, 2016, 05:00:25 pm »
Mine is showing the same thing.



I was on the last RC before release and was on the stable track but saw update to 2.3.1a. Saving RELEASE track in settings didn't show 2.3. SSH'd in and downloaded new pkg key but still showed 2.3.1a. Solved it by selecting "13) Update from console" which removed the old repo-devel, refreshed the pkg database and offered update to 2.3 which worked great.

That fixed it!  Thanks!!

Offline usual

  • Jr. Member
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #7 on: April 12, 2016, 07:27:46 pm »
I ended up doing a clean install of 2.3 release after it upgraded me to 2.3.1 from RC.

Offline carriage

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-1
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #8 on: April 12, 2016, 09:50:00 pm »
I've tried the suggestions in this thread but they've made no difference. Every time I try initiating the update I get stuck at

Code: [Select]
>>> Updating repositories metadata...
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
>>> Upgrading pkg...

EDIT: On another box I had the options Development and Stable in the Update Settings and on that box, after updating the keys, the update went smoothly. I think part of the problem might be that the box I'm having trouble on has an older version because the Update Settings page does not have those exact options.

2ND EDIT: Grrr. Tried getting around this by changing the Branch setting from Follow 2.3 snapshots and move automatically to -RELEASE to Keep following 2.3 development snapshots in the Update Settings. My thinking was this would bring me up to date up to the latest 2.3 RC version and then I'd be good to go on updating to RELEASE. Well, ended on up 2.3.1-DEVELOPMENT and now I'm getting The system is on a later version than the official release. This is solved for me: I'm taking the easy way out and restoring from a earlier snapshot that had 2.2.6 and updating from there.
« Last Edit: April 12, 2016, 10:21:41 pm by carriage »

Offline deajan

  • Full Member
  • ***
  • Posts: 180
  • Karma: +26/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #9 on: April 13, 2016, 02:36:33 am »
Well, any way to come back from 2.3.1-dev to 2.3 Release without a reinstall ?
NetPOWER.fr - some opensource stuff for IT people

Offline p1erre

  • Newbie
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #10 on: April 13, 2016, 02:46:38 am »
Hi

I found out, that I'm still on

pfSense-repo-2.3.r.20160406.0534

but can not upgrade to pfSense-repo-2.3.1.a.20160412.1222

Code: [Select]
pkg version

pfSense-rc-2.3.1.a.20160412.1222   =
pfSense-repo-2.3.r.20160406.0534   <

Code: [Select]
pkg search pfSense-repo
pfSense-repo-2.3.1.a.20160412.1222 pfSense pkg repository configuration (stable)

Code: [Select]
pkg install pfSense-repo-2.3.1.a.20160412.1222
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
pkg: No packages available to install matching 'pfSense-repo-2.3.1.a.20160412.1222' have been found in the repositories

Offline betatest

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #11 on: April 13, 2016, 03:55:53 am »
I have two pfSense appliances. Both on Version 2.3.r.20160405.0247.
On one pfSense it worked after I used
Code: [Select]
fetch -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
.

On the other pfSense I still get 2.3.1.a.20160412.1222 from the update tab. Changed the firmware branch to development and back to stable. Does not seem to work, when I select development it refreshes and jumps back to stable. Tried using option 13 on cli but still get 2.3.1.a.20160412.1222.

Any suggestions?

Offline deajan

  • Full Member
  • ***
  • Posts: 180
  • Karma: +26/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #12 on: April 13, 2016, 04:35:15 am »
One of my pfSense boxes is already 2.3.1a
The other one, after having set Stable in update settings, wants to update to 2.3.1a regardless of trying in GUI or Shell

Code: [Select]
pfSense-base: 2.3.r.20160331.2348 -> 2.3.1.a.20160412.1222 [pfSense-core]
NetPOWER.fr - some opensource stuff for IT people

Offline raidflex

  • Jr. Member
  • **
  • Posts: 41
  • Karma: +1/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #13 on: April 13, 2016, 08:37:45 am »
I am also having an issue with updating. I was on the last RC and attempted to update to 2.3-RELEASE and received the following error.

« Last Edit: April 13, 2016, 08:43:44 am by raidflex »

Offline serialdie

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +8/-0
    • View Profile
Re: Issues updating from 2.3-RC (or older 2.3 installs) to 2.3-RELEASE
« Reply #14 on: April 13, 2016, 09:13:04 am »
I'm seeing:

   Current Base System 2.3.r.20160406.0534
   Latest Base System 2.3.1.a.20160412.1222

even though I have Update Settings set to

   Follow 2.3 snapshots and move automatically to -RELEASE (Default). The Dashboard still shows that I'm on 2.3-RC.

To make sure you're on the right track, click Save on the update settings with that set. Then run the update. It will show that and then during the backup it will see -RELEASE and use that instead, due to that setting.

You guys made a major poop on this one.
By following this some of us some how ended up on the dev even though we had the "Follow 2.3 snapshots and move automatically to -RELEASE (Default)" set.
How can we fix this? Like others here I try to force an update to 2.3-RELEASE but I cant cause I am on a devel version.
There has to be a fix to this without having to re-install.