key 'docinfo' was permanently removed from configuration

@tomat @Sergey
Hi
Facing the below warning,could not be able to fetch the records from the index .

root@test1:/etc/manticoresearch# sudo indexer --all
Manticore 3.3.0 01fc8ad1@200204 release
Copyright © 2001-2016, Andrew Aksyonoff
Copyright © 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright © 2017-2020, Manticore Software LTD (http://manticoresearch.com)

using config file ‘/etc/manticoresearch/manticore.conf’…
WARNING: key ‘docinfo’ was permanently removed from configuration. Refer to documentation for details.
indexing index ‘test_idx_1’…
collected 99999 docs, 1.7 MB
creating lookup: 100.0 Kdocs, 100.0% done
creating histograms: 100.0 Kdocs, 100.0% done
sorted 0.3 Mhits, 100.0% done
total 99999 docs, 1701738 bytes
total 0.234 sec, 7263072 bytes/sec, 426798.97 docs/sec
total 40 reads, 0.001 sec, 118.4 kb/call avg, 0.0 msec/call avg
total 30 writes, 0.005 sec, 296.7 kb/call avg, 0.1 msec/call avg

docinfo was a setting of old 2.x index storage engine. It was removed in 3.0 when we rewrote the storage engine.
What exactly you mean by not been able to fetch records? Searches don’t give you a match?

@adrian @tomat
Hi …
When checked the manticore status ,faced the below error.

root@test-QA:/etc/manticoresearch# service manticore status
● manticore.service - Manticore Search Engine
Loaded: loaded (/run/systemd/generator.early/manticore.service; generated)
Active: active (running) since Fri 2020-08-14 21:54:22 IST; 6s ago
Process: 14949 ExecStop=/usr/bin/searchd --config /etc/manticoresearch/manticore.conf --stopwait (code=exited, status=1/FAILURE)
Process: 14995 ExecStart=/usr/bin/searchd --config /etc/manticoresearch/manticore.conf (code=exited, status=0/SUCCESS)
Process: 14994 ExecStartPre=/usr/bin/install -omanticore -gmanticore -m755 -d /var/run/manticore (code=exited, status=0/SUCCESS)
Main PID: 15011 (searchd)
Tasks: 35 (limit: 4915)
CGroup: /system.slice/manticore.service
├─15009 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf
└─15011 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf

Aug 14 21:54:22 test-QA searchd[14995]: WARNING: key ‘docinfo’ was permanently removed from configuration. Refer to documentation for details.
Aug 14 21:54:22 test-QA searchd[14995]: precaching index ‘test_idx_1’
Aug 14 21:54:22 irl-stg-proxymanti searchd[14995]: WARNING: index ‘test_idx_1’: prealloc: failed to open file ‘/var/lib/manticore/data/test_idx_1.spa’: ‘Permission denied’;
Aug 14 21:54:22 test-QA searchd[14995]: Manticore 3.3.0 01fc8ad1@200204 release
Aug 14 21:54:22 test-QA searchd[14995]: Copyright © 2001-2016, Andrew Aksyonoff
Aug 14 21:54:22 test-QAsearchd[14995]: Copyright © 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Aug 14 21:54:22 test-QA searchd[14995]: Copyright © 2017-2020, Manticore Software LTD (http://manticoresearch.com)
Aug 14 21:54:22 test-QA searchd[14995]: WARNING: key ‘docinfo’ was permanently removed from configuration. Refer to documentation for details.
Aug 14 21:54:22 test-QA systemd[1]: manticore.service: Supervising process 15011 which is not our child. We’ll most likely not notice when it exits.
Aug 14 21:54:22 test-QA systemd[1]: Started Manticore Search Engine.

@AneeshBabu
Looks like a typical permissions issue when indexer was run under root which made the index files to be saved under root too while searchd is running under non-root user (“manticore” in this case). Fix the permissions and run indexer under “manticore” in future:

sudo -u manticore indexer ...

@Sergey @adrian
Hi…
Below are the 2 errors when checked the status of manticore & when tried to select the data from the index ix_1…!

root@Test-QA:~# service manticore status
● manticore.service - Manticore Search Engine
Loaded: loaded (/run/systemd/generator.early/manticore.service; generated)
Active: active (running) since Tue 2020-08-18 13:33:06 IST; 1h 45min ago
**Process: 12616 ExecStop=/usr/bin/searchd --config /etc/manticoresearch/manticore.conf --stopwait (code=exited, status=1/FAILURE)
> Process: 12682 ExecStart=/usr/bin/searchd --config /etc/manticoresearch/manticore.conf (code=exited, status=0/SUCCESS)
Process: 12680 ExecStartPre=/usr/bin/install -omanticore -gmanticore -m755 -d /var/run/manticore (code=exited, status=0/SUCCESS)
Main PID: 12694
Tasks: 35 (limit: 4915)
CGroup: /system.slice/manticore.service
├─12692 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf
└─22154 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf

Aug 18 13:33:05 Test-QA searchd[12682]: Copyright © 2017-2020, Manticore Software LTD (http://manticoresearch.com)
Aug 18 13:33:05 Test-QA searchd[12682]: WARNING: key ‘docinfo’ was permanently removed from configuration. Refer to documentation for details.
Aug 18 13:33:05 Test-QA searchd[12682]: precaching index ‘ix_1’
Aug 18 13:33:06 Test-QA searchd[12682]: Manticore 3.3.0 01fc8ad1@200204 release
Aug 18 13:33:06 Test-QA searchd[12682]: Copyright © 2001-2016, Andrew Aksyonoff
Aug 18 13:33:06 Test-QA searchd[12682]: Copyright © 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Aug 18 13:33:06 Test-QA searchd[12682]: Copyright © 2017-2020, Manticore Software LTD (http://manticoresearch.com)
Aug 18 13:33:06 Test-QA searchd[12682]: WARNING: key ‘docinfo’ was permanently removed from configuration. Refer to documentation for details.
Aug 18 13:33:06 Test-QA systemd[1]: manticore.service: Supervising process 12694 which is not our child. We’ll most likely not notice when it ex
Aug 18 13:33:06 Test-QA systemd[1]: Started Manticore Search Engine.

manticore>show tables;
±------±------+
| Index | Type |
±------±------+
| ix_1 | local |
±------±------+
1 row in set (0.00 sec)

manticore>select * from ix_1;
ERROR 2013 (HY000): Lost connection to MySQL server during query

@AneeshBabu What’s in the searchd log?