Trying badly to update to 1.8.4 any help?

What is the problem?

I Had an old pc sitting around decided to put ubuntu on it V 18.04 is quite old, i manage to install octoprint, working, but when i decided to update trough server itself i got an error i cant find a way around it to fix it, any help will be appreciated

What did you already try to solve it?

Update python and pip as much as i could

Have you tried running in safe mode?

Offline and running, no update working and safe mode too

Did running in safe mode solve the problem?

No

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

2022-09-30 22:33:46,324   /home/octo/OctoPrint/venv/bin/python3 -m pip --disable-pip-version-check install https://github.com/OctoPrint/OctoPrint/archive/1.8.4.zip --no-cache-dir
2022-09-30 22:33:48,348 > Collecting https://github.com/OctoPrint/OctoPrint/archive/1.8.4.zip
2022-09-30 22:33:48,349 > Downloading https://github.com/OctoPrint/OctoPrint/archive/1.8.4.zip (6.6 MB)
2022-09-30 22:33:50,350 > Preparing metadata (setup.py): started
2022-09-30 22:33:51,825 > Preparing metadata (setup.py): finished with status 'done'
2022-09-30 22:33:51,825 > Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (2021.2.23)
2022-09-30 22:33:51,825 > Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (2021.10.11)
2022-09-30 22:33:51,825 > Requirement already satisfied: OctoPrint-PiSupport>=2022.3.28 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (2022.6.13)
2022-09-30 22:33:51,825 > Collecting argon2_cffi<22,>=21.3.0
2022-09-30 22:33:51,826 > Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
2022-09-30 22:33:51,826 > Collecting cachelib<0.3,>=0.2
2022-09-30 22:33:51,826 > Downloading cachelib-0.2.0-py3-none-any.whl (12 kB)
2022-09-30 22:33:51,826 > Collecting Click<9,>=8.0.3
2022-09-30 22:33:51,826 > Downloading click-8.0.4-py3-none-any.whl (97 kB)
2022-09-30 22:33:51,827 > Collecting colorlog<7,>=6
2022-09-30 22:33:51,828 > Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
2022-09-30 22:33:51,828 > Requirement already satisfied: emoji<2,>=1.4.2 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (1.7.0)
2022-09-30 22:33:51,828 > Requirement already satisfied: feedparser<7,>=6.0.8 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (6.0.10)
2022-09-30 22:33:51,828 > Requirement already satisfied: filetype<2,>=1.0.7 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (1.1.0)
2022-09-30 22:33:51,828 > Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (2.0)
2022-09-30 22:33:51,828 > Collecting Flask-Babel<3,>=2.0
2022-09-30 22:33:51,828 > Downloading Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
2022-09-30 22:33:51,828 > Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/octo/OctoPrint/venv/lib/python3.6/site-packages (from OctoPrint==1.8.4) (0.5.0)
2022-09-30 22:33:51,830 ! ERROR: Could not find a version that satisfies the requirement Flask-Limiter<3,>=2.6 (from octoprint) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5, 0.6, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.7, 0.7.1, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.8, 0.7.9, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.5.1, 1.0.0rc1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.3, 1.3.1, 1.4, 1.5)
2022-09-30 22:33:51,830 ! ERROR: No matching distribution found for Flask-Limiter<3,>=2.6

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint 1.7.4 i think it is at the momento, Neptune 3, Ubuntu 18.04, Firefox

try sudo apt update; sudo apt upgrade followed by sudo apt install libffi-dev and then updating.

OctoPrint no longer supports Python 3.6 - 1.8+ requires Python 3.7 or newer to install & run. Not sure why it's not saying that clearly but I suspect that's the case.

If you can't easily get Python 3.7 on Ubuntu 18.04 then you will need to upgrade to a newer OS.

1 Like


I got installed already.

And the Python version of venv? You find it at the bottom line of the OctoPrint WEB GUI:

grafik

Soooo i had enough of trying update octoprint so i decided to update to Ubuntu 22.04, everything was working even the webcam on the old version, besides update, now updated, is not connecting to the printer, im unable to install any how the libavtools to install the webcam. do i create a new post or anyone can help me here?
Webcam issue
E: Package 'libav-tools' has no installation candidate
Printer issue
State: Offline after error
No more candidates to test, and no working port/baudrate combination detected.

quite annoying to fix one issue another pops haha

Logs would be useful, but as a shot in the dark: sudo apt remove brltty will likely get your printer connecting.
Another option is to use a script that handles the installation for you: GitHub - paukstelis/octoprint_install: Bash script for installing OctoPrint and webcam streamer

i fixed the connecting issue, reinstall the whole thing had missing libs. ill need help with help with the streamer program, yesterday i installed al library easy, with the new ubuntu i cannot manage to install livabtool.dev and libjpeg62-turbo-dev
sudo apt install libjpeg62-turbo-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libjpeg62-turbo-dev

The script I posted will also setup either mjpeg-streamer or ustreamer.

1 Like

you are my new favorite person! thank you so much ! you cant imagine how much i appreciate that!

everything done, but i think i made a mistake, because it ask twice to add a camera, do i use the same usb port?

Not sure exactly what you mean by "ask twice". After you add the camera the option will still be available in the menu.

At the end it ask for the 2 types of streamers, i choose the first one, them when you finish setup that, it will ask you to connect your cam again, for octoprint so it ask again to plug the cam into the usb and it will assign a port to it again. that is when i wasnt sure.

You should only need to plug in the camera after you select the Add USB Camera option in the menu.
If it has a serial number, it will detect by that. If not, it will detect by the physical USB port address.

I think the streamer program is not starting that is why is not working the webcam, some how, do you have on hand the scripts from "Octoprint service, webcam service, and Haproxy cfg?" i think when i installed yours it didnt replace from the old one, and every time i try to install your script in only shows the add cam for octoprint 1.2 and unable to reinstalled. sorry to bother so much :frowning:

If you join the Discord link on the github page I can try and help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.