-
Notifications
You must be signed in to change notification settings - Fork 371
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
Wrong preconfigured ffmpeg path #696
Comments
Looks like the preconfigured path is right, maybe something in their configuration that has messed it up. |
Yeah, just saw that this was supposedly fixed in #600... Will flash an 0.18.0rc1 in a couple of minutes for 1.5.0rc2 update testing anyhow and will crosscheck then. |
Interesting. If the default image has it correct, then my issue was probably related to my upgrade path -- which looked like this:
|
Do you still have a copy of the backup, from one that worked? The only way I can see this occurring is something misconfigured that got backed up and carried forward by the backup. If you unzip the backup, |
Aaaaah... a backup, of course! Yeah, ok, the backup was the issue, that still contained the old path. Can also confirm that OctoPi 0.18.0rc1 contains the right path: This raises the question though how to proceed with issues like this going forward. It's an environmental specific setting, so nothing that OctoPrint can actually detect or take care of. But it also causes trouble for people who'll migrate to 0.18 through the backup/restore route. |
Closing as there's no immediate todo to be created from this and the image per se is fine, however, the whole problem is something to think about. I'm wondering if it would make sense to extend the config overlay mechanism in OctoPrint going forward, and add an environment overlay config in OctoPi that sets settings like this, so they won't land in a backup. Will have to brainstorm about this a bit. Until then an FAQ entry will probably be a good idea, and a small heads-up in the release notes & announcement of OctoPi 0.18. |
I'm surprised that this has shown up now, rather than in the migration from 0.16 > 0.17, when this was actually changed (maybe it did, I haven't looked). Not something that has caused many people a problem I guess? |
Here's the
And yes, time lapses were working before upgrading to OctoPrint 1.5.0rc1. I was using an OctoPi Daily from July or August, as well as the release version of OctoPrint at the time (after having gone through many of the previous OctoPrint RC release cycles) |
Copying from OctoPrint/OctoPrint#3821 by @JohnOCFII
What were you doing?
I started with a new installation of OctoPi 0.18.0 (the RC). I upgraded the default 1.4.2 OctoPrint to 1.5.0rc1. I then performed a restore of OctoPrint 1.5.0rc1 from my previous installation on an older nightly build of OctoPi 0.18.
As I reviewed configuration settings, I noticed in
Settings --> Webcam & Timelapse
there is a setting forPath to FFMPEG
. This field is pre-populated with/usr/bin/avconv
. That item does not exist on this fresh installation.What did you expect to happen?
I expected either
avconv
to exist at the specified path, or that the field would be pre-populated with/usr/bin/ffmpeg
What happened instead?
Field needed to be manually updated to
/usr/bin/ffmpeg
Did the same happen when running OctoPrint in safe mode?
n/a
Version of OctoPrint
OctoPrint 1.5.0rc1
Operating System running OctoPrint
OctoPi 0.18.0 (RC)
Printer model & used firmware incl. version
Prusa MK3S w/MMU2S
Browser and version of browser, operating system running browser
Safari Version 14.0.1 (15610.2.11.51.10, 15610)
macOS Catalina 10.15.7
Link to octoprint.log
https://gist.github.com/JohnOCFII/af96d79e4768bb90f0dcf9e9f958b481
Link to contents of terminal tab or serial.log
n/a
Link to contents of Javascript console in the browser
n/a
![Screen Shot 2020-11-16 at 6 21 19 PM](https://user-images.githubusercontent.com/7844212/99343328-44681300-2853-11eb-8f66-0dc3f70f61a3.png)
Screenshot(s)/video(s) showing the problem:
I have read the FAQ.
TLDR
The preconfigured ffmpeg path is wrong on OctoPi 0.18.0rc1.
The text was updated successfully, but these errors were encountered: