-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument 1 passed to OCA\Files_FullTextSearch\Service\FilesService::e() must be an instance of Exception, instance of Error given #140
Comments
I don't know if it's related or not... in the nextcloud logs:
Error: ldap_first_entry(): supplied resource is not a valid ldap link resource at /var/www/nextcloud/apps/user_ldap/lib/LDAP.php#336
|
maybe it's related to Long running php processes: LDAP timeout if someone has the same problem, I made a script.
copy "users.sh" to ./nextcloud and run |
Are you still experiencing this with with updated NC Server and files_fulltextsearch installations? |
Running:
Nextcloud 22.2.0
Elastic Search 7.15 with Elasticsearch Plugin (free)
Plugins Installed:
Full text search 22.0.1
Full text search - Elasticsearch Platform 22.0.1
Full text search - Files 22.0.1
Config:
Outcome of "occ fulltextsearch:check"
Full text search 22.0.1
Search Platform:
Elasticsearch 22.0.1 (Selected)
{
"elastic_host": [
"http://10.10.107.8:9200"
],
"elastic_index": "cloud1",
"fields_limit": "10000",
"es_ver_below66": "0",
"analyzer_tokenizer": "standard"
}
Content Providers:
Files 22.0.1
{
"files_local": "1",
"files_external": "2",
"files_group_folders": "0",
"files_encrypted": "0",
"files_federated": "0",
"files_size": "10",
"files_pdf": "0",
"files_office": "0",
"files_image": "0",
"files_audio": "0"
Problem:
The following error comes up when attempting to "occ fulltextsearch:index" and occurs after some time after the start of indexing (maybe 30-40 minutes) when switching to the next user. the indexing of this particular user runs without errors. almost all users are LDAP. some did not log in even once. but almost always the error occurs on different users, but after about the same time after the start of indexing.
An unhandled exception has been thrown:
TypeError: Argument 1 passed to OCA\Files_FullTextSearch\Service\FilesService::e() must be an instance of Exception, instance of Error given, called in /var/www/nextcloud/apps/files_fulltextsearch/lib/Service/FilesService.php on line 209 and defined in /var/www/nextcloud/apps/fulltextsearch/vendor/artificial-owl/my-small-php-tools/lib/Traits/Nextcloud/nc22/TNC22Logger.php:98
Stack trace:
The text was updated successfully, but these errors were encountered: