AudioMoth USB port came off
There was a similar post, but my issue is a bit different.
I bought mine from GroupGets last year. I think that I did the first step, but not the configuration.
I recently was going to retry, and found the USB port missing. I remembered that I'd come across a USB cable with something stuck on the end. It's the part that came off the board. One end of the board is also loose from the battery holder. I had the cable outside on the porch for part of this time for metal recycling. The plain side of the USB was down.
I think? it looks ok to be reattached, but I'm not sure how. The photos look worse than they do to my eye (having to use an editing program I'm not used to and these are phone photos), but I can see that the one side that was up is not shiny. I haven't looked at them with magnification (yet).
There's a small computer repair shop that may be able to do it, but I don't know how it was originally attached.






Not an audiomoth employee, just another user. Those brown-colored things on the back of the USB port used to be part of the circuit board where you now see light yellow-green rectangles--they are copper pads that parts of the USB port were soldered to. Now they're ripped off along with the port, and there's no way to re-attach those pads.
However, those pads were just for mechanical support (to hold the port to the circuit board) and didn't carry electrical signals. Weirdly, the five long and skinny copper pads that do carry electrical signals do appear to be intact, and so do the corresponding pins on the port. So it is possible for someone with good soldering skills and equipment to re-attach it, but they'll have to add some mechanical support (glue?) to hold it in place. Otherwise it'll just rip off again because those long, skinny pads don't make very sturdy connections on their own, and the port can be subjected to a lot of force from the cord prying up on it. If you use glue, you need to be very careful that it doesn't get inside the port.
If you don't have good soldering skills or equipment yourself, or easy access to someone who can help, it may make more sense to replace than repair.