Nextant doesn't work properly

Hello All,

I have installed Nextant service under NC 11.0 now upgraded to 11.02 ,since the beginning he didn’t worked properly
The Nextant never turn on its index job , and when doing “Test and save” all pass green , but when i am trying to index using CLI > sudo -u www-data php occ nextant:index i get following error below after some index progress.
Any iea what is wrong ?
Please advice
Thanks

 An unhandled exception has been thrown:
Error: Call to a member function getCache() on null in /var/www/nextcloud/apps/files_sharing/lib/Cache.php:69
Stack trace:
#0 /var/www/nextcloud/lib/private/Files/Cache/Wrapper/CacheJail.php(210): OCA\Files_Sharing\Cache->getCache()
#1 [internal function]: OC\Files\Cache\Wrapper\CacheJail->search('%%')
#2 /var/www/nextcloud/lib/private/Files/Node/Folder.php(247): call_user_func_array(Array, Array)
#3 /var/www/nextcloud/lib/private/Files/Node/Folder.php(187): OC\Files\Node\Folder->searchCommon('search', Array)
#4 /var/www/nextcloud/apps/nextant/lib/Service/FileService.php(347): OC\Files\Node\Folder->search('')
#5 /var/www/nextcloud/apps/nextant/lib/Command/Index.php(262): OCA\Nextant\Service\FileService->getFilesPerUserId('/files', Array)
#6 /var/www/nextcloud/apps/nextant/lib/Command/Index.php(205): OCA\Nextant\Command\Index->indexesFiles(Object(Symfony\Component\Console\Input\ArgvInput),                                                                                       Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(256): OCA\Nextant\Command\Index->execute(Object(Symfony\Component\Console\Input\ArgvIn                                                                                      put), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/nextcloud/core/Command/Base.php(161): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Objec                                                                                      t(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(818): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(                                                                                      Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Nextant\Command\Inde                                                                                      x), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input                                                                                      \ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/nextcloud/lib/private/Console/Application.php(169): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvIn                                                                                      put), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/nextcloud/console.php(90): OC\Console\Application->run()
#14 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')

We have wrote an installation script you might wanna check it.
For it to run you’ll have to clean the current installation, check the script for more info:
https://github.com/nextcloud/vm/blob/master/static/nextant.sh

I’ve heard there is a docker image somewhere, if you are into docker.
Cheers!

Hi,
Thanks for the answer , i did used following suggested script , but same result , as docker unfortunately , the machine is on hosted server using specific Kernel that not compatible with docker.
any idea how to resolve it?
Thanks

Can you provide more informations about the filesystem ? is it local/mounted/external ?

Hi,
Its local mounted all files reside under "/home/nextcloud/data"
we recently migrated from dropbox using webdav copying files under admi account

Any idea any one ?
please advice
thanks

Please follow up here

1 Like

Hi ,
Sorry , didn’t quit understand , you meant follow the installation instructions , or certain bug opened , or should i open a bug ?
Thanks

this should be fixed in Nextcloud 12

1 Like

Thank you :pray::thumbsup:

Please describe how to clean up an installation. Or how a clean installation looks like.

Thanks