Upgrade php 7.4 to 8.0 on Ubuntu

Now you’ve kept me busy here for hours and you’re only now coming with this message?
It’s a completely different case! I can’t help you there, you have to stick to the supplied scripts and if that doesn’t work, buy commercial support from that third party company.
Was it hansson IT?

This forum thread have just be moved, so now you should change the kategory/sub category to “VM” and wait, until someone is willing to help you but you have to give all information and not just telling half of the story.

I’m out.

I’m sorry I wasted your time.
But I said from the beginning that I am a beginner, I do not know what matters and what does not, you asked questions I answered them.
Yes it was this company, but to buy their support I have no way. When it all started, it was free.

If you start a new topic, you have a small template where can go through a list just to not forget about some details. Problem that you posted under an old topic that was partly related (yes it was Ubuntu but not the vm version).
Since you are not the only one with the vm:

and there is a documentation:
https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W7Du9uPiqQz3_Mr1/nextcloud-vm-machine-configuration?currentPageId=W7D3quPiqQz3_MsE

For your comfort, they already wrote some small scripts for such procedures that ernolf was giving you manually. Under the hood, there is still a Ubuntu system. From this post:

I suppose that their support does the upgrade of php manually as you did as well.

Here is a video that helped me understand the PHP upgrade process. I found this very helpful.

The only difference for me was I upgraded to PHP 8.1 as that was what Nextcloud listed as recommended version when I looked.

(1) Upgrading to PHP 8.2 (Ubuntu with Apache) - YouTube

I’ve been dealing with the same issue with the VM version and only recently managed to successfully update to PHP 8.1, thanks to the pointers in this thread and https://help.nextcloud.com/t/cannot-upgrade-to-nc-26-due-to-php-7-4/158523
Especially the detailed instructions of ernolf helped a lot.

No guarantees, but hopefully these steps will also work for you, see https://help.nextcloud.com/t/cannot-upgrade-to-nc-26-due-to-php-7-4/158523/21?u=dhrto

1 Like