<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
-- Describe the issue
Ran the latest self compiled version of bitcoind on my bitcoin full node datadir. Later when running 0.16.2 precompiled binary, it gives this error You need to rebuild the database using -reindex to change -txindex. Please restart with -reindex or -reindex-chainstate to recover. : You need to rebuild the database using -reindex to change -txindex. Please restart with -reindex or -reindex-chainstate to recover. Aborted block database rebuild. Exiting.
--- What behavior did you expect? --
Full node starting as usual
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
0.16.2 -> gives an error self compiled client -> works 0.16.2 -> gives error etc.
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
-- What type of machine are you observing the error on (OS/CPU and disk type)? --
Ubuntu 16.04, amd processor
-- Any extra information that might be useful in the debugging process. --
On a side note, the self compiled client prints debug output in the terminal screen, even though I started with the command "./bitcoind &"
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->