# Filename Search not working

**URL:** <https://forum.pydio.com/t/filename-search-not-working/2296>\
**Category:** Pydio 8\
**Created:** [March 23, 2019, 8:29pm UTC](https://forum.pydio.com/t/filename-search-not-working/2296 "2019-03-23T20:29:50Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ls4680](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@ls4680](https://forum.pydio.com/u/ls4680)\
**Post date:** [March 23, 2019, 8:29pm UTC](https://forum.pydio.com/t/filename-search-not-working/2296/1 "2019-03-23T20:29:50Z")

</div>

I host a site for an not-for-profit organization that only stores training videos. There are no documents on the site, only videos. The video filenames are coded with numbers by type of video.

Obviously since these are video files there is NEVER a need to search for contents in a files, only search by file names.

The filename search is not working: For example when I enter "401\*" in the search field I always get a pop-up window at the bottom of the screen that displays "Network error h is null". I also get a spinning progress indicators that never stops…

Currently running 8.2.1 (2018-07-03).

In the Update Engine Screen, 2 upgrades are listed but when I check the box next to the upgrade and click on [START UPDATE] nothing happens.

**What can I do to get the filename search function to work?**

Client : Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0  
Crypto Extension Detected : OpenSSL  
Command Line Available : No : sh: php: not found  
DOM Enabled : Yes  
Exif Enabled : Yes  
GD Enabled : Yes  
Upload Max Size : 500M  
Memory Limit : 512M  
Max execution time : 120  
Safe Mode : 0  
Safe Mode GID : 0  
Xml parser enabled : 1  
Server OS : FreeBSD  
Session Save Path :  
PHP Version : 7.2.16  
Locale : C  
Directory Separator : /  
PHP Opcode Cache extension loaded : Yes  
PHP INTL extension loaded : No  
PHP Output Buffer disabled : No  
PHP File Uploads enabled : Yes  
Magic quotes disabled : Yes  
Upload Tmp Dir Writeable : Yes  
PHP Upload Max Size : 524288000  
PHP Post Max Size : 1048576000  
Users enabled : Yes  
Guest enabled : No  
Writeable Folders : [\<b\>cache\</b\>:true,\<br\> \<b\>data\</b\>:true]  
Zlib Enabled : Yes

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 25, 2019, 9:26am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/2 "2019-03-25T09:26:25Z")

</div>

Hi,  
did you index the files once uploaded?

 ![13](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/f28b2bede6fb47616789739110e845605a8e5f5f.png)

---

<div class="post-metadata">

**Author:** ![ls4680](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@ls4680](https://forum.pydio.com/u/ls4680)\
**Post date:** [March 26, 2019, 1:56am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/3 "2019-03-26T01:56:37Z")

</div>

Thanks for this help.  
I did not do this with previous versions of Ajax Explorer or Pydio.

It has been running for several hours…  
“Running indexation in background Starting…”.  
Also there is a red throbber circle next to the search box.

How long should this take? I have about 5000 files in the library, many in the personal files workspaces of 8 users. There are also 7 other common workspaces with files from previous years.

Remember that I wrote that these are video files. I only need to search by filename and never by file contents.

UPDATE: Still running after 24 hours…  
When I log back in I see  
“Running indexation in background Starting…”.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 28, 2019, 8:09am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/4 "2019-03-28T08:09:28Z")

</div>

Hi,  
did you try to do a research meanwhile ?

---

<div class="post-metadata">

**Author:** ![ls4680](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@ls4680](https://forum.pydio.com/u/ls4680)\
**Post date:** [March 28, 2019, 5:15pm UTC](https://forum.pydio.com/t/filename-search-not-working/2296/5 "2019-03-28T17:15:46Z")

</div>

Yes I have tried searching for 401\* again. Still get the pop-up with error "Network error h is null.

“Index Content” described above has been continually running for 3 days now. When I login and access the “All User Files” workspace is still see:  
“Running indexation in background Starting…”. Is this attempting to index contents of the files? My library is video flies only. All I need to search for is filenames. We desperately need to locate files by filename.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 29, 2019, 8:12am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/6 "2019-03-29T08:12:33Z")

</div>

Hi,  
ok first, could you assure me that you have lucene on the workspace,

 ![18](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/72a14e2daa9590de584401b0fed5acf654dc43e1.png)

Also could you do this,  
Debug Mode

```auto

Go to conf/bootstrap_context.php .

Switch this line to true : 

define("AJXP_SERVER_DEBUG" , true);

```

reproduce the error and send the me stack.

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [March 29, 2019, 11:31am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/7 "2019-03-29T11:31:22Z")

</div>

Hi,

Maybe you have problem with cli path.  
Try to turnoff php cli in Pydio then launch index again.  
Note: make sure max\_exection\_time is longer enough for this process

---

<div class="post-metadata">

**Author:** ![ls4680](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@ls4680](https://forum.pydio.com/u/ls4680)\
**Post date:** [March 29, 2019, 5:53pm UTC](https://forum.pydio.com/t/filename-search-not-working/2296/8 "2019-03-29T17:53:02Z")

</div>

To aid in testing I have changed to a smaller work space, only 154 Video files…  
I have verified that this workspace has "Lucene Search Engine" turned on.

> Maybe you have problem with cli path.  
> Try to turnoff php cli in Pydio then launch index again.

Settings\> Application Core\> Command Line:  
Command-line Active is ON  
Command-line PHP only had "php" I have changed this to the full path.  
In Diagnostic it now says Command Line Available YES

Now when I re-Index Content, in the pop-up window where it used to only display: Starting… I now see it display that it is indexing subdirectory names in the workspace in turn and appears to complete in less than 60 seconds. However when I enter "404\*" into the search box I still get a popup at the bottom center of screen that display "Network error h is null". I know for a fact that there are 6 filenames in the workspace that begin with "404".

I have also set Command-line Active to OFF, results are the same…

> Note: make sure max\_exection\_time is longer enough for this process

In php.ini max\_execution\_time changed from 120 to 600  
Apache restarted to refresh change to php.ini

How long should it take to Index only 154 filenames? 12 core processor with 128GB RAM. find command in shell is almost instantaneous.

---

<div class="post-metadata">

**Author:** ![ls4680](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@ls4680](https://forum.pydio.com/u/ls4680)\
**Post date:** [March 29, 2019, 5:58pm UTC](https://forum.pydio.com/t/filename-search-not-working/2296/9 "2019-03-29T17:58:40Z")

</div>

conf/bootstrap\_context.php edited to:

> define(“AJXP\_SERVER\_DEBUG” , true);

Where do I find the "stack" to send you?

In the Server Logs I see:

 ![Pydio-Log](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/f11329499d442653649939f1dd00c77585e42184.jpeg)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [April 1, 2019, 7:19am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/10 "2019-04-01T07:19:45Z")

</div>

Hi,  
the error should appear either in your browser webconsole or you’ll see it in the pop-up at the bottom once you have an error.

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [April 1, 2019, 10:37am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/11 "2019-04-01T10:37:43Z")

</div>

hi @ls4680

Do you have any error in the log of web server? The difference is you are running pydio on FreeBSD. So if it’s possible, please send me access to your server via [tran@pydio.com](mailto:tran@pydio.com)

---

<div class="post-metadata">

**Author:** ![ls4680](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@ls4680](https://forum.pydio.com/u/ls4680)\
**Post date:** [April 8, 2019, 7:51pm UTC](https://forum.pydio.com/t/filename-search-not-working/2296/12 "2019-04-08T19:51:14Z")

</div>

Hi c12simple,

I sent you login information via private email on 2 April. Did you receive it? I just sent again.

Thanks for your offer to help resolve this.

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [April 9, 2019, 8:43am UTC](https://forum.pydio.com/t/filename-search-not-working/2296/13 "2019-04-09T08:43:28Z")

</div>

Hi @ls4680 ,

Both elastic and lucene plugin were desactived :).  
Enable lucene then reindex =\> that works. (tested on CRS big - 10)
