Update FAQs for large groups (#13110)

* Update FAQs for large dynamic groups

Added a workaround for error messages when editing large dynamic groups

* Review fixes

* Add example value
This commit is contained in:
ottorei
2021-08-06 17:36:39 +03:00
committed by GitHub
parent 55ce8db4e4
commit 1dce74f54c

View File

@@ -36,6 +36,7 @@ path: blob/master/doc/
- [Why does modifying 'Default Alert Template' fail?](#faq31)
- [Why would alert un-mute itself](#faq32)
- [How do I change the Device Type?](#faq33)
- [Editing large device groups gives error messages](#faq34)
- [Where do I update my database credentials?](#faq-where-do-i-update-my-database-credentials)
- [My reverse proxy is not working](#my-reverse-proxy-is-not-working)
- [My alerts aren't being delivered on time](#my-alerts-aren't-being-delivered-on-time)
@@ -544,6 +545,12 @@ define custom types, we suggest using [Device
Groups](/Extensions/Device-Groups/). They will be listed in the
menu similarly to device types.
## <a name="faq34"> Editing large device groups gives error messages</a>
If the device group contains large amount of devices, editing it from the UI might cause errors on the form even when all the data seems correct. This is caused by PHP's `max_input_vars`-variable. You should be able to confirm that this is the case by inspecting the PHP's error logs.
With the basic installation on Ubuntu 20.04 LTS with Nginx and PHP 7.4 FPM this value can be tuned by editing the file `/etc/php/7.4/fpm/php.ini` and adjusting the value of `max_input_vars` to be at least the size of the large group. In larger installations a value such as `10000` should suffice.
## <a name="faq-where-do-i-update-my-database-credentials">Where do I update my database credentials?</a>
If you've changed your database credentials then you will need to