-
Notifications
You must be signed in to change notification settings - Fork 26
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
OctoPrint won't start #39
Comments
Hi, this has been reported before. Check #36 |
It has been reported before, but I am still running into this issue after a clean install and the previous suggested solution didn't help. Running |
@markhicken, @LorenzoBonelli0102 pip uninstall urllib3
pip install -Iv urllib3==1.26.11
opkg update && opkg install python3-requests
cd /root/OctoPrint-1.8.4
python setup.py install Sometime last week there was an issue with the OpenWrt snapshot repository for this target architecture. There was a missing package which caused python3-cffi not to install correctly. (#37 (comment)) pip uninstall urllib3
pip install -Iv urllib3==1.26.11
opkg update
opkg install python3-requests
opkg install python3-cffi
cd /root/OctoPrint-1.8.4
python setup.py install |
I started from scratch and for whatever reason, it didn't automatically add my micro sd card to the After that I ran the install script and ended up with the urllib3 issue so I tried your first set of commands above followed by a reboot. That got me up and running! Thanks @b4ng4r4ng! Maybe we should update the install script to account for this, or document it in the install instructions? |
Hi, I'm reporting this issue after two days of trying to make this work.
I have tried to format and reinstall OpenWrt multiple times but after running the second script and rebooting it gets stuck with the same error every time.
This is the logread so maybe someone can figure out what's going on.
Tue Dec 27 12:32:01 2022 daemon.err octoprint[3049]: Could not initialize settings manager: (urllib3 2.0.0a2 (/usr/lib/python3.10/site-packages/urllib3-2.0.0a2-py3.10.egg), Requirement.parse('urllib3<1.27,>=1.21.1'), {'requests'})
Tue Dec 27 12:32:01 2022 daemon.err octoprint[3049]: There was a fatal error starting up OctoPrint.
Tue Dec 27 12:32:03 2022 daemon.info procd: Instance octoprint::instance1 s in a crash loop 6 crashes, 40 seconds since last crash
The text was updated successfully, but these errors were encountered: