Octolapse killing prints

Hello, I am running octoprint 1.4.2/octolapse 0.4.0.

At seemingly random spots, the printer stops responding, octoprint notices this, and then shuts down the printer. This has only started happening since I installed and have been running octolapse.

Octolapse works fine otherwise with my DSLR connected. It just kills prints at random times.

I have my two log files here, and what stands out is in the regular log, there is this string...

2020-10-01 07:48:13,704 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-10-01 07:48:19,728 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-10-01 07:48:25,741 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-10-01 07:48:31,755 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-10-01 07:48:37,768 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-10-01 07:48:43,782 - octoprint.util.comm - INFO - No response from printer after 6 consecutive communication timeouts, considering it dead.
2020-10-01 07:48:43,833 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: Too many consecutive timeouts, printer still connected and alive?)"

plugin_octolapse (1).log (570.8 KB) octoprint (1).log (135.5 KB)

Any help would be greatly appreciated! Thank you!

EDIT: I found another post where the user was having what looks like a very similar issue. (https://github.com/FormerLurker/Octolapse/issues/329) The solution was to defer the image download until the end. I started to go through the process of image deferring based on the guide, added the scripts, and got to the test phase.

I get this error when I test things:
pi@octopi:~/scripts $ /home/pi/scripts/download-from-camera-and-rename.sh TODO: ADD NECESSARY PARAMETERS
Creating directory: ADD
Saving file as IMG_0129.JPG
mv: cannot stat '.jpg': No such file or directory
mv: cannot stat '
.JPEG': No such file or directory
mv: cannot stat '*.jpeg': No such file or directory

How can I move forward from here?

Not to say OctoLapse is innocent but the rendering starts after the disconnect.

2020-10-01 07:48:37,768 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-10-01 07:48:43,782 - octoprint.util.comm - INFO - No response from printer after 6 consecutive communication timeouts, considering it dead.
2020-10-01 07:48:43,833 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: Too many consecutive timeouts, printer still connected and alive?)"
2020-10-01 07:48:43,859 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2020-10-01 07:48:07,707 - octolapse.script - DEBUG - Executing EOS Rebel T6i - Snapshot Camera Script with no timeout: "/home/pi/scripts/take-snapshot.sh" "162" "0.0" "/home/pi/.octoprint/data/octolapse/tmp" "/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/56f455e7-db54-4571-bd9d-37b06a99ec3a/245da8ea-57d2-457d-b582-c0abfd084f00" "CE3_shaman_1001000162.jpg" "/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/56f455e7-db54-4571-bd9d-37b06a99ec3a/245da8ea-57d2-457d-b582-c0abfd084f00/CE3_shaman_1001000162.jpg" "EOS Rebel T6i"
2020-10-01 07:49:11,229 - octolapse.script - DEBUG - Console output (stdout) for 'EOS Rebel T6i - Snapshot Camera Script':Model                          Port            
	----------------------------------------------------------
	Canon EOS 750D                 usb:001,015     
2020-10-01 07:49:11,230 - octolapse.script - ERROR - Error output (stderr) for 'EOS Rebel T6i - Snapshot Camera Script':
	ERROR: Could not capture image.
	ERROR: Could not capture.
	The snapshot was not found in the expected directory: '/home/pi/.octoprint/data/octolapse/tmp/octolapse_snapshots_tmp/56f455e7-db54-4571-bd9d-37b06a99ec3a/245da8ea-57d2-457d-b582-c0abfd084f00/CE3_shaman_1001000162.jpg'.
2020-10-01 07:49:11,232 - octolapse.snapshot - DEBUG - Post-processing snapshot for the EOS Rebel T6i camera.
2020-10-01 07:49:11,236 - octolapse.snapshot - DEBUG - Snapshot #162 does not exist for the EOS Rebel T6i camera.
2020-10-01 07:49:11,237 - octolapse.snapshot - DEBUG - Post-processing snapshot for the EOS Rebel T6i camera complete.
2020-10-01 07:49:11,238 - octolapse.snapshot - INFO - Snapshot threads complete, but may be post-processing.
2020-10-01 07:49:11,239 - octolapse.snapshot - INFO - Snapshot acquisition completed in 63.540 seconds.
2020-10-01 07:49:11,396 - octolapse.render - INFO - Sending render start message
2020-10-01 07:49:11,402 - octolapse.render - INFO - Setting output paths.
2020-10-01 07:49:11,417 - octolapse.render - VERBOSE - Sending render progress message: archiving - 0.6

The disconnect is during taking a picture with the camera. This snapshot failed. Maybe there is a causation.

I have done some testing, and the problem appears to have gone away. I ran an 8 hour print last night with no stopping, and am about to finish a 4 hour print.

The problem as far as I can tell was actually the power supply for the pi. It was not delivering enough voltage, so I replaced it with one from canakit. I have not had any errors since. I will be trying a 16+ hour print to see if the problem really is fixed.