nextcloud / nextcloud/fulltextsearch
Full-text search not installable
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 234
- Forks
- 64
- Avg merge
- 6h 18m
- Merged PRs (30d)
- 10
Description
Trying to install Elastic Search
keep getting
Steps to reproduce
1.sudo bash /var/scripts/menu.sh
2.install Full Text Search
3.
Expected behaviour
Full Text Search should be installed
Actual behaviour
Full Text Search not installed
Server configuration
Nextcloud server version: (see your admin page)
20.0.3
Server OS (Ubuntu server is default)
ubuntu
How did you install the VM? (Scripted install from master OR Released version)
released version (vm from https://www.hanssonit.se/nextcloud-vm/
Network
Do you use DHCP?
yes. but router has fixed assigment for this mac
Is port 80 and/or 443 open?
yes.
Logs / Screenshots
Log file (/var/log/nextcloud/nextcloud.log)
Insert your nextcloud.log file here
Installation log (command output)
> An unhandled exception has been thrown:
> TypeError: Return value of "OCA\FullTextSearch_Elasticsearch\Command\Configure::execute()" must be of the type int, "null" returned. in /var/www/nextcloud/apps/mail/vendor/symfony/console/Command/Command.php:261
> Stack trace:
> #0 /var/www/nextcloud/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run()
> nextcloud/vm#1 /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(920): OC\Core\Command\Base->run()
> nextcloud/vm#2 /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(266): Symfony\Component\Console\Application->doRunCommand()
> nextcloud/vm#3 /var/www/nextcloud/apps/mail/vendor/symfony/console/Application.php(142): Symfony\Component\Console\Application->doRun()
> nextcloud/vm#4 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
> nextcloud/vm#5 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
> nextcloud/vm#6 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
> nextcloud/vm#7 {main}Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
> sudo -u www-data php /var/www/nextcloud/occ fulltextsearch_elasticsearch:configure {"elastic_host":"http://logfjmfplnnbltmjxhcbogezc:0uy0R0Ex0rH90adKcR8XNNrBD@localhost:9200","elastic_index":"logfjmfplnnbltmjxhcbogezc-index"} failed
> Posting notification to users that are admins, this might take a while...
> Posting 'Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!' to: dmitriy
> ncadmin@nextcloud-host:~$
>
Screenshots
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Full Text Search installation through /var/scripts/menu.sh and the fulltextsearch_elasticsearch:configure command. Start with OCA\FullTextSearch_Elasticsearch\Command\Configure::execute() and the stack-trace paths in apps/mail/vendor/symfony/console/Command/Command.php and core/Command/Base.php; done means installation completes without the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, php, ubuntu
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100