Open t-dao opened 2 years ago
š Thanks for opening your first issue here! If you're reporting a š bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
I'd probably start by upgrading your install. A lot has changed since 5.3.10.
Debug mode
Describe the bug
Our LDAP has been unable to sync and bring in new users.
Reproduction steps
1.Manually initiate LDAP sync through PHP artisan or through Test LDAP Synchronization button 2.Process cycles and and then produces a 500 Server error 3.New users no longer become synced in through LDAP.
Expected behavior
LDAP sync to update users processes and new users appear for asset assignment.
Screenshots
Snipe-IT Version
v5.3.10 build 6684 (g05c081977)
Operating System
Cent OS
Web Server
Apache
PHP Version
7.3.25
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
Prior to moving to PHP 7.3 we were on PHP 7.2 and were recieving this error:
[2022-03-02 13:28:51] production.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /opt/snipe-it/app/Models/Ldap.php:293 Stack trace:
0 {main}
[2022-03-02 13:28:51] production.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) {"userId":8788,"exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 1): Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) at /opt/snipe-it/app/Models/Ldap.php:293) [stacktrace]
0 {main}
"} [2022-03-02 20:22:49] production.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /opt/snipe-it/app/Models/Ldap.php:293 Stack trace:
0 {main}
[2022-03-02 20:22:49] production.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) {"userId":8788,"exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 1): Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) at /opt/snipe-it/app/Models/Ldap.php:293)