tl;dr
- gui upgrade 22.2.3 → 22.2.5 failed; manual upgrade successful (though with issues)
- subsequent gui upgrade 22.2.5 → 23.0.2 better (though with similar issues)
Q. What does one do about integrity check issues?
(Having had problems with the updater recently, I backed everything up first).
22.2.5
Upgrading using the web/gui updater (i.e. https://<my_domain>/updater/)
Didn’t work. As expected, I got:
Initializing
Current version is 22.2.3.
Update to Nextcloud 22.2.5 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-22.2.5.zip
Open changelog
…but when I clicked on “Continue update”, Nextcloud just sent me to the dashboard(?) (I tried three times, with identical results).
Upgrading manually (i.e. using the method here)
Much more successful.
…but Settings > Administration > Overview, showed a couple of issues:
- DB Indices
Fixed with occ db:add-missing-indices
- Code Signing (i.e. “Some files have not passed the integrity check”)
~70 files failed. About half of them were localisation (Bulgarian, Lithuanian, Japanese, Faeroese…none of which I’m likely to need); the rest were other things (including mail stuff; see below).
23.0.2
I then upgraded from 22.2.5 to 23.0.2 (note: without reverting to backup first i.e. without going back to 22.2.3) …to see if that went more smoothly (spoilers: yep )
Upgrading using the web/gui updater (i.e. https://<my_domain>/updater/)
Worked as expected - I didn’t need to use the manual method - though with two issues:
- OPcache
The PHP OPcache module is not properly configured
I doubled the value of opcache.interned_strings_buffer
in php.ini from the default 8 to 16MB (which was a guess on my part), reloaded Apache, refreshed the page. It seems fine(?)
- Again: Code Signing (i.e. “Some files have not passed the integrity check”)
As for 22.2.5, but this time there were only three:
vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/CSS/4.14.0,4114918a13a428a8482a8a449792a5a8747582b5,1.ser
vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/HTML/4.14.0,100a0d442686872045400b774dcb082c945a1908,2019080701.ser
vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/URI/4.14.0,3478238e680361cd87bf880f5b3cc50a1e7abc6c,1.ser
Q. What does one do about this ^ ?
FWIW, 23.x looks really good. There’s a lot there - I’ve barely scratched the surface - and everything seems very well thought-out, as usual.
Nextcloud version (eg, 20.0.5): 23.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.4): 7.4.3