drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
692 stars 90 forks source link

Unsupported index file format version on IDX files #653

Open vanderhaas opened 2 years ago

vanderhaas commented 2 years ago

I'll be honest, I'm a bit clueless in terms of working with Linux, and cloned databases, but I managed to set it up and used it for over a year. Including updating it once in a few months. Sadly, when I updated it once again 2 days ago I got "Unsupported index file format version" on all IDX files. I've tried to clone it again today (06-02-2022 DB) and it still gives me the same error.

To make sure it's not a p[roblem on my side I've downloaded smaller osm.bz2 and made it into a database. Worked without any issues.

I'm totally lost here. I'd love to still use cloned DB as converting planet files would take days for my PC and I need to keep my data up to date monthly not daily.

mmd-osm commented 2 years ago

I noticed the same issue a couple of days ago. I guess you're still running some older version (any version before 0.7.57). Due to some recent index format change, older version don't seem be able to process current clone files anymore. To use the clone feature, you would have to switch to 0.7.57 or better 0.7.57.1. --> https://dev.overpass-api.de/releases/

Unfortunately, this change isn't mentioned in the release notes...

vanderhaas commented 2 years ago

I have 0.7.54 and 0.7.56... don't ask why both. I'll try to install 0.7.71.1... somehow. As I said, I'm a noob :D Thanks :)

mmd-osm commented 2 years ago

I added some explanation to the Wiki page now: https://wiki.openstreetmap.org/wiki/Overpass_API/versions#Overpass_API_v0.7.57