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

Make it possible to upload audio and video to Heroku app #24866

Merged
merged 1 commit into from May 5, 2023

Conversation

zunda
Copy link
Contributor

@zunda zunda commented May 5, 2023

Add libopenblas0-pthread needed for the ffprobe command on Heroku-22 Stack. Without the package, the command errors:

ffprobe: error while loading shared libraries: libblas.so.3: cannot open shared object file: No such file or directory

Also, log Paperclip errors for easier debug in the future. Without libopenblas0-pthread, uploading an audio or video attachemnt leaves the log like the below:

Paperclip::Errors::CommandNotFoundError: Could not run the `ffprobe` command. Please install ffmpeg.

Add libopenblas0-pthread needed for the ffprobe command on
Heroku-22 Stack. Without the package, the command errors:

  ffprobe: error while loading shared libraries: libblas.so.3: cannot open shared object file: No such file or directory

Also, log Paperclip errors for easier debug in the future. Without
libopenblas0-pthread, uploading an audio or video attachemnt leaves
the log like the below:

  Paperclip::Errors::CommandNotFoundError: Could not run the `ffprobe` command. Please install ffmpeg.
@Gargron Gargron merged commit c0ea33e into mastodon:main May 5, 2023
22 checks passed
skerit pushed a commit to 11ways/mastodon that referenced this pull request Jul 7, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants