Closed ncheng89 closed 5 months ago
I manually cleared the redis cache, and it seems that normal access can be restored. It should be the redis cache that caused the error in the version number. I upgraded the version using the command line, but the redis cache was not updated after the upgrade, causing this error.
Any chance you restarted FPM as well and that that was actually what resolved it? I don't believe the version info ever gets cached in Redis (or any of the configured memcache's). I'd expect this would be a PHP opcache validate/re-validate matter. i.e. See #45490
Indeed, after I cleared the redis cache, I restarted nginx and php-fpm, and then tried refreshing the page again and everything returned to normal.
Out of curiosity what are your PHP config values for:
opcache.validate_timestamps
opcache.revalidate_freq
Are they non-default?
This is my configuration, do you think there is anything that needs to be optimized? @joshtrichards
Why did you set opcache.validate_timestamp = 0 and do you understand the implications?
opcache.validate_timestamps=0 Of course, it is recommended to disable timestamp validation in production environments and update the cache by restarting the PHP service. I restarted the php-fpm service after upgrading.
So, closing? Thanks for investigating @ncheng89 :)
⚠️ This issue respects the following points: ⚠️
Bug description
Downgrading is not supported and is likely to cause unpredictable issues (from 28.0.6.1 to 28.0.5.1)
Steps to reproduce
from 28.0.6.1 to 28.0.5.1
Expected behavior
Manual upgrade to 28.0.6.1 prompts this error. I did not downgrade but upgrade. Why does this prompt appear? How should I solve it?
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
RHEL/CentOS
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response