My 2020 Rail 9.7 had a creaking noise for some time. The creaking was minor at first but got progressively worse to the point others riding near me could hear it. I had taken all the pivot points apart and cleaned and retorqued them and cleaned seat post but still did not fix the creaking noise. Finally the only thing left was the motor mounting. I had noticed while holding the brake and stepping on the crank that the motor had a slight movement to it. I removed the motor and found the bolts for the motor mounting bracket were loose and one had broken off. I was able to remove the broken bolt. For some reason Bosch had installed them with tamper proof bolt heads and did not have any anti-seize on them. I removed the other 3 loose bolts and installed 4 new M5-18 X 16mm bolts with regular allen heads. Installed them with anti-seize and torqued them to 6 nm. Reinstalled them motor and have 2 rides for 40 miles and not more creaking. Bracket shown in the attachment.