Python Error on Indexing Rank on Full Planet Import: How to Fix It?

Your database was restarted by something external. Find out why the restart happened and make sure it doesn’t happen again. Then continue the import as described in the FAQ:

nominatim import --continue indexing