Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Search Lucene didn't work after update to owncloud 8.1.3 #109

Open
vistalba opened this issue Sep 22, 2015 · 4 comments
Open

Search Lucene didn't work after update to owncloud 8.1.3 #109

vistalba opened this issue Sep 22, 2015 · 4 comments

Comments

@vistalba
Copy link

Hi all

After Upgrade to Owncloud 8.1.3 Stable the Search_Lucene App didn't work anymore.

I have reenabled the app in the Admin-Panel. Search don't find any content, only filenames and also I can't see an indexing-stauts at the search bar.

@VicDeo
Copy link
Contributor

VicDeo commented Oct 1, 2015

@scream88 please try to update the app itself.

@vistalba
Copy link
Author

vistalba commented Oct 2, 2015

@VicDeo I'm already on 0.7.0 but it still doesn't work :(

I'm not sure what is the problem. After upgrade Owncloud to 8.1.3 it hat stop working. I deleted the app and downloaded the newest version from github.
I also deleted the "lucene_index" folder in every userfolder.
If I activate the app after, it creates the folder and some files in it. I can't see any indexing for new files and searching isn't working. Search only shows files if Filename is matching :(

"Lucene_index" folder Conetent:
-rw-rw-rw- 1 www-data www-data 0 Okt 2 08:42 read.lock.file
-rw-rw-rw- 1 www-data www-data 20 Sep 30 12:36 segments_1
-rw-rw-rw- 1 www-data www-data 20 Sep 30 12:36 segments.gen
-rw-r--r-- 1 www-data www-data 0 Sep 30 12:36 v0.6.0
-rw-rw-rw- 1 www-data www-data 0 Sep 30 12:36 write.lock.file

Is there any log file for search_lucene that I can provide to find the problem?

@gerroon
Copy link

gerroon commented Dec 16, 2015

Hi

I cant get it to index anything. Maybe it is indexing but it sure does not find any document based on my searched. I even created a new user with couple pdfs that has indexable text in them.

I am using Debian Wheezy OC 8.13 and I just updated the lucene app to the latest release on this repo.

This is the kind of lucene message there is in the oc log

n...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', NULL)\n#3 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#4 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', false, false)\n#5 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#6 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false)\n#7 /var/www/owncloud8/apps/search_lucene/controller/apicontroller.php(68): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array, Object(OC_EventSource))\n#8 [internal function]: OCA\Search_Lucene\Controller\ApiController->index(NULL)\n#9 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#10 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#11 /var/www/owncloud8/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#12 /var/www/owncloud8/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('ApiController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#13 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#14 /var/www/owncloud8/lib/private/route/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#15 /var/www/owncloud8/lib/base.php(874): OC\Route\Router->match('/apps/search_lu...')\n#16 /var/www/owncloud8/index.php(40): OC::handleRequest()\n#17 {main}","level":3,"time":"2015-12-16T18:42:17+00:00"}
{"reqId":"VnGwh38AAQEAAE0YDwQAAAAC","remoteAddr":"192.168.2.133","app":"search_lucene","message":"Cross-reference streams are not supported yet. Trace:\n#0 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('228093')\n#1 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', NULL)\n#3 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#4 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', false, false)\n#5 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#6 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false)\n#7 /var/www/owncloud8/apps/search_lucene/controller/apicontroller.php(68): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array, Object(OC_EventSource))\n#8 [internal function]: OCA\Search_Lucene\Controller\ApiController->index(NULL)\n#9 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#10 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#11 /var/www/owncloud8/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#12 /var/www/owncloud8/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('ApiController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#13 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#14 /var/www/owncloud8/lib/private/route/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#15 /var/www/owncloud8/lib/base.php(874): OC\Route\Router->match('/apps/search_lu...')\n#16 /var/www/owncloud8/index.php(40): OC::handleRequest()\n#17 {main}","level":3,"time":"2015-12-16T18:42:17+00:00"}
{"reqId":"VnGwh38AAQEAAE0YDwQAAAAC","remoteAddr":"192.168.2.133","app":"search_lucene","message":"Cross-reference streams are not supported yet. Trace:\n#0 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('106231')\n#1 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', NULL)\n#3 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#4 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', false, false)\n#5 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#6 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false)\n#7 /var/www/owncloud8/apps/search_lucene/controller/apicontroller.php(68): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array, Object(OC_EventSource))\n#8 [internal function]: OCA\Search_Lucene\Controller\ApiController->index(NULL)\n#9 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#10 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#11 /var/www/owncloud8/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#12 /var/www/owncloud8/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('ApiController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#13 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#14 /var/www/owncloud8/lib/private/route/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#15 /var/www/owncloud8/lib/base.php(874): OC\Route\Router->match('/apps/search_lu...')\n#16 /var/www/owncloud8/index.php(40): OC::handleRequest()\n#17 {main}","level":3,"time":"2015-12-16T18:42:17+00:00"}
{"reqId":"VnGwh38AAQEAAE0YDwQAAAAC","remoteAddr":"192.168.2.133","app":"search_lucene","message":"Cross-reference streams are not supported yet. Trace:\n#0 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('52041')\n#1 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', NULL)\n#3 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#4 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', false, false)\n#5 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#6 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false)\n#7 /var/www/owncloud8/apps/search_lucene/controller/apicontroller.php(68): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array, Object(OC_EventSource))\n#8 [internal function]: OCA\Search_Lucene\Controller\ApiController->index(NULL)\n#9 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#10 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#11 /var/www/owncloud8/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#12 /var/www/owncloud8/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('ApiController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#13 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#14 /var/www/owncloud8/lib/private/route/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#15 /var/www/owncloud8/lib/base.php(874): OC\Route\Router->match('/apps/search_lu...')\n#16 /var/www/owncloud8/index.php(40): OC::handleRequest()\n#17 {main}","level":3,"time":"2015-12-16T18:42:17+00:00"}
{"reqId":"VnGwh38AAQEAAE0YDwQAAAAC","remoteAddr":"192.168.2.133","app":"search_lucene","message":"Cross-reference streams are not supported yet. Trace:\n#0 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf/Parser.php(460): Zend_Pdf_Parser->_loadXRefTable('704456')\n#1 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(318): Zend_Pdf_Parser->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', Object(Zend_Pdf_ElementFactory_Proxy), false)\n#2 /var/www/owncloud8/apps/search_lucene/3rdparty/Zend/Pdf.php(255): Zend_Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', NULL)\n#3 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(21): Zend_Pdf::parse('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#4 /var/www/owncloud8/apps/search_lucene/document/Pdf.php(69): OCA\Search_Lucene\Document\Pdf->__construct('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...', false, false)\n#5 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(207): OCA\Search_Lucene\Document\Pdf::loadPdf('%PDF-1.5\n%\xE2\xE3\xCF\xD3\n...')\n#6 /var/www/owncloud8/apps/search_lucene/lucene/indexer.php(132): OCA\Search_Lucene\Lucene\Indexer->indexFile(Object(OC\Files\Node\File), false)\n#7 /var/www/owncloud8/apps/search_lucene/controller/apicontroller.php(68): OCA\Search_Lucene\Lucene\Indexer->indexFiles(Array, Object(OC_EventSource))\n#8 [internal function]: OCA\Search_Lucene\Controller\ApiController->index(NULL)\n#9 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#10 /var/www/owncloud8/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#11 /var/www/owncloud8/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Search_Lucene\Controller\ApiController), 'index')\n#12 /var/www/owncloud8/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('ApiController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#13 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#14 /var/www/owncloud8/lib/private/route/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#15 /var/www/owncloud8/lib/base.php(874): OC\Route\Router->match('/apps/search_lu...')\n#16 /var/www/owncloud8/index.php(40): OC::handleRequest()\n#17 {main}","level":3,"time":"2015-12-16T18:42:17+00:00"}

Thanks

@sarathnair
Copy link

I am experiencing the same issue on Owncloud v8.2.2. Also I cant' see much logs on search_lucene. I can only see 2 types of messages:

{"reqId":"5wshJVt3PZhtCjr3WHLI","remoteAddr":"172.16.2.99","app":"search_lucene","message":"background job optimizing index for rakesh","level":0,"time":"2016-02-15T18:40:59+00:00","method":"GET","url":"/ges-drive/cron.php"}
{"reqId":"5wshJVt3PZhtCjr3WHLI","remoteAddr":"172.16.2.99","app":"search_lucene","message":"removed 0 files from index","level":0,"time":"2016-02-15T18:40:59+00:00","method":"GET","url":"/ges-drive/cron.php"}

I have enabled search lucene app. Not using encryption nor using any external storage.

lucene_index folder:

-rw-rw-rw- 1 www-data www-data 0 Feb 15 23:20 write.lock.file
-rw-r--r-- 1 www-data www-data 0 Feb 15 23:20 v0.6.0
-rw-rw-rw- 1 www-data www-data 20 Feb 15 23:20 segments.gen
-rw-rw-rw- 1 www-data www-data 20 Feb 15 23:20 segments_1
-rw-rw-rw- 1 www-data www-data 0 Feb 16 00:16 read.lock.file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants