What is the problem?
I can't get the x and y axis to move although z works just fine
What did you already try to solve it?
WRITE HERE
I tried changing the stepper drivers to A4998, then TMC2209, and finally DRV2289
I have also tried swapping the wiring of the Y axis endstop connector and I even tried sensorless homing.
Have you tried running in safe mode?
yes
Did running in safe mode solve the problem?
nope
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
WRITE HERE
octoprint-systeminfo-20230305143104.zip (42.3 KB)
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
using the latest version of everything except PIP.