I’ve setup Octoprint on a Raspberry Pi and I use the Vertex Repetier/CuraEngine app on Windows to generate G-code files. It works fine and at the end the printhead is sent to XY home and the fans stop.
I found that after successfully printing I had problems starting subsequent prints and usually had to restart octoprint and sometimes even the Pi. The main effect was that the uploaded file didn’t show any details, and I couldn’t disconnect/connect the printer.
After a couple of these incidents I also reset the printer and then noticed that the status on the LCD showed ‘Vertex waiting…’
It looks like there is something missing from the end of the G-Code, but if I print directly from Repetier on the PC it works fine.
I realize I should probably post this on the octoprint forum but I noticed a couple of comments on octoprint here and it may still be a printer thing…