not sure what extra instructions you gave your friend, but this upgrade breaks my installation. Here are a few things I had trouble with based on your upgrade instructions located here all-in-one/manual-upgrade.md at main · nextcloud/all-in-one · GitHub
Method 1
#2 this version check doesn’t give expected results. I saw this:
if (PHP_VERSION_ID >= 80300) { http_response_code(500); echo 'This version of Nextcloud is not compatible with PHP>=8.3.<br/>'; echo 'You are currently running ' . PHP_VERSION . '.'; exit(1);
So something in the nextcloud docker container is not doing what it should.
#7 make sure that there is no skip.update
file in the Nextcloud datadir. I don’t have any information about where to start looking for this. I think I was looking in the right spot, but on a default installation, I should at least be given a hint.
Also:
You can open the Nextcloud container logs with sudo docker logs -f nextcloud-aio-nextcloud
And no info as to what I should look for, as it is, everything looks normal, but I don’t see any information about which version.
#8 simply restart the container again with sudo docker restart nextcloud-aio-nextcloud
until it does not install a new Nextcloud update anymore
And how am I supposed to tell? I don’t see anything in the log files, docker ps -a doesn’t show any change, and the command itself is silent. I ran the command about 10 times with no change in how long it took. It was much faster than the previous step, so I will assume that it’s up to date.
#9 using the AIO interface again. Except now it’s saying there’s an update and that I need to restart something there to get it working. So I did that, but after trying to restart the containers in AIO, I get the same error as before when I tried to restart the containers without doing this complex method.
So is there something missing? I tried this before and got the same results, so I’m not sure where I’m supposed to look to resolve this. The command in #8 doesn’t give me the results I would expect. There is no feedback from the command, no errors, but when I look at what docker says, it says it’s working, but in AIO, it says “starting” It never does finish starting though.
After manually stopping all containers, I can get control again in AIO interface, but trying to start sends it into the broken loop again.
And when I check the logs as listed in #7 I get the same error I started with:
Connection to nextcloud-aio-redis (172.18.0.5) 6379 port [tcp/redis] succeeded! This version of Nextcloud is not compatible with PHP>=8.3.<br/>You are currently running 8.3.14.It seems like your installed Nextcloud is not compatible with the by the container provided PHP version. This most likely happened because you tried to restore an old Nextcloud version from backup that is not compatible with the PHP version that comes with the container. Please try to restore a more recent backup which contains a Nextcloud version that is compatible with the PHP version that comes with the container. If you do not have a more recent backup, feel free to have a look at this documentation: https://github.com/nextcloud/all-in-one/blob/main/manual-upgrade.md
I don’t think it updated anything.