-
Notifications
You must be signed in to change notification settings - Fork 189
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
Encoder is broken : PermissionError: [Errno 13] Permission denied: '/var/www/.cache' #501
Comments
The error message suggests that the user running the youtube-dl command does not have permission to create directories in the /var/www/.cache directory. You may need to adjust the permissions of this directory to allow the user to create directories and files inside it. One way to do this is to use the chmod command to change the owner and group of the directory to the user running the youtube-dl command. For example, you can use the following command to change the owner and group of the directory to the user www-data (replace www-data with the appropriate user for your system):
This command changes the owner and group of the /var/www/.cache directory and all of its contents recursively (-R option) to www-data. Once the ownership is set correctly, the user running the youtube-dl command should have permission to create directories and files in the directory. |
Greetings, I am facing an issue with my web application which appears to be related to the youtube-dl program installed on my Ubuntu server. This is a known problem that has been reported on the following GitHub pages: yt-dlp/yt-dlp#6247 and ytdl-org/youtube-dl#31530. Fortunately, a solution has been proposed on yt-dlp/yt-dlp#3766. To resolve this issue, I removed the previously installed youtube-dl program by executing the command: "sudo pip remove youtube-dl". Then, I installed the new program using the following commands:
I attempted to change the executable name of youtube-dl by searching through several source code files, including videos/configuration.php, objects/Configuration.php, objects/Configuration.php, and objects/include_config.php. Unfortunately, I was unable to locate the specific line of code that would allow me to change the name. Instead, I opted to change the name manually by executing the following command:
In the future, I am curious to see if AVIDEO will be able to automatically detect the correct program name installed on the server. Thank you for your attention to this matter. I hope that this solution can be useful for others who may encounter a similar issue. |
if you install the yt-dlp in your server, AVideo will use it automatically |
Run this and try again
|
Looks work but got a new error :/ on log i got this :
|
first, try to update your streamer and encoder. if still fails share a more complete encoder log. |
Hello i can't encode anymore video do u have information about this error please ?
First i update youtube-dll :
so now i can't understand why Avideo-encoder wants writer in /var/www/.cache
and i also tries this :
can u explain me what's is wrong please
thanks
The text was updated successfully, but these errors were encountered: