Project

General

Profile

Actions

Bug #9431

closed

Upgrading to 2.5.0 with devel/aws-sdk-php installed fails

Added by Greg M over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Upgrade
Target version:
Start date:
03/25/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:

Description

Upgrading to 2.5.0 with devel/aws-sdk-php installed fails, the update to devel/aws-sdk-php for PHP 7.3 is not fetched before reboot, and cannot be downloaded.

See also: https://forum.netgate.com/topic/141856/php-error-on-update-from-2-4p2-to-2-5-in-etc-inc-certs-inc-and-etc-inc-config-lib-inc

Actions #1

Updated by Jim Pingle over 5 years ago

  • Subject changed from Upgrading to 2.5.0 throws PHP errors and fails to Upgrading to 2.5.0 with devel/aws-sdk-php installed fails
  • Description updated (diff)

Actually it isn't the PHP errors causing the problem, those are only a symptom. Updated the subject and description to match what's really happening.

The first package check/fetch run didn't catch that this was necessary:

New packages to be INSTALLED:
    aws-sdk-php73: 3.63.1 [pfSense]
    [...]

It then failed to download because it didn't have connectivity at the time (which is expected -- it should have been downloaded before the reboot)

pkg-static: https://beta.pfsense.org/packages/pfSense_master_amd64-pfSense_devel/All/aws-sdk-php73-3.63.1.txz: No address record

At that point it stopped updating anything else and then booted in a state that wasn't completely upgraded, explaining the remainder of the errors.

It would help to know which packages you had installed at the time, as that file is not installed with the base system.

Actions #2

Updated by Greg M over 5 years ago

Hi!

I have:

a) Removed all packages via GUI and upgraded, same error
b) Used command "pkg delete pfSense-pkg-\*", same error

I don`t think it`s a package thing.

Actions #3

Updated by Renato Botelho over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Renato Botelho

I'll work on it

Actions #4

Updated by Greg M over 5 years ago

Great!

Are you able to replicate?

If not what else can we provide to help troubleshoot it?

Actions #5

Updated by Renato Botelho over 5 years ago

Greg M wrote:

Great!

Are you able to replicate?

If not what else can we provide to help troubleshoot it?

Yes, I managed to replicate it and now I'll find a way to fix it. Thanks!

Actions #6

Updated by Renato Botelho over 5 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

It should be fixed in pfSense-upgrade 0.67

Actions #7

Updated by Greg M over 5 years ago

It is :)

Thanks!

Actions #8

Updated by Jim Pingle over 5 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF