[ixpmanager] 5.8.0 > 6.0.0 Upgrade Issues
Nick Hilliard (INEX)
nick at inex.ie
Thu May 26 23:20:59 IST 2022
Jason Gintert wrote on 26/05/2022 19:51:
> # If IXP Manager works well with PHP 8.1, any insight on the error I’m
> getting at step 10 (installing required libraries with composer) of the
> process from the release notes?
The package management pulls in php8.0 for some php libraries and php8.1
for others (package management is hard). If you have the php8.0 base
installed, and say php8.1-curl, you can't call curl functions from
php8.0. There are other failure modes there too, but this would be the
typical one. I haven't really looked too closely at the specific error
you're seeing, but the first step is always to get a consistent set of
php versions across the board. php8.0 is a good choice right now, and
mixing php versions on the same system is almost always a bad idea.
Often in the case of OS upgrades, you'll be left behind with an
inconsistent set of php versions. You can check this out with:
# dpkg -l | grep php | awk '{print $2}'
So if you're settling on php8.0, you might want to run something like this:
# dpkg -l | awk '{print $2}' | egrep '(php[57])'
I.e. this would show all php7* and php5* packages. If you're completely
confident that this prints a complete list of only the packages that you
want to remove, you can add " | xargs apt purge -y" to the end to get
rid of them. Otherwise use "apt purge" to get rid of individual
packages as required.
Nick
More information about the ixpmanager
mailing list