XY Homing crash, Octopi 0.18.1 install on PI 4 8GB

What is the problem?

Just installed beta version 0.18.1 64 bit octopi on PI 4 8gb. Installed fine, wifi works. but when I do XY home or G28 from octoprint, x exis crash, try to go beyond x limit switch!! not sure why, Marlin should stoo that? Have not tried printig since can't do home. Printer is Ender 3 V2, Direct connecto to Cura to PC works. Through ocotprint don't work.

What did you already try to solve it?

Tryied to connect Cura to Optoprint and tyried to do home, same results, crash in to X first and I stiop the printer. If I connect printer direclty then using Cura, homing works.

Complete Logs

Serial log:

2020-09-10 05:03:17,856 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 05:54:08,186 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:04:49,508 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:05:25,352 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:07:03,869 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:07:20,565 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:09:10,018 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:10:21,290 - serial.log is currently not enabled, you can enable it via Settings > Serial Connection > Log communication to serial.log
2020-09-10 06:12:16,335 - Enabling serial logging
2020-09-10 06:12:17,000 - Recv:  T:27.02 /0.00 B:27.22 /0.00 @:0 B@:0
2020-09-10 06:18:46,265 - Send: G28
2020-09-10 06:18:46,992 - Recv:  T:27.27 /0.00 B:27.27 /0.00 @:0 B@:0
2020-09-10 06:18:48,270 - Recv: echo:busy: processing
2020-09-10 06:18:48,276 - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2020-09-10 06:18:48,992 - Recv:  T:27.24 /0.00 B:27.30 /0.00 @:0 B@:0
2020-09-10 06:18:50,270 - Recv: echo:busy: processing
2020-09-10 06:18:50,992 - Recv:  T:27.24 /0.00 B:27.27 /0.00 @:0 B@:0
2020-09-10 06:18:52,270 - Recv: echo:busy: processing
2020-09-10 06:18:52,992 - Recv:  T:27.24 /0.00 B:27.24 /0.00 @:0 B@:0
2020-09-10 06:18:54,270 - Recv: echo:busy: processing
2020-09-10 06:18:54,992 - Recv:  T:27.24 /0.00 B:27.27 /0.00 @:0 B@:0
2020-09-10 06:18:56,270 - Recv: echo:busy: processing
2020-09-10 06:18:56,992 - Recv:  T:27.27 /0.00 B:27.27 /0.00 @:0 B@:0
2020-09-10 06:18:58,042 - Recv: Error:Printer halted. kill() called!
2020-09-10 06:18:58,044 - Changing monitoring state from "Operational" to "Error: Printer halted. kill() called!"
2020-09-10 06:18:58,047 - Send: M112
2020-09-10 06:18:58,055 - Send: N2 M112*35
2020-09-10 06:18:58,062 - Send: N3 M104 T0 S0*34
2020-09-10 06:18:58,064 - Send: N4 M140 S0*97
2020-09-10 06:18:58,094 - Changing monitoring state from "Error: Printer halted. kill() called!" to "Offline (Error: Printer halted. kill() called!)"
2020-09-10 06:18:58,104 - Connection closed, closing down monitor
2020-09-10 06:26:20,756 - Changing monitoring state from "Offline" to "Detecting serial connection"
2020-09-10 06:26:20,782 - Performing autodetection with 1 port/baudrate candidates: /dev/ttyUSB0@115200
2020-09-10 06:26:20,783 - Trying port /dev/ttyUSB0, baudrate 115200
2020-09-10 06:26:20,783 - Connecting to port /dev/ttyUSB0, baudrate 115200
2020-09-10 06:26:20,840 - Handshake attempt #1 with timeout 2.0s
2020-09-10 06:26:20,842 - Connected to: Serial<id=0x7f8219dfd0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2020-09-10 06:26:20,843 - Send: N0 M110 N0*125
2020-09-10 06:26:20,849 - Recv: ok
2020-09-10 06:26:20,851 - Changing monitoring state from "Detecting serial connection" to "Operational"
2020-09-10 06:26:20,858 - Send: N0 M110 N0*125
2020-09-10 06:26:20,863 - Recv: ok
2020-09-10 06:26:20,864 - Send: N1 M115*39
2020-09-10 06:26:20,902 - Recv: FIRMWARE_NAME:Marlin 2.0.6.1 (Sep  4 2020 02:22:30) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:Ender-3 V2 EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
2020-09-10 06:26:20,907 - Recv: Cap:SERIAL_XON_XOFF:0
2020-09-10 06:26:20,918 - Recv: Cap:BINARY_FILE_TRANSFER:0
2020-09-10 06:26:20,921 - Recv: Cap:EEPROM:1
2020-09-10 06:26:20,930 - Recv: Cap:VOLUMETRIC:1
2020-09-10 06:26:20,932 - Recv: Cap:AUTOREPORT_TEMP:1
2020-09-10 06:26:20,935 - Recv: Cap:PROGRESS:0
2020-09-10 06:26:20,953 - Recv: Cap:PRINT_JOB:1
2020-09-10 06:26:20,955 - Recv: Cap:AUTOLEVEL:1
2020-09-10 06:26:20,958 - Recv: Cap:RUNOUT:0
2020-09-10 06:26:20,959 - Recv: Cap:Z_PROBE:1
2020-09-10 06:26:20,962 - Recv: Cap:LEVELING_DATA:1
2020-09-10 06:26:20,964 - Recv: Cap:BUILD_PERCENT:0
2020-09-10 06:26:20,971 - Recv: Cap:SOFTWARE_POWER:0
2020-09-10 06:26:20,983 - Recv: Cap:TOGGLE_LIGHTS:0
2020-09-10 06:26:20,986 - Recv: Cap:CASE_LIGHT_BRIGHTNESS:0
2020-09-10 06:26:20,998 - Recv: Cap:EMERGENCY_PARSER:0
2020-09-10 06:26:21,007 - Recv: Cap:PROMPT_SUPPORT:0
2020-09-10 06:26:21,012 - Recv: Cap:SDCARD:1
2020-09-10 06:26:21,015 - Recv: Cap:AUTOREPORT_SD_STATUS:0
2020-09-10 06:26:21,018 - Recv: Cap:LONG_FILENAME:0
2020-09-10 06:26:21,021 - Recv: Cap:THERMAL_PROTECTION:1
2020-09-10 06:26:21,025 - Recv: Cap:MOTION_MODES:0
2020-09-10 06:26:21,027 - Recv: Cap:ARCS:1
2020-09-10 06:26:21,031 - Recv: Cap:BABYSTEPPING:1
2020-09-10 06:26:21,034 - Recv: Cap:CHAMBER_TEMPERATURE:0
2020-09-10 06:26:21,037 - Recv: ok
2020-09-10 06:26:21,038 - Send: M21
2020-09-10 06:26:22,273 - Recv: echo:No SD card
2020-09-10 06:26:22,276 - Recv: ok
2020-09-10 06:26:22,278 - Send: M876 P1
2020-09-10 06:26:22,283 - Recv: echo:Unknown command: "M876 P1"
2020-09-10 06:26:22,286 - Recv: ok
2020-09-10 06:26:22,287 - Send: M420V1
2020-09-10 06:26:22,291 - Recv: 
2020-09-10 06:26:22,292 - Recv: Bed Topography Report:
2020-09-10 06:26:22,292 - Recv: 
2020-09-10 06:26:22,302 - Recv:     ( 10,215)                                                                              (235,215)
2020-09-10 06:26:22,317 - Recv:         0       1       2       3       4       5       6       7       8       9      10      11
2020-09-10 06:26:22,326 - Recv: 11 | +0.038  +0.026  +0.014  +0.002  -0.019  -0.024  -0.053  -0.069  -0.064  -0.016  +0.031  +0.078
2020-09-10 06:26:22,326 - Recv:    |
2020-09-10 06:26:22,334 - Recv: 10 | +0.038  +0.026  +0.014  +0.002  -0.019  -0.024  -0.053  -0.069  -0.064  -0.016  +0.031  +0.078
2020-09-10 06:26:22,335 - Recv:    |
2020-09-10 06:26:22,343 - Recv:  9 | +0.038  +0.026  +0.014  +0.002  -0.019  -0.024  -0.053  -0.069  -0.064  -0.016  +0.031  +0.078
2020-09-10 06:26:22,343 - Recv:    |
2020-09-10 06:26:22,354 - Recv:  8 | +0.094  +0.068  +0.042  +0.016  -0.002  -0.011  -0.027  -0.042  -0.025  +0.010  +0.045  +0.081
2020-09-10 06:26:22,355 - Recv:    |
2020-09-10 06:26:22,363 - Recv:  7 | +0.044  +0.044  +0.044  +0.055  -0.000  -0.009  -0.039  -0.035  -0.015  +0.005  +0.026  +0.047
2020-09-10 06:26:22,363 - Recv:    |
2020-09-10 06:26:22,371 - Recv:  6 | +0.049  +0.049  +0.049  +0.049  +0.021  -0.009  -0.050  -0.049  -0.030  -0.015  -0.001  +0.013
2020-09-10 06:26:22,372 - Recv:    |
2020-09-10 06:26:22,383 - Recv:  5 | +0.116  +0.086  +0.055  +0.024  +0.016  +0.008  -0.061  -0.070  -0.018  +0.014  +0.047  +0.079
2020-09-10 06:26:22,383 - Recv:    |
2020-09-10 06:26:22,391 - Recv:  4 | +0.080  +0.068  +0.057  +0.045  +0.028  +0.008  -0.034  -0.056  -0.008  +0.011  +0.030  +0.050
2020-09-10 06:26:22,392 - Recv:    |
2020-09-10 06:26:22,400 - Recv:  3 | +0.135  +0.101  +0.067  +0.033  +0.016  +0.000  -0.032  -0.043  -0.029  -0.015  -0.002  +0.011
2020-09-10 06:26:22,400 - Recv:    |
2020-09-10 06:26:22,408 - Recv:  2 | +0.087  +0.066  +0.045  +0.023  +0.008  -0.002  -0.027  -0.035  -0.023  -0.001  +0.021  +0.043
2020-09-10 06:26:22,411 - Recv:    |
2020-09-10 06:26:22,420 - Recv:  1 | +0.087  +0.066  +0.045  +0.023  +0.008  -0.002  -0.023  -0.028  -0.018  +0.013  +0.045  +0.076
2020-09-10 06:26:22,420 - Recv:    |
2020-09-10 06:26:22,428 - Recv:  0 | +0.087  +0.066  +0.045  +0.023  +0.008  -0.002  -0.018  -0.020  -0.012  +0.028  +0.068  +0.108
2020-09-10 06:26:22,444 - Recv:         0       1       2       3       4       5       6       7       8       9      10      11
2020-09-10 06:26:22,454 - Recv:     ( 10, 10)                                                                              (235, 10)
2020-09-10 06:26:22,454 - Recv: 
2020-09-10 06:26:22,457 - Recv: Mesh is valid
2020-09-10 06:26:22,457 - Recv: Storage slot: 0
2020-09-10 06:26:22,459 - Recv: echo:Bed Leveling OFF
2020-09-10 06:26:22,462 - Recv: echo:Fade Height 10.00
2020-09-10 06:26:22,464 - Recv: ok
2020-09-10 06:26:22,466 - Send: M851
2020-09-10 06:26:22,472 - Recv: Probe Offset X-30.00 Y-2.00 Z-1.30
2020-09-10 06:26:22,472 - Recv: ok
2020-09-10 06:26:22,473 - Send: M155 S2
2020-09-10 06:26:22,477 - Recv: ok
2020-09-10 06:26:24,482 - Recv:  T:27.27 /0.00 B:27.33 /0.00 @:0 B@:0
2020-09-10 06:26:26,482 - Recv:  T:27.27 /0.00 B:27.33 /0.00 @:0 B@:0

Additional information about your setup

OctoPrint version 1.4.2, OctoPi version 0.18.1, printer, firmware Marlin 2.6.1, browser, operating system W10, Printer Ender 3 V2

Hello @Hank_Patel!

Could you please format this log by formatting that section with the </> in the top bar of the edit window. Better is to share the log files

Here is part of the log when crashed occured after g28 command.

2020-09-09 17:29:05,760 - octoprint.startup - INFO - ******************************************************************************
2020-09-09 17:29:05,762 - octoprint.startup - INFO - Starting OctoPrint 1.4.2
2020-09-09 17:29:05,764 - octoprint.startup - INFO - ******************************************************************************
2020-09-09 17:29:06,258 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: offline
2020-09-09 17:29:06,258 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 8.8.8.8:53 is not working
2020-09-09 17:29:06,262 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is not working
2020-09-09 17:29:06,268 - octoprint.startup - INFO - We don't appear to be online, not fetching plugin blacklist
2020-09-09 17:29:06,406 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-09-09 17:29:08,116 - octoprint.plugin.core - INFO - Found 18 plugin(s) providing 18 mixin implementations, 32 hook handlers
2020-09-09 17:29:08,245 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-09-09 17:29:08,274 - octoprint.server - INFO - Intermediary server started
2020-09-09 17:29:08,274 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-09-09 17:29:08,316 - octoprint.plugin.core - INFO - Found 18 plugin(s) providing 18 mixin implementations, 32 hook handlers
2020-09-09 17:29:08,336 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-09-09 17:29:08,337 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-09-09 17:29:08,339 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_SHOW (needs: "Need(method='role', value='plugin_action_command_notification_show')")
2020-09-09 17:29:08,340 - octoprint.server - INFO - Added new permission from plugin action_command_notification: PLUGIN_ACTION_COMMAND_NOTIFICATION_CLEAR (needs: "Need(method='role', value='plugin_action_command_notification_clear')")
2020-09-09 17:29:08,340 - octoprint.server - INFO - Added new permission from plugin action_command_prompt: PLUGIN_ACTION_COMMAND_PROMPT_INTERACT (needs: "Need(method='role', value='plugin_action_command_prompt_interact')")
2020-09-09 17:29:08,340 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_READ (needs: "Need(method='role', value='plugin_announcements_read')")
2020-09-09 17:29:08,341 - octoprint.server - INFO - Added new permission from plugin announcements: PLUGIN_ANNOUNCEMENTS_MANAGE (needs: "Need(method='role', value='plugin_announcements_read'), Need(method='role', value='plugin_announcements_manage')")
2020-09-09 17:29:08,341 - octoprint.server - INFO - Added new permission from plugin appkeys: PLUGIN_APPKEYS_ADMIN (needs: "Need(method='role', value='plugin_appkeys_admin')")
2020-09-09 17:29:08,341 - octoprint.server - INFO - Added new permission from plugin backup: PLUGIN_BACKUP_ACCESS (needs: "Need(method='role', value='plugin_backup_access')")
2020-09-09 17:29:08,341 - octoprint.server - INFO - Added new permission from plugin firmware_check: PLUGIN_FIRMWARE_CHECK_DISPLAY (needs: "Need(method='role', value='plugin_firmware_check_display')")
2020-09-09 17:29:08,342 - octoprint.server - INFO - Added new permission from plugin logging: PLUGIN_LOGGING_MANAGE (needs: "Need(method='role', value='plugin_logging_manage')")
2020-09-09 17:29:08,342 - octoprint.server - INFO - Added new permission from plugin pi_support: PLUGIN_PI_SUPPORT_STATUS (needs: "Need(method='role', value='plugin_pi_support_check')")
2020-09-09 17:29:08,342 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_MANAGE (needs: "Need(method='role', value='plugin_pluginmanager_manage')")
2020-09-09 17:29:08,343 - octoprint.server - INFO - Added new permission from plugin pluginmanager: PLUGIN_PLUGINMANAGER_INSTALL (needs: "Need(method='role', value='plugin_pluginmanager_install'), Need(method='role', value='plugin_pluginmanager_manage')")
2020-09-09 17:29:08,343 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_CHECK (needs: "Need(method='role', value='plugin_softwareupdate_check')")
2020-09-09 17:29:08,343 - octoprint.server - INFO - Added new permission from plugin softwareupdate: PLUGIN_SOFTWAREUPDATE_UPDATE (needs: "Need(method='role', value='plugin_softwareupdate_update')")
2020-09-09 17:29:08,393 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-09-09 17:29:09,283 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2020-09-09 17:29:09,892 - octoprint.util.pip - INFO - Version of pip is 20.2.1
2020-09-09 17:29:09,894 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-09-09 17:29:09,894 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-09-09 17:29:09,905 - octoprint.plugin.core - INFO - Initialized 18 plugin implementation(s)
2020-09-09 17:29:09,913 - octoprint.plugin.core - INFO - 18 plugin(s) registered with the system:
|  Action Command Notification Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_notification
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/discovery
|  Error Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/errortracking
|  File Check (2020.8.7) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_file_check
|  Firmware Check (2020.6.22) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_firmware_check
|  GCode Viewer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/gcodeviewer
|  Logging (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/logging
|  Login UI (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/loginui
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-09-09 17:29:09,925 - octoprint.environment - INFO - Detected environment is Python 3.7.3 under Linux (linux). Details:
|  hardware:
|      cores: 4
|      freq: 1500.0
|      ram: 8141463552
|  os:
|      id: linux
|      platform: linux
|  plugins:
|      pi_support:
|          model: Raspberry Pi 4 Model B Rev 1.4
|          octopi_version: 0.18.1-64bit-beta
|  python:
|      pip: 20.2.1
|      version: 3.7.3
|      virtualenv: /home/pi/oprint
2020-09-09 17:29:09,931 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-09-09 17:29:09,945 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-09-09 17:29:10,502 - octoprint.server - INFO - Shutting down intermediary server...
2020-09-09 17:29:10,782 - octoprint.server - INFO - Intermediary server shut down
2020-09-09 17:29:10,784 - octoprint.events - INFO - Processing startup event, this is our first event
2020-09-09 17:29:10,785 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2020-09-09 17:29:10,786 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-09-09 17:29:10,788 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-09-09 17:29:10,790 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-09-09 17:29:10,791 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-09-09 17:29:10,799 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi' for _http._tcp
2020-09-09 17:29:10,806 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi' for _octoprint._tcp
2020-09-09 17:29:10,822 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-09-09 17:29:10,870 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-09-09 17:29:11,496 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2020-09-09 17:29:11,502 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-09-09 17:29:11,522 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-09-09 17:29:11,562 - octoprint.plugins.softwareupdate - INFO - Minimum free storage across all update relevant locations is 5.0GB. That is considered sufficient for updating.
2020-09-09 17:29:12,068 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-09-09 17:29:12,370 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2020-09-09 17:29:12,470 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2020-09-09 17:29:12,511 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python3 -m pip" as command to invoke pip
2020-09-09 17:29:15,308 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.219
2020-09-09 17:29:15,391 - octoprint.server.util.flask - INFO - Passively logging in user Hank from ::ffff:192.168.1.219
2020-09-09 17:29:15,391 - octoprint.access.users - INFO - Logged in user: Hank
2020-09-09 17:29:16,568 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python3.7/site-packages/ (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-09-09 17:29:16,568 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-09-09 17:29:16,586 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-09-09 17:29:16,678 - octoprint.server.util.sockjs - INFO - User Hank logged in on the socket from client ::ffff:192.168.1.219
2020-09-09 17:29:16,699 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://192.168.1.251/', 'path': '/', 'query_string': 'l10n=en'}
2020-09-09 17:29:18,235 - octoprint.server.util.flask - INFO - Passively logging in user Hank from ::ffff:192.168.1.219
2020-09-09 17:29:18,235 - octoprint.access.users - INFO - Logged in user: Hank
2020-09-09 17:29:25,583 - octoprint.server.preemptive_cache - INFO - ... done in 8.88s
2020-09-09 17:29:25,584 - octoprint.server.preemptive_cache - INFO - Preemptively caching / (ui _default) for {'base_url': 'http://192.168.1.238/', 'path': '/', 'query_string': 'l10n=en'}
2020-09-09 17:29:25,717 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:192.168.1.219
2020-09-09 17:29:25,770 - octoprint.server.preemptive_cache - INFO - ... done in 0.19s
2020-09-09 17:29:25,974 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.219
2020-09-09 17:29:26,022 - octoprint.server.util.flask - INFO - Passively logging in user Hank from ::ffff:192.168.1.219
2020-09-09 17:29:26,023 - octoprint.access.users - INFO - Logged in user: Hank
2020-09-09 17:29:27,180 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity changed from offline to online
2020-09-09 17:29:27,209 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2020-09-09 17:29:28,223 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-09-09 17:29:28,228 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2020-09-09 17:29:28,280 - octoprint.server.util.sockjs - INFO - User Hank logged in on the socket from client ::ffff:192.168.1.219
2020-09-09 18:02:13,639 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-09-09 18:02:14,040 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 23}
2020-09-09 18:02:41,847 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial connection"
2020-09-09 18:02:41,868 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 7 port/baudrate candidates: /dev/ttyUSB0@115200, /dev/ttyUSB0@250000, /dev/ttyUSB0@230400, /dev/ttyUSB0@57600, /dev/ttyUSB0@38400, /dev/ttyUSB0@19200, /dev/ttyUSB0@9600
2020-09-09 18:02:41,868 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/ttyUSB0, baudrate 115200
2020-09-09 18:02:41,868 - octoprint.util.comm - INFO - Connecting to port /dev/ttyUSB0, baudrate 115200
2020-09-09 18:02:41,884 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0s
2020-09-09 18:02:41,886 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-09-09 18:02:41,892 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial connection" to "Operational"
2020-09-09 18:02:41,895 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2020-09-09 18:02:41,923 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin 2.0.6.1 (Sep  4 2020"
2020-09-09 18:02:41,935 - octoprint.util.comm - INFO - Firmware states that it supports temperature autoreporting
2020-09-09 18:02:42,309 - octoprint.plugins.tracking - INFO - Sent tracking event printer_connected, payload: {'firmware_name': 'Marlin 2.0.6.1 (Sep  4 2020', 'printer_port': 'AUTO', 'printer_baudrate': 0}
2020-09-09 18:14:35,253 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2020-09-09 18:14:45,026 - octoprint.util.comm - WARNING - Received an error from the printer's firmware: Printer halted. kill() called!
| Last lines in terminal:
| Recv:  T:26.87 /0.00 B:26.36 /0.00 @:0 B@:0
| Recv:  T:26.82 /0.00 B:26.39 /0.00 @:0 B@:0
| Recv:  T:26.82 /0.00 B:26.39 /0.00 @:0 B@:0
| Recv:  T:26.82 /0.00 B:26.36 /0.00 @:0 B@:0
| Send: G91
| Recv:  T:26.82 /0.00 B:26.36 /0.00 @:0 B@:0
| Recv: ok
| Send: G28 X0 Y0
| Recv:  T:26.82 /0.00 B:26.36 /0.00 @:0 B@:0
| Recv: echo:busy: processing
| Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
| Recv:  T:26.82 /0.00 B:26.42 /0.00 @:0 B@:0
| Recv: echo:busy: processing
| Recv:  T:26.82 /0.00 B:26.36 /0.00 @:0 B@:0
| Recv: echo:busy: processing
| Recv:  T:26.82 /0.00 B:26.39 /0.00 @:0 B@:0
| Recv: echo:busy: processing
| Recv:  T:26.82 /0.00 B:26.36 /0.00 @:0 B@:0
| Recv: echo:busy: processing
| Recv: Error:Printer halted. kill() called!
2020-09-09 18:14:45,027 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Error: Printer halted. kill() called!"
2020-09-09 18:14:45,028 - octoprint.util.comm - INFO - Force-sending M112 to the printer
2020-09-09 18:14:45,066 - octoprint.util.comm - INFO - Changing monitoring state from "Error: Printer halted. kill() called!" to "Offline (Error: Printer halted. kill() called!)"
2020-09-09 18:14:45,099 - octoprint.plugins.action_command_notification - INFO - Notifications cleared

Did you move the printer after you tested G28 with cura?
Maybe the endstop switch connector/cable has loosened

No, same position. And I tested with Cura after the crash at the same location and issues probably will crash in all exits if I let go. Why I am going to do today is press the end switch by Jax after command and see if it respond.

InManual pressed the X home switch by finger before carrage come close and did not responded so turned off the printer. Tested by pressing Home key on Optoprint. Befre this test, I tried to give conmand G1 F1600 X0 and printer would not respond. Tried to move X by Control Arrow key and that worked. So not sure why G1 command don't work. What makes Marlin to ignore X endstop switch? Also after this, use printer LCD to do Home and that works. So printer hardware is good.
See part of the trace from Termonal window:

Send: G1 F1600 X0
Recv: ok
[...]
Send: G91
Recv: ok
Send: G1 X-10 F1600
Recv: ok
Send: G90
Recv: ok
[...]
Send: G91
Recv: ok
Send: G1 X10 F1600
Recv: ok
Send: G90
Recv: ok
[...]
Send: G1 F1600 X0
Recv: ok
[...]
Send: G91
Recv: ok
Send: G28 X0 Y0
[...]
Recv: echo:busy: processing
Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
[...]
Recv: echo:busy: processing
[...]
Recv: echo:busy: processing
[...]
Recv: echo:busy: processing
Recv: Error:Printer halted. kill() called!
Changing monitoring state from "Operational" to "Error: Printer halted. kill() called!"
Send: M112
Send: N2 M112*35
Send: N3 M104 T0 S0*34
Send: N4 M140 S0*97
Changing monitoring state from "Error: Printer halted. kill() called!" to "Offline (Error: Printer halted. kill() called!)"
Connection closed, closing down monitor
SendAutoscroll

good idea

The command doesn't work before you homed at least that axis.

good question. I don't get why it works with cura and doesn't with octoprint.

Maybe the 0 in G28 X0 Y0 is a problem?
Could you try G28 X Y in the terminal? That's the only thing cura could have used instead in my opinion

That command came from Optoprint Home XY key. When I sent G28 it was for all exis and noting I put after G28. I just did whtat you said G28 X Y from Optoprint terminal and crash and dont respodn to X end stop switch. After crash, just did Autohome from LCD of the printer and all wroks good uncluding BLtouch Z Home. There is a clue here what makes marlin to ingnore endstop switch when command comes from optoprint? Let me know any test you want me to do and log of it if you need. Thanks

they only thing left you could test is M119
It shows you the states of the endstop switches

I'm pretty sure this is some kind of firmware bug :woman_shrugging:

Maybe somebody else got an idea

Keep in mind, stand alone printer operation works correctly. Through Cura connected directly to printer workers correctly. Only issue is doing through octoprint with new version build .18 of optiprint and pi 4 8mb version.. as it appears.

I just orders pi 4 with 4gb ram so that I can install .17 octopi to check it out. Let you know next week once I get it.

I will do endsrop state check shortly and let you know.

Very intresting I find on M119.
Fresh power on printer Ender 3 V2
First connected to Pronterface and gave command M119 with open end stops and read correctly XY open and Z tiggered (BLtouch resposne I guess)
Then I press manualy X stop switch and gave M119, detects that X is now triggered.

Then I removed Pronterface and connect computer to Optopi. Gave the command M119 and reads XY both open. Press X endstop by hand and X still reads open. So it does not detect closed X endstop. Next, wothout powerculing the printer, moved the ISB cable to computer and used Pronterface and gave command M119 and now same results as Optoprint. It stops detcting endstops. So, something gets programmed into Printer when I connect to Optoprint,
Next test: Fresh starts the printer and connected to Optoprint, repeated the M119 test and in Optopi environment, it does not detect endstops when I press X manualy
Again tuned off and back on the printer and connect Pronterface terminal and M119 works correctly, detects the endstops and Home works correctly.
Hope I have explaind you well.
Conclusion: Bottomline is that some reason endstops not working within Octopi envirement. And once printer is hooked up to Octoprint, you have to power cycle printer to make it work outside Optopi like with Cura or Pronterface. Tested with Cura also after power cycle and it works correctly.

Interesting

I just had an idea. I don't really think that it changes anything, but who knows :man_shrugging:
Put tape on the 5V pin - Why and how

Just did this test, isolated +5VDC pin on USB cabe end, as indicated in article. I made sure that tape is working by leaving Printer off and noticed that LCD screen is also off. Befiore this change it alwas powerd LCD even main power of printer is off. So let me know if you have any other idea
.

Just found twp post on github with same issue. Some how ony X endstop, caused by SPI line!!! If you isntall SD card in Ender 3, issue seems to go awat. let me study this and let you know. see this link

1 Like

Just iserting SD card into printer does not seems to fix the problem. Now I have to find the line that need tobe commented out. Post does not says which file so I need to do some reserch

Take it back my last powt: Inserting SD card in printer does seems to work. I had to format SD card, it was old and may be did not like the format. I reformated and redid the test and seems to work. Now I need to find line in the code to comment out.

1 Like

Never heard of something like this before

I just have to say: WTF :flushed:

I printed several objects after SD card installed, through Octopirnt and all worked. So Indireclty SD card fixes the issue. This may be only with 64 bit Marlin and may be with Ender 3 V2 but and wiht pi 4 with 8GB ram, not sure sinc I do nto have other printer. But we got to thimk of "Why SD card fixes the proble" and why " Stnad alone pirnter works" but not wtit Octoprint?? There got to some issue with this conbination??

Isn't it a bug in Marlin? The issue linked above has a PR to fix it, which will probably be in the next Marlin bugfix release. Again, according to the ticket, this is only present in 2.0.6.1, not earlier versions.