The interpretation timeline
Psalm 106:4 Douay-Rheims

They wandered in a wilderness, in a place without water: they found not the way of a city for their habitation.

A.D. 395 – 1875 7 witnesses

Patristic

before A.D. 750
395
A.D.
Gregory of Nyssa Patristic
c. A.D. 335–395
“Prophetic language affirms that the conversion of those in error is the work of God. For "they went astray in the wilderness in a thirsty land," the psalmist says, and then he adds, "So he led them forth by the right way, that they might go to the city where they dwelled," and "when the Lord turned again the captivity of Zion." In like manner also the comfort of the afflicted is ascribed to God, Paul thus says, "Blessed be God, even the Father of our Lord Jesus Christ, who comforts us in all our tribulation." Again, the psalmist says, speaking in the person of God, "You called on me in trouble, and I delivered you." And the setting upright of those who stumble is ascribed innumerable times by Scripture to the power of the Lord: "You have held me by the hand that I might fall, but the Lord was my help," and "Though he fall, he shall not be cast away, for the Lord upholds him with his hand," and "The Lord helps them that are fallen." And the recovery of the distressed admittedly belongs to the loving-kindness of God, if Eunomius means the same thing of which we learn in prophecy, as the Scripture says, "You laid burdens on our backs; you allowed people to ride over our heads; we went through fire and water, and you brought us to a place of abundance."”
Source
430
A.D.
Augustine of Hippo Patristic
A.D. 354–430
“"They wandered in the wilderness, in a dry place, they found not the way of a city to dwell in" [Psalm 107:4]. We have heard a wretched wandering; what of want? "Hungry and thirsty, their soul fainted in them" [Psalm 107:5]. But wherefore did it faint? For what good? For God is not cruel, but He makes Himself known, in that it is expedient for us, that He be entreated by us fainting, and that aiding us He be loved.”
Source

Scholastic

c. 1100 – 1500
1105
A.D.
Rashi Jewish
1040–1105
“They strayed in the desert, on a road of desolation, etc. Those who travel in the deserts must also give thanks because sometimes they stray and suffer from hunger and thirst.”

Post-Reformation

c. 1650 – 1900
1771
A.D.
John Gill Reformed
1697–1771
“Hungry and thirsty,.... As travellers in deserts sometimes are; their provisions being spent they bring with them, and none to be had on the road; there being no inns to stop at, nor any sort of food to eat, nor springs of water to drink of. In such a condition are souls, when, like the prodigal, they come to themselves, and are thoroughly convinced of their state and condition by nature; they find themselves starving and famishing, and no provision to be had from themselves or the creature: they hunger after Christ, the bread of life, and thirst after his grace, the water of life, and the blessings of it; they hunger and thirst after his righteousness, and justification by it; after the pardon of their sins through his blood, and after salvation by him, and an interest in it; after more knowledge of him, and communion with him. Their soul fainted in them; for want of food and drink; as men do, in a spiritual sense, for want of Christ, the blessings of his grace, particularly salvation; for want of views of interest in it, of the joys and comforts of it; see Psa 119:81. Some refer all this to the apostles and apostolic men, wandering in the Gentile world, hungry, thirsty, and without any certain dwelling place; see Co1 4:11.”
Source
1849
A.D.
1774–1849
“Habitation. So were the Jews distressed at Babylon, (Calmet) as many are forced to wander in the world, and all are involved in sin. (Worthington)”
1863
A.D.
1796–1863
“They found no city on their way, in which they might sojourn : they passed through a pathless desert.”
1875
A.D.
Keil & Delitzsch Lutheran
1861–1875
“It has actually come to pass, the first strophe tells us, that they wandered in a strange land through deserts and wastes, and seemed likely to have to succumb to death from hunger. According to Psa 107:40 and Isa 43:19, it appears that Psa 107:4 ought to be read לא־דרך (Olshausen, Baur, and Thenius); but the line is thereby lengthened inelegantly. The two words, joined by Munach, stand in the construct state, like פּרא אדם, Gen 16:12 : a waste of a way = ἔρημος ὁδός, Act 8:26 (Ewald, Hitzig), which is better suited to the poetical style than that דּרך, as in משׁנה־כּסףp, and the like, should be an accusative of nearer definition (Hengstenberg). In connection with עיר מושׁב the poet, who is fond of this combination (Psa 107:7, Psa 107:36, cf. בּית־מושׁב, Lev 25:29), means any city whatever which might afford the homeless ones a habitable, hospitable reception. With the perfects, which describe what has been experienced, alternates in Psa 107:5 the imperfect, which shifts to the way in which anything comes about: their soul in them enveloped itself (vid., Psa 61:3), i.e., was nigh upon extinction. With the fut. consec. then follows in Psa 107:6 the fact which gave the turn to the change in their misfortune. Their cry for help, as the imperfect יצּילם implies, was accompanied by their deliverance, the fact of which is expressed by the following fut. consec. ויּדריכם. Those who have experienced such things are to confess to the Lord, with thanksgiving, His loving-kindness and His wonderful works to the children of men. It is not to be rendered: His wonders (supply אשׁר עשׂה) towards the children of men (Luther, Olshausen, and others). The two ל coincide: their thankful confession of the divine loving-kindness and wondrous acts is not to be addressed alone to Jahve Himself, but also to men, in order that out of what they have experienced a wholesome fruit may spring forth for the multitude. נפשׁ שׁוקקה (part. Polel, the ē of which is retained as a pre-tonic vowel in pause, cf. Psa 68:26 and on Job 20:27, Ew. 188, b) is, as in Isa 29:9, the thirsting soul (from שׁוּק, Arab. sâq, to urge forward, of the impulse and drawing of the emotions, in Hebrew to desire ardently). The preterites are here an expression of that which has been experienced, and therefore of that which has become a fact of experience. In superabundant measure does God uphold the languishing soul that is in imminent danger of languishing away.”
Source
Modern · 1953 →

The in-app commentary runs from the Fathers to the early-modern record, then stops — that's where the public-domain sources end, not where the reading does. For the modern reading, follow the sources directly.