RidDleZ
RidDleZ
RRCRat Rig Community [Unofficial]
Created by RidDleZ on 5/8/2025 in #fix-my-printer
Error: An unexpected error occurred during post-processing
Vcore 3.1 500 IDEX. Was working fine before updating ratos. seems trivial, hopefully it is. I'm using an orangePi board. I know... but it is working fine. until now. I just updated my ratos (it has been a while). I re-sliced a file and now I'm getting this error in the logs. I'm unable to print any files. all have this exdev error.
{"level":50,"time":1746683589892,"pid":6531,"hostname":"ratos","source":"cli","err":{"type":"Error","message":"EXDEV: cross-device link not permitted, rename '/tmp/zx-dd6anrb2pzu' -> '/home/pi/printer_data/gcodes/cali_1-r_0.2mm_ABS_14m15s.gcode'","stack":"Error: EXDEV: cross-device link not permitted, rename '/tmp/zx-dd6anrb2pzu' -> '/home/pi/printer_data/gcodes/cali_1-r_0.2mm_ABS_14m15s.gcode'\n at Object.renameSync (node:fs:1035:3)\n at _Command.<anonymous> (file:///home/pi/ratos-configurator/app/bin/ratos.mjs:109626:13)\n at async _Command.parseAsync (file:///home/pi/ratos-configurator/app/bin/ratos.mjs:1781:9)\n at async file:///home/pi/ratos-configurator/app/bin/ratos.mjs:110104:3","errno":-18,"syscall":"rename","code":"EXDEV","path":"/tmp/zx-dd6anrb2pzu","dest":"/home/pi/printer_data/gcodes/cali_1-r_0.2mm_ABS_14m15s.gcode"},"msg":"Unexpected error while processing gcode file"}
{"level":50,"time":1746683589892,"pid":6531,"hostname":"ratos","source":"cli","err":{"type":"Error","message":"EXDEV: cross-device link not permitted, rename '/tmp/zx-dd6anrb2pzu' -> '/home/pi/printer_data/gcodes/cali_1-r_0.2mm_ABS_14m15s.gcode'","stack":"Error: EXDEV: cross-device link not permitted, rename '/tmp/zx-dd6anrb2pzu' -> '/home/pi/printer_data/gcodes/cali_1-r_0.2mm_ABS_14m15s.gcode'\n at Object.renameSync (node:fs:1035:3)\n at _Command.<anonymous> (file:///home/pi/ratos-configurator/app/bin/ratos.mjs:109626:13)\n at async _Command.parseAsync (file:///home/pi/ratos-configurator/app/bin/ratos.mjs:1781:9)\n at async file:///home/pi/ratos-configurator/app/bin/ratos.mjs:110104:3","errno":-18,"syscall":"rename","code":"EXDEV","path":"/tmp/zx-dd6anrb2pzu","dest":"/home/pi/printer_data/gcodes/cali_1-r_0.2mm_ABS_14m15s.gcode"},"msg":"Unexpected error while processing gcode file"}
I think it may have to do with my tmp directory not being on the same filesystem as my sd? The fix would seem to be, have the postprocessor use a directory that is on the same device. (Perhaps /home/pi/printer_data/gcodes/tmp) Is there a way to specify this? I'm not sure why the tmp location would differ on my opi vs the rpi. but this must be it. Any ideas? Thanks for your time.
9 replies