"The high acid concentration of the urine makes it easier for uric acid stones to form. Instead: To prevent uric acid stones, cut down on high-purine foods such as red meat, organ meats, and shellfish, and follow a healthy diet that contains mostly vegetables and fruits, whole grains, and low-fat dairy products." - National Kidney Foundation
High-protein diet can lead to more uric acid stones. It is also very important to drink lots of water, as people with ostomies tend to always be very slightly dehydrated. A diet which raises the pH of the urine also helps.
I hope with these and the other suggestions above, you will find relief. Also, talk to your doctor or a nutritionist about natural ways to raise urine pH and get relief without using medication. A good doctor is not wedded to passing out pills, although that does tend to be their first go-to.