Not tested. But i think you can move in Nextcloud GUI from “stable” to “beta”, use the posted command on command line and then move again in Nextcloud GUI from “beta” to “stable”.
Hopefully the updater (from 23 to 24) works with PHP8.1
If you are not keeping backups you might want to reconsider whether any beta release cycle makes sense. Mentioning since it sounds like you are stuck because you did not backup first. My .02 is to setup regular backups and then make further changes.
If he is using a manual installation with a LAMP stack on Ubuntu he should even be able to completly purge php and reinstall the desired version from the sury repos, configure it to his needs and Nextcloud should work again.
I mean I don’t get it. Does nobody take notes nowdays how they installed and configured something? Or at least save the link to the tutorial they were using? If OP still has access to one or the other, he can just do apt remove php*, add the surey repos and re-install php7.4 or php8.0 exactly the same way he did it the first time and everything should be working again.
Yes i have a lamp installation.
I do not want to install old php version.
I will patiently wait for NC24 in May. I do not need it as i can use smb and vpn.
Do you want to run an application or do you want to run PHP
Normally, you install the dependencies required by the application you want to use and not the other way around. Also you don’t upgrade the OS of your server just because there is a new version. Ubuntu LTS has 5 years of support and upgrades are usually only offered by Canonical after the first point release. You had to force the upgrade explicitly with the -d option (d stands for developer) The current situation you’re in, would have been avoidable in several respects.
Anyways. I would try to to install PHP8.0 and than upgrade it some time later… Also Nextloud 24 just has been delayed today… So why not try it. You can only learn from this. But do a backup at least of your files, before you try anything.
How will the release of 24 solve the issue at hand? The WebUI will not automatically be accessable, once NC24 has been released
Are you sure that this will work? OP has to upgrade from 22 to 23 and then to 24. And during the upgrade process he has to execute PHP scripts like occ upgrade…
To be noted that i upgraded ubuntu to 22.04 not NC, NC is 23.0.4
Yes i will be able to upgrade to NC 24 with occ as far as it is released in stable channel.
I upgraded ubuntu in order to see if this solve the issue i was facing, unable to copy/delete/download/upload file bigger than 512MB.
In this respect I’m using only smb since 23.0.2 so several weeks. I can wait more time
Alright, then I guess we’ll leave it with that then…
This has something to do with the PHP cconfiguartion and will not automatically solve itself until you change the respective entries in your your php.ini files accordingly…
Ok. Sorry I don’t use External Storage with my Nextcloud. Maybe you could open a seperate thread for that after you got your Nextcloud up and running again.