Skip to content
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

OctoPi 1.0.0 RC1 Status #770

Closed
guysoft opened this issue Feb 27, 2022 · 81 comments
Closed

OctoPi 1.0.0 RC1 Status #770

guysoft opened this issue Feb 27, 2022 · 81 comments

Comments

@guysoft
Copy link
Owner

guysoft commented Feb 27, 2022

First release candidate for OctoPi 1.0.0

There are both 32bit and 64bit images available. Which give support to new Raspberry Pi 4B hardware pis that have been shipping out there.
The 64bit image is based on Ubuntu 20.04.4, since it seemed more stable than RaspberryPi OS when testing 64bit, it might improve later on.

Raspsberrypi 3 and up can try the 64bit version. No performance gain in normal OctoPi is expected. It might help future plugins.

Please try the release candidate so we know it works.

32bit armf:
Download it at:
https://unofficialpi.org/Distros/OctoPi/nightly/2022-02-27_2022-01-28-octopi-bullseye-armhf-lite-1.0.0.zip

Md5: 672cc74db5c863e8378d994b8ef25504.

64bit arm64/aarch64:
Download it at:
https://unofficialpi.org/Distros/OctoPi/nightly-arm64/2022-02-27_octopi-20.04.4-preinstalled-server-arm64+raspi-1.0.0.zip

Md5: a78e25bda751e0253981020d2ddf4298.

Changes in the image

@cp2004
Copy link
Contributor

cp2004 commented Feb 27, 2022

I will admit I'm still not completely sold on the version number being 1.0.0. We get enough people already confusing OctoPi and OctoPrint, I feel like this might make it worse?

What about just 'OctoPi 19.0' - there's no API involved, and it's not possible to update it, so the SemVer type versioning doesn't need to apply? Just specifying that it's the release after 0.18.

@guysoft
Copy link
Owner Author

guysoft commented Feb 27, 2022

@cp2004 I had a talk about this, which I can't seem to find anywhere now.
The argument is people confuse OctoPi and OctoPrint anyway. So it doesn't really change the situation.
And I don't want to that already existing confusion effect version naming. Worst case if it goes crazy (which I doubt, but open to be corrected), wWe can jump to version 2 or 3. But it seems to me to remain at 0.x for this long is just too much. Also its shorter.
We could have named OctoPi differently, but its too of a good pun IMHO.
None the less, thanks for sharing your thoughts and feelings :)

@Taomyn
Copy link

Taomyn commented Feb 28, 2022

Great news and really want to try it - will backup my current 0.18 on an RPi-4 and restore it to a new SD card to see how it goes.

Will we be able to upgrade to the full release once it's out, or will we have to install/restore it again?

@foosel
Copy link
Collaborator

foosel commented Feb 28, 2022

Reflash and restore, there's no way to upgrade from one version of OctoPi to another.

@wlayher
Copy link

wlayher commented Feb 28, 2022

Why are 32-bit and 64-bit links pointing to the same file? Talking about confusion ... :-)

@ytwytw
Copy link

ytwytw commented Feb 28, 2022

And 32bits and 64 bits are the same MD5 as well

@wlayher
Copy link

wlayher commented Feb 28, 2022

Yes, and all the talk about bullseye, and then Ubuntu in the name of the image ...

@matonb
Copy link

matonb commented Feb 28, 2022

I would hope so, they're pointing at the same file

@wlayher
Copy link

wlayher commented Feb 28, 2022

Yes, I can see that. But the text that led me here looks like false advertising then about bullseye ... :-)

@guysoft
Copy link
Owner Author

guysoft commented Feb 28, 2022

My bad fixing the links for 32bit. Pasting error
Fixed

@QuinnDamerell
Copy link

Congrats on 1.0! Well deserved! 🥳

@wlayher
Copy link

wlayher commented Feb 28, 2022

Thanks! :-)
I'm looking forward to testing the new version with my PiCam HQ. I had switched to ustreamer on my old install, because with mjpegstreamer I had frequent freezes of the livestream in higher res. That problem went away with ustreamer. But with ustreamer octolapse would not sync correctly. So I want to test that on the new version.

@x40-Community
Copy link

I just tested the 32bit distribution with the Weedo X40 printer. As with all previous distributions, the connection will not be established due to the outdated CH340 driver.
Please update the CH340 driver.
Have a look at:
https://www.weedo3dprinter.com/doku.php/x40/updatech340

Thanks

@eblieb
Copy link

eblieb commented Mar 1, 2022

Tried to restore a backup and got
Installing plugin "PrintTimeGenius"...

/home/pi/oprint/bin/python -m pip install https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip --no-cache-dir
< Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
< Collecting https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip
< Downloading https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip (7.8 MB)
Removing temporary unpacked folder
Error while running restore
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 1260, in _restore_backup
on_install_plugins(known_plugins)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 292, in on_install_plugins
self.class._install_plugin(
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 914, in _install_plugin
cls._pip_caller.execute(*pip)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 208, in execute
return self.call(command, **kwargs)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 244, in call
all_stdout += process_stdout(p.stdout.readlines(timeout=0.5))
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 236, in process_stdout
return process_lines(lines, self._log_stdout)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 229, in process_lines
processed = self._preprocess_lines(
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines
return list(map(self._preprocess, lines))
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 517, in _preprocess
return to_unicode(clean_ansi(text))
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi
return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 5-44: ordinal not in range(256)

Restore failed! Check the above output and octoprint.log for reasons as to why.

@rerickson1
Copy link

Same as @eblieb restoring a backup does not working correctly. I am restoring a backup made from a 32-bit installation, maybe this has something to do with it.

I get the same latin-1 error, but with a different plugin.

output: https://pastebin.com/zNcXtnqP

@robness
Copy link

robness commented Mar 1, 2022

For plugins you have to reinstall some of them because of the differences in Python versions: https://community.octoprint.org/t/pios-bullseye-killed-octoprint/38790

Basically restore the backup to the plugin error point. install the plugin manually and then restore the backup again after the reboot and rinse and repeat for each failed plugin.

@robness
Copy link

robness commented Mar 1, 2022

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

@rerickson1
Copy link

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

Sounds like a windows issue. I used Raspberry Pi Imager tool on macOS with the 64-bit .img and SSH was setup and works just fine.

@cp2004
Copy link
Contributor

cp2004 commented Mar 1, 2022

Tried to restore a backup and got
Installing plugin "PrintTimeGenius"...

/home/pi/oprint/bin/python -m pip install https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip --no-cache-dir
< Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
< Collecting https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip
< Downloading https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip (7.8 MB)
Removing temporary unpacked folder
Error while running restore
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 1260, in _restore_backup
on_install_plugins(known_plugins)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 292, in on_install_plugins
self.class._install_plugin(
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/plugins/backup/init.py", line 914, in _install_plugin
cls._pip_caller.execute(*pip)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 208, in execute
return self.call(command, **kwargs)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 244, in call
all_stdout += process_stdout(p.stdout.readlines(timeout=0.5))
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 236, in process_stdout
return process_lines(lines, self._log_stdout)
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 229, in process_lines
processed = self._preprocess_lines(
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines
return list(map(self._preprocess, lines))
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/pip.py", line 517, in _preprocess
return to_unicode(clean_ansi(text))
File "/home/pi/oprint/lib/python3.9/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi
return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 5-44: ordinal not in range(256)

Restore failed! Check the above output and octoprint.log for reasons as to why.

This UnicodeDecodeError is a problem with compatibility between Pip 22.0 and OctoPrint at the moment. It's been fixed in 1.8.0 which will be starting release candidate soon as well. When that's released this issue won't happen anymore.

@guysoft
Copy link
Owner Author

guysoft commented Mar 1, 2022

@robness The issue that was linked about dealing with an upgraded version of python is not relevant in this case, because it talks about having an existing python environment, and then upgrading it and fixing all the paths. But the case here is a brand new python environment that was built. So the path changes should not be an issue.
Python has been upgraded to 3.9 on 32bit, but that is not supposed to break compatibility (unless there is something new I am not aware of).

@guysoft
Copy link
Owner Author

guysoft commented Mar 1, 2022

@x40-Community Is there some move to get that driver in to mainline kernel or raspberrypi/linux?
I can't seem to find any, that would be the appropriate channel before we patch it on top with OctoPi.
Another issue is the driver linked is just code in a .zip file without any version control. I can't see what has been changed and why. So shipping it could cause other issues.

@foosel
Copy link
Collaborator

foosel commented Mar 1, 2022

No license attached to this arbitrary driver either, so it can't be included.

@robness
Copy link

robness commented Mar 1, 2022

Etcher had problems verifying the 64 image on Windows 11, but I was still able to start the import of the back up and almost got through installing all the plugins including those that I had to manually install. One of the last few plugins but I thought it might be something I needed to update on the OS level. SSH connection was refused. I tried enabling it manually through the ssh file with no luck. Plugged it into a keyboard and monitor and quickly realized the raspi-config couldn't be found either after finally being able to ssh. Back to the nightly builds I go: https://github.com/guysoft/OctoPi/actions/workflows/build.yml

Sounds like a windows issue. I used Raspberry Pi Imager tool on macOS with the 64-bit .img and SSH was setup and works just fine.

It was with Etcher. No problems using the imager tool. I need to figure out how to get that working with another PI project I am involved with. So convenient to use.

@eblieb
Copy link

eblieb commented Mar 1, 2022 via email

@robness
Copy link

robness commented Mar 1, 2022

Arc Welder also had the UnicodeDecodeError, but when I tried to install it manually I got the following error:

Installing plugin "Arc Welder" from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip...
/home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip --no-cache-dir
Processing /tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: OctoPrint>1.3.8 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.7.3)
Requirement already satisfied: setuptools>=6.0 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (44.0.0)
Requirement already satisfied: six in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.16.0)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0)
Requirement already satisfied: feedparser<7,>=6.0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.0.8)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.11)
Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.8)
Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.6)
Requirement already satisfied: psutil<6,>=5.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.9.0)
Requirement already satisfied: pathvalidate<3,>=2.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.5.0)
Requirement already satisfied: websocket-client<1,>=0.59 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.59.0)
Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.4)
Requirement already satisfied: immutabledict<3,>=2.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.2.1)
Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.10)
Requirement already satisfied: unidecode in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.3.3)
Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.10.4)
Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.18.2)
Requirement already satisfied: emoji<2,>=1.4.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.6.3)
Requirement already satisfied: netifaces<1,>=0.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.11.0)
Requirement already satisfied: zeroconf<0.34,>=0.33 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.33.4)
Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.8.0)
Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.0)
Requirement already satisfied: tornado<7,>=6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.1)
Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.1)
Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (7.1.2)
Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.1)
Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.28)
Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.1.1)
Requirement already satisfied: Jinja2<3,>=2.11.3 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.11.3)
Requirement already satisfied: colorlog<6,>=5.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.0.1)
Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.4.1)
Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.1)
Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.2.23)
Requirement already satisfied: requests<3,>=2.26.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.27.1)
Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0)
Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.2.0)
Requirement already satisfied: sentry-sdk<2,>=1.3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.5.6)
Requirement already satisfied: regex in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2022.1.18)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.5.0)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.0)
Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.12.1)
Requirement already satisfied: flask<2,>=1.1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.4)
Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.5)
Requirement already satisfied: pkginfo<2,>=1.7.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.8.2)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python3.8/site-packages (from watchdog==0.10.4->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.2)
Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.8/site-packages (from feedparser<7,>=6.0.8->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0)
Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0)
Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.1)
Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.3)
Requirement already satisfied: idna<4,>=2.5 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.26.8)
Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.8)
Requirement already satisfied: ifaddr>=0.1.7 in /home/pi/oprint/lib/python3.8/site-packages (from zeroconf<0.34,>=0.33->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.7)
Building wheels for collected packages: Arc-Welder
Building wheel for Arc-Welder (setup.py): started
Building wheel for Arc-Welder (setup.py): finished with status 'error'
Running setup.py clean for Arc-Welder
Error!
Could not install plugin from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip, see the log for more details

@robness
Copy link

robness commented Mar 1, 2022

Arc Welder also had the UnicodeDecodeError, but when I tried to install it manually I got the following error:

Installing plugin "Arc Welder" from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip... /home/pi/oprint/bin/python -m pip --disable-pip-version-check install file:///tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip --no-cache-dir Processing /tmp/tmpyi1j5pdp/ArcWelderPlugin-master.zip Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: OctoPrint>1.3.8 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.7.3) Requirement already satisfied: setuptools>=6.0 in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (44.0.0) Requirement already satisfied: six in /home/pi/oprint/lib/python3.8/site-packages (from Arc-Welder==1.0.0+u.bb71e8f) (1.16.0) Requirement already satisfied: Flask-Assets<3,>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0) Requirement already satisfied: feedparser<7,>=6.0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.0.8) Requirement already satisfied: OctoPrint-FirmwareCheck>=2021.10.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.11) Requirement already satisfied: zipstream-new<1.2,>=1.1.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.8) Requirement already satisfied: sarge==0.1.6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.6) Requirement already satisfied: psutil<6,>=5.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.9.0) Requirement already satisfied: pathvalidate<3,>=2.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.5.0) Requirement already satisfied: websocket-client<1,>=0.59 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.59.0) Requirement already satisfied: blinker<2,>=1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.4) Requirement already satisfied: immutabledict<3,>=2.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.2.1) Requirement already satisfied: filetype<2,>=1.0.7 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.10) Requirement already satisfied: unidecode in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.3.3) Requirement already satisfied: watchdog==0.10.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.10.4) Requirement already satisfied: future<1,>=0.18.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.18.2) Requirement already satisfied: emoji<2,>=1.4.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.6.3) Requirement already satisfied: netifaces<1,>=0.11 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.11.0) Requirement already satisfied: zeroconf<0.34,>=0.33 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.33.4) Requirement already satisfied: netaddr<0.9,>=0.8 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.8.0) Requirement already satisfied: semantic-version<3,>=2.8.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.0) Requirement already satisfied: tornado<7,>=6 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (6.1) Requirement already satisfied: cachelib<0.2,>=0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.1) Requirement already satisfied: Click<8,>=7.1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (7.1.2) Requirement already satisfied: markupsafe<2.0,>=1.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.1) Requirement already satisfied: OctoPrint-PiSupport>=2021.10.28 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.28) Requirement already satisfied: markdown<3.2,>=3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.1.1) Requirement already satisfied: Jinja2<3,>=2.11.3 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.11.3) Requirement already satisfied: colorlog<6,>=5.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.0.1) Requirement already satisfied: PyYAML<6,>=5.4.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (5.4.1) Requirement already satisfied: werkzeug<2,>=1.0.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.1) Requirement already satisfied: OctoPrint-FileCheck>=2021.2.23 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.2.23) Requirement already satisfied: requests<3,>=2.26.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.27.1) Requirement already satisfied: Flask-Babel<2,>=1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0) Requirement already satisfied: pylru<2,>=1.2 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.2.0) Requirement already satisfied: sentry-sdk<2,>=1.3.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.5.6) Requirement already satisfied: regex in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2022.1.18) Requirement already satisfied: Flask-Login<0.6,>=0.5 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.5.0) Requirement already satisfied: itsdangerous<2,>=1.1.0 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.0) Requirement already satisfied: wrapt<1.13,>=1.12.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.12.1) Requirement already satisfied: flask<2,>=1.1.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.1.4) Requirement already satisfied: pyserial<4,>=3.4 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.5) Requirement already satisfied: pkginfo<2,>=1.7.1 in /home/pi/oprint/lib/python3.8/site-packages (from OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.8.2) Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python3.8/site-packages (from watchdog==0.10.4->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.2) Requirement already satisfied: sgmllib3k in /home/pi/oprint/lib/python3.8/site-packages (from feedparser<7,>=6.0.8->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.0.0) Requirement already satisfied: webassets>=2.0 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Assets<3,>=2.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0) Requirement already satisfied: Babel>=2.3 in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.9.1) Requirement already satisfied: pytz in /home/pi/oprint/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.3) Requirement already satisfied: idna<4,>=2.5 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (3.3) Requirement already satisfied: charset-normalizer~=2.0.0 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (1.26.8) Requirement already satisfied: certifi>=2017.4.17 in /home/pi/oprint/lib/python3.8/site-packages (from requests<3,>=2.26.0->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (2021.10.8) Requirement already satisfied: ifaddr>=0.1.7 in /home/pi/oprint/lib/python3.8/site-packages (from zeroconf<0.34,>=0.33->OctoPrint>1.3.8->Arc-Welder==1.0.0+u.bb71e8f) (0.1.7) Building wheels for collected packages: Arc-Welder Building wheel for Arc-Welder (setup.py): started Building wheel for Arc-Welder (setup.py): finished with status 'error' Running setup.py clean for Arc-Welder Error! Could not install plugin from https://github.com/FormerLurker/ArcWelderPlugin/archive/master.zip, see the log for more details

Still a Latin-1 error from logs:
2022-03-01 07:26:25,739 - octoprint.plugins.pluginmanager - ERROR - Reason: UnicodeEncodeError('latin-1', ' │ exit code: 1\n', 2, 3, 'ordinal not in range(256)')
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/init.py", line 900, in _command_install_archive
returncode, stdout, stderr = self._call_pip(pip_args)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/plugins/pluginmanager/init.py", line 1631, in _call_pip
return self._pip_caller.execute(*args, **kwargs)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 208, in execute
return self.call(command, **kwargs)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 243, in call
all_stderr += process_stderr(p.stderr.readlines(timeout=0.5))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 239, in process_stderr
return process_lines(lines, self._log_stderr)
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 229, in process_lines
processed = self._preprocess_lines(
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 498, in _preprocess_lines
return list(map(self._preprocess, lines))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/pip.py", line 517, in _preprocess
return to_unicode(clean_ansi(text))
File "/home/pi/oprint/lib/python3.8/site-packages/octoprint/util/commandline.py", line 57, in clean_ansi
return _ANSI_REGEX.sub(b"", line.encode("latin1")).decode("latin1")
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2502' in position 2: ordinal not in range(256)

@cp2004
Copy link
Contributor

cp2004 commented Mar 1, 2022

@robness As I explained above it is not an issue with specific plugins it's a problem with the current version of OctoPrint and the new version of pip released a few weeks ago, already fixed but not released, and it will impact any plugin that requires downloading dependencies.

@robness
Copy link

robness commented Mar 1, 2022

@robness As I explained above it is not an issue with specific plugins it's a problem with the current version of OctoPrint and the new version of pip released a few weeks ago, already fixed but not released, and it will impact any plugin that requires downloading dependencies.

I figured that, but for this one, even trying to manually install it, it wasn't working. It was meant more as a heads up that the plugin wouldn't even work in a manual install because of the newer version of pip.

Thanks for everything that you do to support the project.

@JoveToo
Copy link

JoveToo commented Mar 1, 2022

Would it be possible to copy the octopi-wpa-supplication.txt file to /etc/wpa_supplication, restrict access and then delete the file from boot?

It is not good policy to have files with passwords readable by everyone.

@guysoft
Copy link
Owner Author

guysoft commented Mar 1, 2022

@JoveToo This is unrelated to the release candidate. It has OctoPi has been behaving sinc Aug 2016: 326bbdf . Its not going to change in this release.

@guysoft
Copy link
Owner Author

guysoft commented Mar 14, 2022

The network settings should work in the ubuntu build. I tested them a few months ago. That is something I should fix.

@foosel
Copy link
Collaborator

foosel commented Mar 14, 2022

Yeah, network does work, but neither password nor hostname

@guysoft
Copy link
Owner Author

guysoft commented Mar 14, 2022

I am considering adding a setting to my fork of rpi imager, which would let us disable username changes.
OctoPi and many other images are a single-user operating system in effect, and there is really no need to be able to change the username.
The password makes sense though to have an option. I could look in to that.

@cp2004 cp2004 mentioned this issue Mar 22, 2022
@eblieb
Copy link

eblieb commented Mar 23, 2022

Still having camera issues where the camera freezes in the control panel

@guysoft
Copy link
Owner Author

guysoft commented Mar 23, 2022

@eblieb What camera? details please. I got both a pi camera and a webcam working here, so I need information to differentiate

@eblieb
Copy link

eblieb commented Mar 23, 2022

@guysoft I am getting this error a lot in DMESG


[224158.023005] uvcvideo: Failed to resubmit video URB (-1).
[225621.991796] uvcvideo: Failed to resubmit video URB (-1).
[226994.479849] uvcvideo: Failed to resubmit video URB (-1).
[227726.474051] uvcvideo: Failed to resubmit video URB (-1).
[227817.973307] uvcvideo: Failed to resubmit video URB (-1).
[229830.969270] uvcvideo: Failed to resubmit video URB (-1).
[230013.970997] uvcvideo: Failed to resubmit video URB (-1).
[231111.962102] uvcvideo: Failed to resubmit video URB (-1).
[232850.452275] uvcvideo: Failed to resubmit video URB (-1).
[232850.452303] uvcvideo: Failed to resubmit video URB (-1).
[234131.455648] uvcvideo: Failed to resubmit video URB (-1).
[235595.448098] uvcvideo: Failed to resubmit video URB (-1).
[236327.446014] uvcvideo: Failed to resubmit video URB (-1).
[237242.447494] uvcvideo: Failed to resubmit video URB (-1).
[237333.948067] uvcvideo: Failed to resubmit video URB (-1).
[243464.413076] uvcvideo: Failed to resubmit video URB (-1).
[247307.410226] uvcvideo: Failed to resubmit video URB (-1).

and
[37042.653540] usb 1-1.3: New USB device strings: Mfr=2, Product=1, SerialNumber                                                                                                                           =3
[37042.653557] usb 1-1.3: Product: HDA Webcam USB
[37042.653572] usb 1-1.3: Manufacturer: HDA Webcam USB
[37042.653587] usb 1-1.3: SerialNumber: HDA Webcam USB
[37042.659485] uvcvideo: Found UVC 1.00 device HDA Webcam USB (0c45:6366)
[37042.681116] input: HDA Webcam USB: HDA Webcam USB as /devices/platform/soc/3f                                                                                                                           980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input7
[37042.718769] usb 1-1.3: 3:1: cannot get freq at ep 0x84
[37048.443644] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[37048.996063] usb 1-1.2: new full-speed USB device number 17 using dwc_otg
[37049.106057] usb 1-1.2: device descriptor read/64, error -71
[37049.336041] usb 1-1.2: device descriptor read/64, error -71
[37049.566041] usb 1-1.2: new full-speed USB device number 18 using dwc_otg
[37049.676090] usb 1-1.2: device descriptor read/64, error -71
[37049.906016] usb 1-1.2: device descriptor read/64, error -71
[37050.026227] usb 1-1-port2: attempt power cycle
[37050.705964] usb 1-1.2: new full-speed USB device number 19 using dwc_otg
[37051.145991] usb 1-1.2: device not accepting address 19, error -71
[37051.255986] usb 1-1.2: new full-speed USB device number 20 using dwc_otg
[37051.695971] usb 1-1.2: device not accepting address 20, error -71
[37051.696249] usb 1-1-port2: unable to enumerate USB device
[37068.575396] usb 1-1.2: new full-speed USB device number 21 using dwc_otg
[37068.685448] usb 1-1.2: device descriptor read/64, error -71
[37068.915415] usb 1-1.2: device descriptor read/64, error -71
[37069.145433] usb 1-1.2: new full-speed USB device number 22 using dwc_otg
[37069.255434] usb 1-1.2: device descriptor read/64, error -71
[37069.485435] usb 1-1.2: device descriptor read/64, error -71
[37069.605707] usb 1-1-port2: attempt power cycle
[37070.285383] usb 1-1.2: new full-speed USB device number 23 using dwc_otg
[37070.735390] usb 1-1.2: device not accepting address 23, error -71
[37070.845403] usb 1-1.2: new full-speed USB device number 24 using dwc_otg
[37071.285381] usb 1-1.2: device not accepting address 24, error -71
[37071.285558] usb 1-1-port2: unable to enumerate USB device

@guysoft
Copy link
Owner Author

guysoft commented Mar 23, 2022

@eblieb

  1. has the camera ever worked?
  2. this looks like a power supply issue, make sure you are using a good power supply and a GOOD USB cable.
  3. You are using a rpi zero from the looks of the log because its an OTG usb port. They are known to have wifi issues that could explain why your ui is getting stuck. Its noted here quite clearly: https://octoprint.org/download/

@eblieb
Copy link

eblieb commented Mar 23, 2022

@guysoft yes the camera works it just randomly freezes in the web viewer. It works fine with OctoApp and never freezes in that.

@antony
Copy link

antony commented Apr 4, 2022

Doesn't seem to be able to connect to my wifi network on a pi 3. Wired works without issue, and have configured /etc/wpa_supplicant/wpa_supplicant.conf to provide my ssid and password, but it never connects. iwlist shows the interface as ready, but it never gets an IP address.

The pi was previously running a very old build of octopi from 2020 and I just swapped out the SD card.

Not sure what other information I can provide but happy to provide whatever helps.

@rexit1982
Copy link

Late to the party but it seems like input_raspicam.so is not present on 0.18 so webcamd is failing to start up/work with camera="raspi". Was that intentional and I'm jsut not finding it?

@ChrisHeerschap
Copy link

Running on a raspi 4 with a Logitech C920 USB webcam and getting the same video stream freezing issue. Seems to be related to webcamd thinking that mjpg_streamer hasn't successfully started (it has) and so kills and restarts it over and over again.

Can document here or create an issue, have been collecting logs and troubleshooting - which works better for you?

@cp2004
Copy link
Contributor

cp2004 commented May 2, 2022

Has anyone tested HLS streaming on these images? Only interested in 32 bit at the moment, who knows what is different with the 64 bit one since it's ubuntu not RPi OS. It's mainly to test the changes from Buster -> Bullseye.

@cp2004
Copy link
Contributor

cp2004 commented May 8, 2022

Has anyone tested HLS streaming on these images? Only interested in 32 bit at the moment, who knows what is different with the 64 bit one since it's ubuntu not RPi OS. It's mainly to test the changes from Buster -> Bullseye.

I have only tested this in a nightly image which is based on a different version of the underlying OS (end of Apr release, the selected nightly above is Jan).

Since the h264_omx encoder has been removed in Bullseye, generally replaced with h264_v4l2m2m, HLS streaming fails to work. I tried to directly swap the encoder used, and while the encoding then works the HLS output part of the ffmpeg command fails to work.

I doubt I will be able to figure it out as I am relatively new to using ffmpeg. If I do, of course I will post a PR - but if anyone else knows what to do that would be wonderful to know.

@guysoft
Copy link
Owner Author

guysoft commented Jun 22, 2022

Hey,
Updating that the userless install seems to be in on route solving itself, and 1.8.0+ is out, so we can get ready for a new RC.

Also Looks like 64bit on rpi is officially supported: RPi-Distro/pi-gen#481 (comment)
So since we have the mechanics to have the Ubuntu work too. We can decide what we prefer. I am not 100% sure I want to go with either of them, since they both have pros and cons.

@foosel
Copy link
Collaborator

foosel commented Jun 22, 2022

Personally I'd prefer to stick with Raspbian for this release, instead of switching targets now mid RC phase, and there's also this:

Personally btw I'm not planning on pushing the 64bit build on people on the download page - I don't see any advantages from it for the general public, and the completely different base systems will be a nightmare in end-user support 😐

@guysoft
Copy link
Owner Author

guysoft commented Jun 22, 2022

This RC1 has an ubuntu build for 64bit. It would be "switching to raspbian 64 bit".
My gut feeling is that if we release ubuntu we will get a lot of complaints. But its also a rare chance to test switching an official build to ubuntu and seeing how people react to it. It might also have advantages. Mainly a steady release cycle and long term support if we pick LTS

@cp2004
Copy link
Contributor

cp2004 commented Jun 22, 2022

Currently, the Raspberry Pi cam support won't be working with the RPi OS 64 bit builds. That's one of the reasons they switched to libcamera, to get that working. As far as I know, enabling the legacy camera stack only works on the 32 bit images.

Arducam actually forked mjpg-streamer & added support for libcamera to it, but last I checked there was no motion on mjpg streamer to patch it directly. jacksonliam/mjpg-streamer#336

Regular USB cameras still work the same as before, but HLS streaming doesn't work in the bullseye images on either 32/64.

@wlayher
Copy link

wlayher commented Jun 22, 2022

As far as I know, enabling the legacy camera stack only works on the 32 bit images.

I have a Pi running 64 bit Raspbian bullseye running motioneye with the legacy camera enabled. Works.

@cp2004
Copy link
Contributor

cp2004 commented Jun 22, 2022

As far as I know, enabling the legacy camera stack only works on the 32 bit images.

I have a Pi running 64 bit Raspbian bullseye running motioneye with the legacy camera enabled. Works.

That's good news - I don't actually have an RPi camera so just going on what I read/would remember. My Pi cam broke so I haven't been able to test that kind of thing ☹️

@cp2004 cp2004 mentioned this issue Jul 5, 2022
@bnorick
Copy link

bnorick commented Jul 12, 2022

As others have noted, the Pi Cam freezes constantly in this RC. I am using the 32bit variant on a Zero 2.

@guysoft
Copy link
Owner Author

guysoft commented Aug 3, 2022

Hey, I think we are ready for an RC 2 finally. Things got stable. Will set it in motion

@foosel
Copy link
Collaborator

foosel commented Aug 3, 2022

You mean RC2, right? ;)

@robness
Copy link

robness commented Aug 3, 2022

Hey, I think we are ready for an RC 1 finally. Things got stable. Will set it in motion

I agree, I have been using it for a while now and the last issue I had was related to the PI Cam issues that was fixed and has been working ever since.

@guysoft
Copy link
Owner Author

guysoft commented Aug 3, 2022

You mean RC2, right? ;)

I do, fixed 😅

@guysoft
Copy link
Owner Author

guysoft commented Aug 4, 2022

Use RC2 #788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests