Project

General

Profile

Actions

Bug #10399

closed

On upgrading to 2.4.5 /usr/local/lib/php/20170718 is not created or is deleted shortly after upgrade.

Added by And Ritchie about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Build / Release
Target version:
-
Start date:
03/31/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5
Affected Architecture:
amd64

Description

On upgrading (from the previous latest version to 2.4.5) the system came up and then reported an php error in all of the dashbord windows. the dashboard became unresponsive.
On accessing the console a php error (such as the one below) was being generated in the midst of the text menu.

I opened a shell and symbolic linked the previous directory (/usr/local/lib/php/20131226) (which was fortunately still there) to the missing one (20170718)
This has returned fucntionality.

However this will cause real problems for users that are unable to debug such a situation.

I am still without a valid /usr/local/lib/php/20170718 an do not hnow the impact that will have.

Can you suggest the package to install that contains the valid /usr/local/lib/php/20170718 directory please.

Errors below and the full upgrade log is included.

Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20170718/readline.so (Shared object "libreadline.so.7" not found, required by "readline.so"), /usr/local/lib/php/20170718/readline.so.so (Cannot open "/usr/local/lib/php/20170718/readline.so.so")) in Unknown on line 0
pear/Net_SMTP (version >= 1.4.1) can be optionally used by installed package "pear/Mail"
uninstall ok: channel://pear.php.net/Net_SMTP-1.8.0

Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20170718/readline.so (Shared object "libreadline.so.7" not found, required by "readline.so"), /usr/local/lib/php/20170718/readline.so.so (Cannot open "/usr/local/lib/php/20170718/readline.so.so")) in Unknown on line 0
pear/Net_SMTP can optionally use package "pear/Auth_SASL" (version >= 1.0.5)


Files

pfsenseupgradetp2.4.5.txt (54.5 KB) pfsenseupgradetp2.4.5.txt upgrade log And Ritchie, 03/31/2020 08:55 AM
Actions #1

Updated by Jim Pingle about 4 years ago

  • Status changed from New to Rejected
  • Priority changed from Urgent to Normal

The PHP errors during the upgrade are normal and are resolved by the end of the entire process. You might have logged into the GUI before the upgrade was fully complete. I don't see anything fatal in your log.

For assistance in solving problems, please post on the Netgate Forum or the pfSense Subreddit .

See Reporting Issues with pfSense Software for more information.

Actions

Also available in: Atom PDF