I upgraded the version to v0.21.2 and tried to resync all blocks for the extension blocks.
what I did
rm -rf blocks
rm -rf chainstate
./litecoind -conf=./litecoin.conf
config is the following
testnet=1
server=1
txindex=1
[test]
rpcbind=127.0.0.1
rpcbind=*******************
rpcallowip=0.0.0.0/0
rpcuser=*******
rpcpassword=*******
rpcport=*******
port=*******
rpcworkqueue=32767
zmqpubhashblock=tcp://=*******************
zmqpubrawtx=tcp://=*******************
but got the following log
2022-05-17T10:45:35Z UpdateTip: new best=21a7e837ad9f7d3dbd2e5e323dda616f2b911f3220e1a638a865c13c8059dbc7 height=2330170 version=0x20000014 log2_work=55.258820 tx=5877447 date='2022-05-17T10:45:07Z' progress=1.000000 cache=0.0MiB(48txo)
2022-05-17T10:46:10Z UpdateTip: new best=63f77dd71609983adef87b3478d4b3093d2692a230d2a7ddc00d116ae8b69338 height=2330171 version=0x20000014 log2_work=55.258822 tx=5877449 date='2022-05-17T10:45:34Z' progress=1.000000 cache=0.0MiB(49txo)
2022-05-17T10:46:50Z UpdateTip: new best=d84523d915b20592338f66af089f11dade3b530c8aa88c7c936491b2f84c732b height=2330172 version=0x20000014 log2_work=55.258824 tx=5877451 date='2022-05-17T10:46:10Z' progress=1.000000 cache=0.0MiB(50txo)
2022-05-17T10:47:26Z UpdateTip: new best=32dacb45e2568bba61cdbcc80a21340814544de8ff33c0a98f8b50902398075a height=2330173 version=0x20000014 log2_work=55.258826 tx=5877453 date='2022-05-17T10:46:49Z' progress=1.000000 cache=0.0MiB(51txo)
2022-05-17T10:48:14Z UpdateTip: new best=6b6ce9a6ecb8fa88c39160ae120d7e288436d579b333363561fdd9d1054b41d9 height=2330174 version=0x20000014 log2_work=55.258828 tx=5877455 date='2022-05-17T10:47:26Z' progress=0.999999 cache=0.0MiB(52txo)
2022-05-17T10:49:10Z UpdateTip: new best=31fd5bd73df7c3ecb1694661f356059a53bad0e5cb199a09e717843ebe081fc6 height=2330175 version=0x20000014 log2_work=55.258830 tx=5877457 date='2022-05-17T10:48:14Z' progress=0.999999 cache=0.0MiB(53txo)
2022-05-17T10:49:15Z UpdateTip: new best=b1f684675565f0e65784a8f35cb7478eeab5be4be49798db0ee4eb7f76b52fbd height=2330176 version=0x20000014 log2_work=55.258832 tx=5877459 date='2022-05-17T10:49:10Z' progress=1.000000 cache=0.0MiB(54txo)
2022-05-17T10:50:26Z ERROR: AcceptBlock: mweb-missing, MWEB activated but extension block not found
2022-05-17T10:50:26Z ERROR: ProcessNewBlock: AcceptBlock FAILED (mweb-missing, MWEB activated but extension block not found)
2022-05-17T10:50:26Z Disconnecting and discouraging peer 172!
2022-05-17T10:50:30Z ERROR: AcceptBlock: mweb-missing, MWEB activated but extension block not found
2022-05-17T10:50:30Z ERROR: ProcessNewBlock: AcceptBlock FAILED (mweb-missing, MWEB activated but extension block not found)
2022-05-17T10:50:30Z Disconnecting and discouraging peer 173!
it seems the wrong chain.
could you some advice?