New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrade octoprint is not starting #2759
Comments
My Octoprint broken after updgrade. |
Full reinstall octoprint. The package monotonic of the required version is installed, but the octoprint does not see it. |
Me too. Total failed upgrade to 1.3.9 and failing to start. Tried reinstall. Will start from command line but service fails to load. Tried so many fixes now I’m just going to flash new sd card and start over! |
I'm start command on console ./venv/bin/python setup.py install |
@acocalypso I'll need some more info in order to be able to analyse this. What version of OctoPrint where you coming from (I figure 1.3.8?)? You state you are running this on Raspberry Pi and the paths in your log suggest it's OctoPi - which version of OctoPi? What does @sticilface same for you - more info please. "It doesn't work" is not something I can work with in order to help you. I need logs, error messages, versions etc. |
I realise that my info was not particularly helpful. unfortunately i cut my losses, backed the .octoprint folder up and flashed a new image! needed to print something last night! now running 1.3.9 no problems! |
Similar to above, upgraded from 1.3.8 to 1.3.9 when offered through web interface, all went well until the restart, then I get "503 Service Unavailable". When I try to run octoprint directly I get: $ oprint/bin/octoprint My versions of pip and python are: This is quite an old system (maybe 3 years old?) that I have kept pushing along. Is python simply out of date, as the message would seem to imply? |
I upgraded from 1.3.8 to 1.3.9 python: 2.7.3 octopi Image was 0.15.1 |
@zero-llamas could be. I test against older versions of OctoPi/Raspbian, but not as old as that Python version seems to imply. 2.7.3 is fairly ancient. What output does @acocalypso, Something doesn't seem right here. OctoPi 0.15.1 comes with Python 2.7.13:
I tested the upgrade path from 1.3.8 to 1.3.9 on OctoPi 0.14, 0.15.0 and 0.15.1 in various combinations. No issues here. @acocalypso & @zero-llamas could you please share your |
@foosel output from pip command: I think there may be a clue in those last couple of lines ;) I have attached the log file, but since I'm running OctoPi 0.12.0 I think I'm just dragging this issue in the wrong direction. I'm going to try https://octoprint.org/blog/2017/11/01/octopi-0.12-pip-issues/ and see how it goes. Update: after upgrading using those instructions it has come back up again. So, in my case at least, it was simply old age. It might be worth doing some sanity checks on the version of python and pip before updates, and throw an error or warning if it's much outside your testing setup. Thanks for your help. @foosel still loving Octoprint! |
I should have not trusted a baked German :)
|
@AndKe I'm unable to comment unless you share some logs and version info. See my corresponding requests above. |
Yes, sorry about that ... I did a OctoPi update and upgrade.. my status is now: now, on service restart I get the text cat /home/pi/.octoprint/logs/octoprint.log |tail The two final log lines for OctoPrint are from before upgrading... |
then, after a long wait, it suddenly is back ! :) |
Thanks, so far it's not looking like it'll cool down soon. Honest question for both you @AndKe and @zero-llamas - I take it you hadn't yet followed the announcement before? If so, first of all, why? It's not like I put that out just for the fun of it ;) And second of all: past updates through OctoPrint worked anyway? That puzzles me greatly. |
So I have the OctoPi 0.12.0 , now updated. it's not exposed to the internet, so I do some updating to the OctoPi .. yearly .. or less.
I do not honestly know what announcement you mean but it's not that easy to know what OctoPi version/update status one is at (so a quick mention may be overlooked ?), maybe you need to check for some dependencies, and give us a kick in the ass by denying upgrade if you see too old... pip (?) |
@foosel yep, similar story. I tended to hit upgrade every time it told me there was a new version of octoprint. I must have missed the original message about upgrading python, the only reason I found it was from googling "upgrading python on octopi" when I realised it was all too old. |
You both should have gotten a big red important looking notification about the link you both now followed to fix things, back in November: Unless you disabled the announcement plugin which you really should for these exact kind of reasons since it's the only way to reach people with important notifications like "yo, do this or things will stop working" who don't follow OctoPrint on social media or directly on the blog.
Sorry, but I can't anticipate every single potential incompatibility under the sun and prepare for it while also doing everything else I already do. In this particular case even less though due to the nature of the issue. I blast out warnings for such stuff through OctoPrint as soon as I notice them. Following the links explains exactly how to check if one is affected and what to do to fix things. I run this project mostly alone, take care of the ongoing maintenance, future updates, compatibility tests as far as I can justify them, have to look into funding, manage the community, provide support, try not to grow too frustrated at some of the very infuriating messages I receive, get screamed at for updates gone wrong due to reasons outside of my control, am expected to work around broken firmware, solve issues before they even arise and implement new functionality ideally yesterday because it's so important for someone's workflow right now. I do all of that as far as humanly possible. Please do your part and follow warnings I put out when I put them out and not 9 months later ;) |
@foosel I (and I should say nooone?) blame you, you do a great job, and it's first and foremost as you say, a PEBCAK. That said, announcements are on, and there is no valid excuse for what I apparently missed (or thought I did) back then. One thing I did not document, but may mention now. as this happened to me few days back: I think I found them all in the "settings menu" , at least , I found and got to read the one about connect/disconnect that cached my attention. Long story short: please make the "read" button spawn the article on top, not below, the notifications.
|
Sorry, that was poorly phrased on my side - I didn't mean that you blamed me, but on every update I get people that are... let's just say "unfair" ;) and who throw around a lot of blame and don't even consider the issue maybe residing on their end. It was those people I was referring to with regards to all the stuff I already handle which simply doesn't leave a lot of room for further anticipation and resilience against possible sources of errors during operation. I agree that the notifications in general need a different handling, that's something I've been thinking about how best to solve too. |
I am having a similar issue. I am running an OctoPi 0.12.0 on a Raspi model B, upgrading from 1.3.8 to 1.3.9. I did apply the fixes in the bright red notification way back when they first came out, have kept current on updates ever since with no issue. I get the 503 Service Unavailable error when trying to log into Octoprint, and have tried manually restarting with no success through SSH. I'm trying to reinstall Octoprint manually from the command line, if that doesn't work I will upgrade my OctoPi image. I'm not complaining or expecting a fix on this ancient of a setup, just wanted to identify that this did occur on an instance with the applied pip/python patches. Gina, thank you SO MUCH for your continued work on this project. I support through Patreon, it's worth every cent and I hope you continue work on Octoprint - it's literally my favorite piece of the 3D printing software toolchain. |
Unless I'm mistaken (if so, please speak up), this is fixed by the steps outlined in this post, so I'll close this. I don't understand why that fix apparently didn't take hold for some but I honestly can't justify spending more time looking into this considering how old 0.12 is at this point - sorry. 1.3.10 will ship with a bundled backup plugin that allows you to easily migrate to fresher images though. |
@foosel As an update, I flashed 0.15 on a Raspi 2 and all is working smoooooth. You are 100% justified in spending your efforts doing upgrades and improving the current versions of Octoprint rather than chasing down issues that are due to ancient hardware and software. Thanks again for your efforts, I love that 1.3.10 will have a cleaner way to update OctoPi images! You da best. |
I've also came across the problem. Just to point out to an actionable solution, upgrade pip and reinstall. In my case -> https://octoprint.org/blog/2017/11/01/octopi-0.12-pip-issues/?utm_source=rss&utm_medium=important
|
What were you doing?
What did you expect to happen?
Octoprint will start without issues
What happened instead?
Infopage showed up that octoprint is not up
I checked the running processes and octoprint wasn't running
I saw in the octoprint.log that there was an error with PrintTImeGenue so I removed it with
pip uninstall Octoprint-PrintTimeGeniue
Plugin was successfully removed
I did a reboot of the Raspberry Pi3
Octoprint still not working
Link to octoprint.log
https://pastebin.com/NGziqmLk
Version of OctoPrint
1.3.9
Operating System running OctoPrint
RaspberryPI 3
I have read the FAQ.
The text was updated successfully, but these errors were encountered: