I tried updating, following the instructions to delete /db and db.version, adding checkpoint-sync-url. This resulted in:
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "tech.pegasys.teku.storage.server.metadata.V6DatabaseMetadata$SingleDBMetadata.getConfiguration()" because the return value of "tech.pegasys.teku.storage.server.metadata.V6DatabaseMetadata.getSingleDbConfiguration()" is null
Perplexity is telling me the instructions are wrong and I have to resync? What is the actual way to update?
It specifically says that it requires the checkpoint-sync-url or initial-state or it won't create the new database.
WRONG ORDER (what instructions told you):
- Delete db/ + db.version
- Add checkpoint-sync-url
- Restart → CRASH (null metadata during DB creation)
CORRECT ORDER:
- Delete db/ + db.version
- Restart WITHOUT checkpoint-sync-url → Teku would error "missing checkpoint"
- Teku needs checkpoint FIRST for new DB
I tried updating, following the instructions to delete /db and db.version, adding checkpoint-sync-url. This resulted in:
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "tech.pegasys.teku.storage.server.metadata.V6DatabaseMetadata$SingleDBMetadata.getConfiguration()" because the return value of "tech.pegasys.teku.storage.server.metadata.V6DatabaseMetadata.getSingleDbConfiguration()" is null
Perplexity is telling me the instructions are wrong and I have to resync? What is the actual way to update?