Upgrade PHP80 to PHP81 (NGINX & NEXTCLOUD)

I am currently running mysql80, NGINX and Nextcloud version 25.0.6. I am wanting to upgrade my Nextcloud to version 26.0.1 but I need at least PHP81 to be installed. I have tried "pkg upgrade php81" and it appears to work and is running when I use "php -v". However, the Nextcloud interface does not work as it appears to have issues with NGINX (404 Not Found).

Does anyone have a step by step guide to upgrade PHP80 to PHP81?

Thank you
 
I suspect you need to install the PHP8.1 flavor of nextcloud. PHP 8.1 is the default though, in order to get it working with 8.0 you probably installed the 8.0 flavor. Which probably got removed when you installed 8.1.

I have tried "pkg upgrade php81" and it appears to work
This doesn't do what you think it does.

What does pkg info -x nextcloud output?
 
Thanks for the info SirDice.

Before I carry out the upgrade from php80 to php81 the output is:
nextcloud-php80-24.0.2

I am not sure why the above is the output because I am running NC 25.0.6 ?

After applying the upgrade to php81 the output is:
pkg: No package(s) matching nextcloud

My understanding is that NC 24.0.2 should still be able to handle php81?

Any further help would be appreciated.
 
Installing PHP 8.1 probably removed the PHP 8.0 flavor of Nextcloud. pkg install nextcloud-php81 to install the PHP 8.1 flavor of nextcloud.

Code:
Package flavors (<flavor>: <package>)

        php81: nextcloud-php81
        php80: nextcloud-php80
        php82: nextcloud-php82
 
Back
Top