mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-03-02 22:57:11 -05:00
youtube-dl fails on Centos 8 #2533
Labels
No labels
Component: Accessibility
Component: Administration
Component: Auth
Component: CLI
Component: Channels
Component: Chapters
Component: Comments
Component: Custom Markdown
Component: Docker 🐳
Component: Documentation 📚
Component: Email
Component: Embed
Component: Federation 🎡
Component: Import/Export
Component: Live
Component: Metadata
Component: Mobile
Component: Moderation :godmode:
Component: Notifications
Component: Object storage
Component: Observability
Component: PeerTube Plugin 📦
Component: Player ⏯️
Component: Playlist
Component: Recommendation
Component: Redundancy
Component: Registration
Component: Runners
Component: SEO
Component: Search
Component: Security
Component: Stats
Component: Studio
Component: Studio
Component: Subscriptions
Component: Subtitles 💬
Component: Transcoding
Component: Upload
Component: Video Import
Component: i18n 🔡
Priority: High
Priority: Low
Priority: Roadmap
Status: Blocked ✋
Status: In Progress 🔜
Status: To Reproduce
Status: Waiting for answer
Template not filled
Type: Bug 🐛
Type: Discussion 💭
Type: Discussion 💭
Type: Duplicate ➿
Type: Feature Request ✨
Type: Maintenance 👷♀️
Type: Performance
Type: Question
UI
good first issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PeerTube#2533
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cgarwood82 on GitHub (Jun 25, 2020).
What happened?
Attempting to use the import function on a Centos 8 deployment fails. On centos 8, there is no python binary so the command fails. This is remedied by creating a symlink:
ln -s /usr/bin/python3 /usr/bin/python
Ideally though, the call should be explicitly to python3 as that is universally available on distros where as python is ambiguous. Not sure if this is an upstream NPM module issue. I couldn't find the code to fix this, probably because my javascript skills are terrible.
What do you expect to happen instead?
For the youtube video to imported
Steps to reproduce:
Additional information
PeerTube version or URL: vid.garwood.io
Browser name/version: Browser Independent
NodeJS version: v10.21.0
Link to browser console log if useful: NA
Link to server log if useful (journalctl or /var/www/peertube/storage/logs/):