Open DagNygren opened 1 year ago
Maybe. But I am using PHP 7.4...
Please update your bug report then.
Where did that come from? I am pretty sure I entered 7.4. Even checked for it using php --version ... I cannot find a way to update the original. But it IS 7.4 Edit: Found a way and now updated.
I just stumbled over the same bug after a regular openSUSE Tumbleweed system update which among other stuff brought my apache2 package to version 2.4.57-2.1. My PHP version is 8.2.8.
The workaround described above, i. e., having the isSetLocaleWorking() function in lib/private/legacy/OC_Util.php always return "true", works fine. Many thanks for that!
⚠️ This issue respects the following points: ⚠️
Bug description
Every time after upgrade for a longer time now I have had to edit the function isSetLocaleWorking() function in lib/private/legacy/OC_Util.php to always return "true" as the detection doesn't work properly but returns false in my Apache. The locale list does contain en_US.UTF-8 but it is not detected. I will not tweak the Apache very much as it is serving a wide range of other endpoints too and any tweak could break those.
Changing the function mentioned above to always return true makes everything work as expected.
Steps to reproduce
Expected behavior
I expect to get a login window also after upgrade without having to patch the software every time.
Installation method
Community Manual installation with Archive
Operating system
RHEL/CentOS
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
This is not a new thing. I saw the same behaviuor some years ago already. It was then fixed and has now about (approx) since summer reappeared. Was some old code reintroduced?