RV roofs suck. All of them. Sorry you are having leaks. You could undo the edge areas and peel back the roof like flatty did and inspect to see whats going on if you haven't already. If you have to replace wood then you'll need some carpentry skills. For my trailer slide, it has a TPO roof similar to the trailer top with a strip of eternabond tape all the way around next the the wall part of the slide. I would remove all of that tape and take a look under there and see if there was a way for me to splice in a new piece of wood and then glue the roof material down and put tape and/or lap sealant over the seam.
FF - Did you use an adhesive to glue the roof material back down? It seems like that isn't being done very well on a lot of trailers if at all. Big discussions about it on my trailer brand FB groups and owners forum about roof bubbles and then the whole part of the roof tearing back once all of the front roof material pulls back from the screws.
I've seen a bunch of small bubble repairs that ended with using 4" or 6" Eternabond tape over the whole front seem area fastening the metal clamp bar that covers that front/roof joint. Then they using 3 or 4" eternabond tape down the whole gutter edge seam. Seems to work ok but if you get the whole roof flapping up, just go with the Rv Armor roof system or the other similar one.