Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: allow updater to extend .user.ini on update
When running nextcloud with a web hoster it might be necessary
to extend .user.ini after each update (e.g. adding memory_limit).
To automate this step, an additional config entry may be provided
in config.php that specifies the lines to be added to .user.ini.

If the config option 'user_ini_additional_lines' exists, the provided
value (string or array of strings) will be added to .user.ini.

Signed-off-by: Mathias Koehrer <[email protected]>
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
makoehr authored and skjnldsv committed Aug 21, 2025
commit 109b454e48f7d8400733542c8a0ec37af9f4f482
8 changes: 8 additions & 0 deletions config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -2460,6 +2460,14 @@
*/
'upgrade.cli-upgrade-link' => '',

/**
* Additional line(s) (string or array of strings)
* that will be added to .user.ini on each update by the updater.
*
* Defaults to ``''`` (empty string)
*/
'user_ini_additional_lines' => '',

/**
* Customize the server logs documentation link for exception handling.
*/
Expand Down
Loading