In this case "I know not how it was" is saying that the author or teller of the story is saying that he can't explain it, but somehow, looking at this house, there was a pervasive sense of insufferable gloom. The "I know not how it was" is just that " he doesn't know how to explain it". :)

Only top voted, non community-wiki answers of a minimum length are eligible