Comments (11)
I understand you can't enable the app now, but can you expand on the initial issue:
LDAP enabled backend app causing server to crash after configurating it,
"Crash" as in ... ? And maybe provided the associated log entry?
I don't suppose you can provide some details about how you configured LDAP?
from server.
Thank you for responding, crash as in literally server is not showing any gui and not accessible, showing "server is not able to complete your request",ldap backend was enabled after installing php-ldap on the system. I tried installing it (ldap backend) using occ via shell but it keeps breaking the server. When i install it from the app store on nc it prevents me and shows the screen attached. Logs actually show nothing regarding why server crashes or what happen after i install the ldap. I will provide you with them just when i am at office. Thank you
from server.
At first it crashes after faulty config which I can't trace yet because AD management is not within my sight, we have another dept handling it, but now it just does that after enabling ldap backend
from server.
Thank you for responding, crash as in literally server is not showing any gui and not accessible, showing "server is not able to complete your request",ldap backend was enabled after installing php-ldap on the system. I tried installing it (ldap backend) using occ via shell but it keeps breaking the server.
So you're saying it initially crashed before you configured anything LDAP related?
Please provide the entire stack trace from the first erroneous log entry (it'll likely include a stack trace) after you enabled the user_ldap
app. The bits you provided don't appear to be full log entries. If you're doing it from the Web UI, you need to use the option to get the raw entry. Otherwise grab it from your nextcloud.log
.
from server.
sorry for messy explanation, the exact process was:
1- ldap enabled, then configured falsely
2- nextcloud display the following: internal server error
after deleting the config server returns to normal, trying again, server keep getting internal error
after trying to make changes according to user forums:
1- adding a specific line to Ajax files in nextcloud files, changing to memcache to apcu
those edits got more errors so they got deleted
2- server crashes immediately after enabling user_ldap using occ
3- gui refuses to enable it saying it makes the server unstable
now team decided to revert to older snapshot so i don't have the old logs of theses processes, but i have the current logs, they still full of ldap errors
nextcloud (2).log
from server.
Can you check the linux audit logs? you have dns errors and a few other things. Just to rule out selinux problems. (as you are running on rhel/centos)
from server.
SElinux is set off by setenforce 0, unless there's another way? dns issue appeared after changing the dns because i thought it was the issue, so anyway we are rolling back to the old one
from server.
since i got internal error again, these are the logs:
Level App Message Time
Error index Exception: LDAP Operations error at 2024-05-08T10:31:08+00:00
apps/user_ldap/lib/LDAP.php line 388
0. .../LDAP.php line 420
OCA\User_LDAP\LDAP->processLDAPError(
)
1. .../LDAP.php line 309
OCA\User_LDAP\LDAP->postFunctionCall(
)
2. .../LDAP.php line 215
OCA\User_LDAP\LDAP->invokeLDAPMethod("*** sensit ... *")
3. <<closure>>
OCA\User_LDAP\LDAP->search(
)
4. .../lib/Access.php line 1067
call_user_func_array(
)
5. .../Access.php line 1070
OCA\User_LDAP\Access->OCA\User_LDAP\{closure}("* ... *")
6. .../Access.php line 1128
OCA\User_LDAP\Access->invokeLDAPMethod("*** sens ... *")
7. .../Access.php line 1228
OCA\User_LDAP\Access->executeSearch(
)
8. .../lib/Access.php line 992
OCA\User_LDAP\Access->count(
)
9. .../User_LDAP.php line 594
OCA\User_LDAP\Access->countUsers(
)
10. .../User_Proxy.php line 405
OCA\User_LDAP\User_LDAP->countUsers(
)
11. .../Admin.php line 178
OCA\User_LDAP\User_Proxy->countUsers(
)
12. .../Admin.php line 165
OCA\UpdateNotification\Settings\Admin->getUserCount(
)
13. .../Admin.php line 102
OCA\UpdateNotification\Settings\Admin->isWebUpdaterRecommended(
)
14. .../CommonSettingsTrait.php line 140
OCA\UpdateNotification\Settings\Admin->getForm(
)
15. .../AdminSettingsController.php line 93
OCA\Settings\Controller\AdminSettingsController->formatSettings(
)
16. .../CommonSettingsTrait.php line 165
OCA\Settings\Controller\AdminSettingsController->getSettings(
)
17. .../AdminSettingsController.php line 77
OCA\Settings\Controller\AdminSettingsController->getIndexResponse(
)
18. .../Dispatcher.php line 232
OCA\Settings\Controller\AdminSettingsController->index(
)
19. .../Dispatcher.php line 138
OC\AppFramework\Http\Dispatcher->executeController(
)
20. .../App.php line 184
OC\AppFramework\Http\Dispatcher->dispatch(
)
21. .../Route/Router.php line 338
OC\AppFramework\App::main(
)
22. lib/base.php line 1050
OC\Route\Router->match(
)
23. index.php line 49
OC::handleRequest(
)
Warning user_ldap Bind failed: 49: Invalid credentials 2024-05-08T10:38:42+00:00
Error PHP ldap_search(): Search: Operations error at 2024-05-08T10:38:42+00:00
/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php#307
Error support Exception: LDAP Operations error at 2024-05-08T10:38:42+00:00
apps/user_ldap/lib/LDAP.php line 388
0. .../LDAP.php line 420
OCA\User_LDAP\LDAP->processLDAPError(
)
1. .../LDAP.php line 309
OCA\User_LDAP\LDAP->postFunctionCall(
)
2. .../LDAP.php line 215
OCA\User_LDAP\LDAP->invokeLDAPMethod("*** sensit ... *")
3. <<closure>>
OCA\User_LDAP\LDAP->search(
)
4. .../lib/Access.php line 1067
call_user_func_array(
)
5. .../Access.php line 1070
OCA\User_LDAP\Access->OCA\User_LDAP\{closure}("* ... *")
6. .../Access.php line 1128
OCA\User_LDAP\Access->invokeLDAPMethod("*** sens ... *")
7. .../Access.php line 1228
OCA\User_LDAP\Access->executeSearch(
)
8. .../lib/Access.php line 992
OCA\User_LDAP\Access->count(
)
9. .../User_LDAP.php line 594
OCA\User_LDAP\Access->countUsers(
)
10. .../User_Proxy.php line 405
OCA\User_LDAP\User_LDAP->countUsers(
)
11. .../SubscriptionService.php line 111
OCA\User_LDAP\User_Proxy->countUsers(
)
12. .../SubscriptionService.php line 262
OCA\Support\Service\SubscriptionService->getUserCount(
)
13. .../SubscriptionAdapter.php line 49
OCA\Support\Service\SubscriptionService->getSubscriptionInfo(
)
14. .../Registry.php line 137
OCA\Support\Subscription\SubscriptionAdapter->hasValidSubscription(
)
15. .../ServerDevNotice.php line 103
OC\Support\Subscription\Registry->delegateHasValidSubscription(
)
16. .../Manager.php line 217
OCA\Settings\Settings\Personal\ServerDevNotice->getSection(
)
17. .../Manager.php line 331
OC\Settings\Manager->getSettings(
)
18. .../Manager.php line 292
OC\Settings\Manager->getPersonalSettings(
)
19. .../CommonSettingsTrait.php line 122
OC\Settings\Manager->getPersonalSections(
)
20. .../CommonSettingsTrait.php line 77
OCA\Settings\Controller\AdminSettingsController->formatPersonalSections(
)
21. .../CommonSettingsTrait.php line 164
OCA\Settings\Controller\AdminSettingsController->getNavigationParameters(
)
22. .../AdminSettingsController.php line 77
OCA\Settings\Controller\AdminSettingsController->getIndexResponse(
)
23. .../Dispatcher.php line 232
OCA\Settings\Controller\AdminSettingsController->index(
)
24. .../Dispatcher.php line 138
OC\AppFramework\Http\Dispatcher->executeController(
)
25. .../App.php line 184
OC\AppFramework\Http\Dispatcher->dispatch(
)
26. .../Route/Router.php line 338
OC\AppFramework\App::main(
)
27. lib/base.php line 1050
OC\Route\Router->match(
)
28. index.php line 49
OC::handleRequest(
)
Warning support Can not determine user count for OCA\User_LDAP\User_Proxy 2024-05-08T10:38:42+00:00
Error PHP ldap_search(): Search: Operations error at 2024-05-08T10:38:42+00:00
/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php#307
Error index Exception: LDAP Operations error at 2024-05-08T10:38:42+00:00
apps/user_ldap/lib/LDAP.php line 388
0. .../LDAP.php line 420
OCA\User_LDAP\LDAP->processLDAPError(
)
1. .../LDAP.php line 309
OCA\User_LDAP\LDAP->postFunctionCall(
)
2. .../LDAP.php line 215
OCA\User_LDAP\LDAP->invokeLDAPMethod("*** sensit ... *")
3. <<closure>>
OCA\User_LDAP\LDAP->search(
)
4. .../lib/Access.php line 1067
call_user_func_array(
)
5. .../Access.php line 1070
OCA\User_LDAP\Access->OCA\User_LDAP\{closure}("* ... *")
6. .../Access.php line 1128
OCA\User_LDAP\Access->invokeLDAPMethod("*** sens ... *")
7. .../Access.php line 1228
OCA\User_LDAP\Access->executeSearch(
)
8. .../lib/Access.php line 992
OCA\User_LDAP\Access->count(
)
9. .../User_LDAP.php line 594
OCA\User_LDAP\Access->countUsers(
)
10. .../User_Proxy.php line 405
OCA\User_LDAP\User_LDAP->countUsers(
)
11. .../Admin.php line 178
OCA\User_LDAP\User_Proxy->countUsers(
)
12. .../Admin.php line 165
OCA\UpdateNotification\Settings\Admin->getUserCount(
)
13. .../Admin.php line 102
OCA\UpdateNotification\Settings\Admin->isWebUpdaterRecommended(
)
14. .../CommonSettingsTrait.php line 140
OCA\UpdateNotification\Settings\Admin->getForm(
)
15. .../AdminSettingsController.php line 93
OCA\Settings\Controller\AdminSettingsController->formatSettings(
)
16. .../CommonSettingsTrait.php line 165
OCA\Settings\Controller\AdminSettingsController->getSettings(
)
17. .../AdminSettingsController.php line 77
OCA\Settings\Controller\AdminSettingsController->getIndexResponse(
)
18. .../Dispatcher.php line 232
OCA\Settings\Controller\AdminSettingsController->index(
)
19. .../Dispatcher.php line 138
OC\AppFramework\Http\Dispatcher->executeController(
)
20. .../App.php line 184
OC\AppFramework\Http\Dispatcher->dispatch(
)
21. .../Route/Router.php line 338
OC\AppFramework\App::main(
)
22. lib/base.php line 1050
OC\Route\Router->match(
)
23. index.php line 49
OC::handleRequest(
)
Warning support Can not determine user count for OCA\User_LDAP\User_Proxy 2024-05-08T10:38:42+00:00
Error PHP ldap_search(): Search: Operations error at 2024-05-08T10:38:42+00:00
/var/www/html/nextcloud/apps/user_ldap/lib/LDAP.php#307
Error index Exception: LDAP Operations error at 2024-05-08T10:38:42+00:00
apps/user_ldap/lib/LDAP.php line 388
0. .../LDAP.php line 420
OCA\User_LDAP\LDAP->processLDAPError(
)
1. .../LDAP.php line 309
OCA\User_LDAP\LDAP->postFunctionCall(
)
2. .../LDAP.php line 215
OCA\User_LDAP\LDAP->invokeLDAPMethod("*** sensit ... *")
3. <<closure>>
OCA\User_LDAP\LDAP->search(
)
4. .../lib/Access.php line 1067
call_user_func_array(
)
5. .../Access.php line 1070
OCA\User_LDAP\Access->OCA\User_LDAP\{closure}("* ... *")
6. .../Access.php line 1128
OCA\User_LDAP\Access->invokeLDAPMethod("*** sens ... *")
7. .../Access.php line 1228
OCA\User_LDAP\Access->executeSearch(
)
8. .../lib/Access.php line 992
OCA\User_LDAP\Access->count(
)
9. .../User_LDAP.php line 594
OCA\User_LDAP\Access->countUsers(
)
10. .../User_Proxy.php line 405
OCA\User_LDAP\User_LDAP->countUsers(
)
11. .../Admin.php line 178
OCA\User_LDAP\User_Proxy->countUsers(
)
12. .../Admin.php line 165
OCA\UpdateNotification\Settings\Admin->getUserCount(
)
13. .../Admin.php line 102
OCA\UpdateNotification\Settings\Admin->isWebUpdaterRecommended(
)
14. .../CommonSettingsTrait.php line 140
OCA\UpdateNotification\Settings\Admin->getForm(
)
15. .../AdminSettingsController.php line 93
OCA\Settings\Controller\AdminSettingsController->formatSettings(
)
16. .../CommonSettingsTrait.php line 165
OCA\Settings\Controller\AdminSettingsController->getSettings(
)
17. .../AdminSettingsController.php line 77
OCA\Settings\Controller\AdminSettingsController->getIndexResponse(
)
18. .../Dispatcher.php line 232
OCA\Settings\Controller\AdminSettingsController->index(
)
19. .../Dispatcher.php line 138
OC\AppFramework\Http\Dispatcher->executeController(
)
20. .../App.php line 184
OC\AppFramework\Http\Dispatcher->dispatch(
)
21. .../Route/Router.php line 338
OC\AppFramework\App::main(
)
22. lib/base.php line 1050
OC\Route\Router->match(
)
OC::handleRequest(
)
from server.
from server.
deleted this line from config.php file, works again now
from server.
issue solved by providing the right creds.
from server.
Related Issues (20)
- [Bug]: Search for app in App section not working in v29 HOT 1
- [Bug]: APPs “Auf Gruppen beschränken” funktioniert nicht - v29.0.1 HOT 1
- [Bug]: When i try to process an event i get error Parse error: Invalid Mimedir file HOT 2
- Column is type Bool and also NotNull, so it can not store "false" HOT 2
- [RFC] Files mime icons theming HOT 4
- [Bug]: Stuck at logging in HOT 1
- [Bug]: Can't share folders/files from webui, infinite load
- [Bug]: Share Expire Not Based On Default Time Zone
- Show "Edit locally" also on the folder page
- [Bug]: Extremely slow response to start loading the home page HOT 4
- [Bug]: The "Show Sharing option" and "Open details" buttons do not work HOT 6
- [Bug]: upgrade to 29.0.1 from 28.0.6 failed HOT 3
- [Bug]: Unable to access "ALBAUM" in Nextcloud 29.0.x HOT 7
- Trash/Deleted Files Search
- [Bug]: Adding Rackspace Cloud Files as external storage fails
- [Bug]: update from 28 to 29.0.1 fails due to index conflicts HOT 1
- [Bug]: Active directory accounts get blocked when you fail the login one time HOT 2
- [Bug]: Webdav HOT 6
- [Bug]: Some URI reroutes don't include the subdir (Nextcloud in a subdir) HOT 1
- Dossier as "case-collection"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.