I tried numerous ways to set a z-offset and octoprint ignored it every time. I can set the offset manually after starting a print from SD card but that can't be the solution here.
What did you already try to solve it?
Custom start-GCODE in Prusaslicer, Octoprint and manually adding it onto the file (G92)
Using the z-offset setting in Prusaslicer
Setting it with M206 and then M500 in Terminal and GCODE.
OctoPrint doesn't do anything with the z offset - it is the printers responsibility to read the command and do something. We've seen it before where some Creality firmware required the SD card to be in the printer, even when printing from OctoPrint, or it would do daft things like this. If you can see the command sent in the terminal and acknowledged by the printer, then it's probably not an OctoPrint problem but something in the printer firmware that's treating USB printing different.
The printer acknowledges the commands to change the z-offset but it won't affect anything. I have the SD always plugged in. Do you think it would be an idea to switch to another firmware? If yes, do you have recommondations?
It also seems that the Printer uses a different z-offset everytime it prints.
A new Firmware might also be a step closer to finally get finde prints again because i have a few other problems that I don't know how to fix.
I would also look into a BLtouch if I can't fix the problem otherwise.
*edit:
I installed a new firmware where i could set the z offset properly and the printer finally prints again. last thing left is getting proper bed adhesion.
thank you both for oyur hel regarding my problem.