Project

General

Profile

Bug #9431

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

Added by Greg M 5 months ago. Updated 4 months ago.

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

100%

Estimated time:
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

History

#1 Updated by Jim Pingle 5 months 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.

#2 Updated by Greg M 4 months 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.

#3 Updated by Renato Botelho 4 months ago

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

I'll work on it

#4 Updated by Greg M 4 months ago

Great!

Are you able to replicate?

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

#5 Updated by Renato Botelho 4 months 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!

#6 Updated by Renato Botelho 4 months ago

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

It should be fixed in pfSense-upgrade 0.67

#7 Updated by Greg M 4 months ago

It is :)

Thanks!

#8 Updated by Jim Pingle 4 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF