I've had the same problem with my fridge, the freezer was cold and the fridge wasn't. I discovered I had a climate control switch, which had been turned on. I turned it back off and that FIXED the whole problem.
Also, you need to fill the fridge with water jugs, when you don't have food to cool. The RV fridge doesn't cool the air, but cools "things". So if you are trying to cool it down empty, it may seem awfully warm. Put some large water jugs in and it will cool right down. Then you can remove the water jugs and replace with food, when you shop.
I travel with a few spare gallons of filtered water "just in case" so I put these in when the food runs low, and remove them when I need the space again for food. I also fill up ice trays to freeze, them empty those into an rectangle ice bucket in the freezer, so the freezer has stuff to freeze etc.
Invest in a thermometer for the refrigerator. How I wish all refrigerators came with these built in! I used to be a chef, so maybe I am super paranoid about the temperature. I am happy to give it a quick glance every time I open the fridge, to verify all is well. Sometimes I pop it in the freezer for awhile, to check that it is OK too.
Clean the seal of your refrigerator and freezer with gentle soap and water (like Joy soap) to make sure you are getting a good contact when it is closed.
YES, refrigerators can malfunction when run crooked and staionary. Apparently bouncing down hilly and curvy roads, keeps the freon juggled around, so it doesn't get stuck. When running unlevel and stationary, the freon stuff can clog up the system permanently and cause costly repairs.
It pays to spend a few minutes to level up the trailer or motorhome to keep the expensive refrigerator happy. I travel alone in an old motorhome that requires boards to level up with. I bought a 12 foot treated board at Lowe's as wide as the tires, then had them saw it up into four 30 inch pieces, which left me one 24 inch length, so I got 5 boards out of the 12 feet. I already had two boards, so now I have seven. When I need 2-3 boards to level up, I arrange them like steps with about 2 inches between each step, then drive up (or reverse) on the boards. Even by myself, it only takes a few minutes to unload the boards, place them by the tire(s) then level up.
After doing it so much, I can pretty much look at the level gage, then predict how many boards I need, and pretty often get it right the first time around.
Once I shut off the Climate Control switch, my refrigerator has run perfectly. I understand the Climate COntrol swith runs on 12 volt and heats up the seal to prevent outside condensation. I haven't had the problem, and I don't know if my switch is malfunctioning or what, but I keep it off and the fridge works fine ever since.