You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In nextcloud 13.0.4, max_input_time and max_execution_time configuration are dropped from .user.ini. As Nextcloud checks .user.ini consistency by copying installed file, setting default values on copied file, then computing file checksum (described here: nextcloud/server#115).
As the .user.ini deployed by the role contains this configuration items, integrity check now fails, with a warning in administration pages (see screen capture). This does not prevent nextcloud to work.
The better way I see to fix it is to template .user.ini to drop problematic section, based on ansible_version variable.
Do you see / plan any other fix ? Interested by a PR for this ?
The text was updated successfully, but these errors were encountered:
Hi, thanks for your message. I am already working on a fix using lineinfile with backrefs=yes instead of a template. This way, the line will only be modified if it already exists. I need to do some more testing but I will probably push the change by the end of this week. BR
I just pushed my fix. During my tests, I saw that max_execution_time and max_input_time were also missing in older versions of nextcloud. Not sure why the consistency check used to succeed.
I think this bug was revealed by my last PR, as code integrity check is performed by update/setup scripts. As my PR fixed the fact that during upgrade, nextcloud original .user.ini was not modified with custom settings, no integrity violation were detected.
In nextcloud 13.0.4, max_input_time and max_execution_time configuration are dropped from .user.ini. As Nextcloud checks .user.ini consistency by copying installed file, setting default values on copied file, then computing file checksum (described here: nextcloud/server#115).
As the
.user.ini
deployed by the role contains this configuration items, integrity check now fails, with a warning in administration pages (see screen capture). This does not prevent nextcloud to work.The better way I see to fix it is to template .user.ini to drop problematic section, based on
ansible_version
variable.Do you see / plan any other fix ? Interested by a PR for this ?
The text was updated successfully, but these errors were encountered: