Hi, I upgraded redis 5.0.7 to 6.2.4 by sudo apt-get install redis. In 6.2.4 I see GEOSEARCH command but returns "ERR unknown command 'GEOSEARCH', with args beginning with: 'Siciliy', 'FROMLONLAT', ...... (redis docs example)

Anything wrong my side? Best regards

Comment From: oranagra

@SayaGames please post more exact examples of what you're attempting. please also check redis-cli info server and redis-cli command info geosearch

Comment From: SayaGames

Umm weird situation... I started the server "redis-server" says "Redis 6.2.4" But "redis-cli" says "redis_version:5.0.7" command info geosearch says: 1) (nil)

Ubuntu windows WSL redis_mode:standalone os:Linux 4.4.0-17763-Microsoft x86_64

Comment From: oranagra

i suppose the redis you're connecting to is not the same one you're running.

Comment From: SayaGames

I noticed on the server that: "Loading RDB produced by version 5.0.7" since my lack of experience, how to fix?

Comment From: oranagra

fix what? loading an existing rdb file produced by the previous version is good.

Comment From: SayaGames

Isn't that why it's not working of GEOSEARCH command? Because GEOSEARCH command needs 6.2. or above

Comment From: oranagra

no. i'm not sure which redis is the one that prints it, but even if that's 6.2, it's fine that it loads the data (keys) from a dump created by 5.0. as you indicated, you see that redis 6.2 is starting, but when you connect to "it", INFO server indicates that it's a 5.0, the only possible explanation for that is that you're not connecting to the same server that you think you're using. i suppose that even if you'll stop redis, you'll see that you're still able to connect to "it".

anyway, this is not a support forum, it's a place to report bug reports and feature requests, please try to figure it, and respond here if you find an actual issue with redis. thanks.

Comment From: SayaGames

Hi oranagra. Thanks for replies. All I did was restart the server. Now it shown as redis_version:6.2.4. The GEOSEARCH command also works.