owncloud / search_elastic

Elasticsearch based full text search
https://github.com/owncloud/search_elastic
GNU General Public License v2.0
8 stars 1 forks source link

WND Listener does not trigger UpdateContent #82

Open micbar opened 5 years ago

micbar commented 5 years ago

Steps to reproduce

Prerequisites

Connect a working WND Listener.

  1. Create File Sunny.txt in OC on external Share (WND) with content Sunny day
  2. Run cron.php
  3. File can be found by searching "Sunny"
  4. Edit File on Windows Server content rainy day
    MariaDB [owncloud]> select * from oc_wnd_nqueue where action = "modify";
    +----+------------------------------------------+--------+---------------+--------------+---------------+------------+
    | id | notification_hash                        | action | target_server | target_share | parameters    | timestamp  |
    +----+------------------------------------------+--------+---------------+--------------+---------------+------------+
    | 11 | 343ac8e26712831545b95f401b9133bc82969e79 | modify | 10.42.16.144  | Shared       | ["Sunny.txt"] | 1553859832 |
    +----+------------------------------------------+--------+---------------+--------------+---------------+------------+
    1 row in set (0.00 sec)
MariaDB [owncloud]> select * from oc_filecache where name like "%Sunny%";
+--------+---------+-----------+----------------------------------+--------+-----------+----------+----------+------+------------+---------------+-----------+------------------+---------------+-------------+-----------------------------------------------------------------------------------------------------+
| fileid | storage | path      | path_hash                        | parent | name      | mimetype | mimepart | size | mtime      | storage_mtime | encrypted | unencrypted_size | etag          | permissions | checksum                                                                                            |
+--------+---------+-----------+----------------------------------+--------+-----------+----------+----------+------+------------+---------------+-----------+------------------+---------------+-------------+-----------------------------------------------------------------------------------------------------+
|     41 |       5 | Sunny.txt | b93cb6d05b4a8076faf3cfbedbd7905c |     18 | Sunny.txt |       11 |       10 |    9 | 1553859833 |    1553859833 |         0 |                0 | 5c9e04f8d733f |          27 | SHA1:3fe8fb5dcc4dd4ed7c401be6ec72baa650ef8679 MD5:491c21e51428012fc81986324b8d2cf5 ADLER32:1176037c |
+--------+---------+-----------+----------------------------------+--------+-----------+----------+----------+------+------------+---------------+-----------+------------------+---------------+-------------+-----------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
  1. Run process:queue
  2. Search "Rainy", find nothing
  3. Search "Sunny" find "Sunny.txt" with the content "Rainy day"
micbar commented 4 months ago

unassigning myself.