Directory - Adding All Users - doesn't work

Has anyone else experienced an issue where you go to directory and select the option to add all users for a larger system (exceeds 1k users), select submit and nothing happens? It acts like it’s submitting, navigates away from the page, and lands you back on the initial directory page and it’s blank.

Adding smaller lists works just fine.

What version of FreePBX and the directory module?

FreePBX 16.0.21.18
Directory 16.0.1

Unable to reproduce this. (Running FreePBX on debian)

  1. Imported 1k+ extensions
  2. Applied config
  3. Created a new directory, added all users (took 2 seconds to load)
  4. Applied config and I can load the directory just fine (takes 2-4 seconds to load)

Thanks for giving it a repro

What does the FreePBX debug log show when you try and click on the add all button. The log is shown in /var/log/asterisk directory.

freepbx.log

Step 1 - Select Add Directory

[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function fax_get_user detected in /var/www/html/admin/modules/fax/functions.inc.php on line 16 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function fax_get_user detected in /var/www/html/admin/modules/fax/functions.inc.php on line 16 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function fax_get_user detected in /var/www/html/admin/modules/fax/functions.inc.php on line 16 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function ivr_get_details detected in /var/www/html/admin/modules/ivr/functions.inc.php on line 14 [] []

This line occurs 69 times
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function ivr_get_details detected in /var/www/html/admin/modules/ivr/functions.inc.php on line 513 [] []

[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function languages_list detected in /var/www/html/admin/modules/languages/functions.inc.php on line 15 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function languages_list detected in /var/www/html/admin/modules/languages/functions.inc.php on line 15 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function paging_list detected in /var/www/html/admin/modules/paging/functions.inc.php on line 823 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function paging_list detected in /var/www/html/admin/modules/paging/functions.inc.php on line 823 [] []
[2022-10-08 02:29:15] [freepbx.INFO]: Depreciated Function ringgroups_list detected in /var/www/html/admin/modules/ringgroups/functions.inc.php on line 10 [] []
[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function ringgroups_list detected in /var/www/html/admin/modules/ringgroups/functions.inc.php on line 10 [] []

This line occurs 60 times:
[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function timeconditions_get detected in /var/www/html/admin/modules/timeconditions/functions.inc.php on line 16 [] []

[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function vmblast_list detected in /var/www/html/admin/modules/vmblast/functions.inc.php on line 11 [] []
[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function vmblast_list detected in /var/www/html/admin/modules/vmblast/functions.inc.php on line 11 [] []
[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function mod_func_iterator detected in /var/www/html/admin/modules/directory/functions.inc.php on line 234 [] []
[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function core_users_list detected in /var/www/html/admin/modules/directory/functions.inc.php on line 256 [] []
[2022-10-08 02:29:16] [freepbx.INFO]: Depreciated Function directory_get_dir_entries detected in /var/www/html/admin/modules/directory/functions.inc.php on line 262 [] []

Step 2 - Select Add Directory

The following line occurs 1634 times
[2022-10-08 02:32:43] [freepbx.INFO]: Depreciated Function mod_func_iterator detected in /var/www/html/admin/modules/directory/functions.inc.php on line 321 [] []

Step 3 - Select Submit

No writes to any files in /var/log/asterisk/*

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.