Closed tophattwaffle closed 1 year ago
Same here, I think I have an idea. I'll validate an import test to exclude docker and mongodb startup issues. If that's not the issue, I'll get back to you here.
Since 1.4.0 a lot of the printer socket setup has been touched, so a lot of surface area for bugs was created.
I've tried to test things locally. I believe the BOOT_TASKS are being skipped due to an unforeseen edge case at start. This is the log entry to look for:
20:03:08 0|FDM | 2023-06-28T20:03:08: 28/06/2023, 20:03:08 | WARN | BootTask | Starting in safe mode due to SAFEMODE_ENABLED
I fixed it by carefully scanning the code for issues and in the end I found a flag that was being defaulted to "boot in safe mode" on the second boot attempt. This flag I've removed altogether as it was not meant for this and its purpose was not being used to advantage anymore (testing).
To Reproduce
https://github.com/fdm-monster/fdm-monster/assets/6774125/91c1d0bd-6c96-4abc-93dc-a385311dfb20