Try to sync before creating a new sqlite database.