I know, I knowā¦someone is about to say something about how many posts there are on topics related to thisā¦and Iāve spent many hours trying to find what I need to no avail. And I also realize this is Christmas Day and Iām also scratching my head wondering why Iām spending the evening spinning my wheels on this. Thankfully, my NC service is for personal use and Iām not supporting anyone but myself.
So hereās my scenario - Iāve installed NC on an iocage jail in TrueNAS and am using nginx. In the admin section of the UI itās been nagging me to upgrade from php 8.0 to at least 8.1. Iām attempting 8.2 so I donāt have to do this again in the near future.
Iām fairly green when it comes to hosting, so Iāve had to ask the interwebs quite a bit just to get this far. But I find myself at an impasse. The following is what I have done thus far:
- Made snapshots of my NC jail (I didnāt just fall off the turnip truck)
- shelled into the jail and performed:
pkg info | grep php
to get the list of php extensions being used - performed
pkg install php82 php82-bcmath php82-bz2 php82-ctype...
through the entire list of nearly 30 packages. This simultaneously installed the new and removed the old for each one. There was one package that did not have a package in 8.2. That was pecl-imagick. so I had to skip that one. - service nginx restart
All I get is 404 error no matter what. Iāve also completely stopped/restarted the entire jail.
From reading other guides, it seems there could be some references to php 8.0 that need to be updated in 8.2 in conf files possibly. But I canāt seem to find any references like that - most of the posts Iāve read have been for people using apache. So Iām hoping someone knows something very simple that Iām overlooking.
BTW, I also tried upgrading from outside the iocage using: iocage exec nextcloud pkg upgrade
iocage exec nextcloud pkg install php82...
Got the same result this wayā¦well and it actually upgraded a few other things along the way. But the end result was still 404.
Merry Christmas all! Thanks in advance for any help.