Heat oil in a large saucepan over medium heat. Add onion and apples and saute 3 to 4 minutes, until tender. Add shredded cabbage, wine, water, vinegar, sugar, cinnamon, salt, and pepper. Bring mixture to a boil, reduce heat, partially cover and simmer 1 hour, stirring occasionally. Add grated potato and simmer, uncovered, 30 minutes, until mixture thickens and potato is tender, stirring frequently.