-
Notifications
You must be signed in to change notification settings - Fork 21
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
Install Failure #69
Comments
I also started getting this massive one whenever I try to use any python command: |
I redid the install a few more times, used the "--break-system-packages" to install all of the dependencys again (originally I had done them one by one) I got one status check to show as working, but then it promptly went back to not working (i ran the command a 2nd time in disbelief (changed nothing)) After a few more I got a install with no errors, but it still doesnt show working in status. I also tried just running python3 main.py, which opened the webUI, but its totally broken lol giving this error atm: $ python cli.py --media youtube --params direct so yea.... fun |
and here is an example of the working thing, I believe it is trying to restart as soon as it loads and then failing? ytdlp2strm.service - ytdlp2STRM Service Aug 28 00:43:27 JcorpServerNAS systemd[1]: ytdlp2strm.service: Scheduled restart job, restart counter is at 825. |
The port is also now showing this: Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. |
providing it in on ArchAUR or even pip would be better , installing python packages system wide is not recommended |
I am still confused on what is causing them to be installed system wide though? I am using Ubuntu so not sure about archAUR. will look into both though. |
or even pip would be better , installing python packages system wide is not recommended guessing I am missing something, I look forward to hearing from you. |
those errors you are getting is not your fault , python pip packages are meant to run in virtual environments it is not meant to directly install alongside system packages in opt Solution would be for the creator of this tool to provide pip packages or binaries for linux |
Ok, that's very good to know, in that case shouldn't I be able to change everywhere it says opt and move the files to a separated folder? I will first try to remove some of the stuff running in opt though. If I can move it out of opt what files should I edit? |
Install Instructions ,First install nano, screen ,python , python-pip and python-venv using your distro package manager ( they may be called python3 or some variation for your linux distro)
Your service should be running now to make it run in background press Ctrl+A and then Ctrl+D this will detach your screen session from terminal now you can close terminal. To stop the service or see logs you can reattach to it by running AutomationIf you want this to activate automatically after reboot few more steps would be required ,
Press Ctrl+S and then Ctrl+X Removal
|
So fairly certain this comes down to user error, however I have been working on installing this the last few days with no luck. I am running Ubontu with the intent to have youtube videos in jellyfin. I have tried the linux install serveral times but kept getting "error: externally-managed-environment", which then told me to do it in a Python venv. I set that up and finaly got it to install requirements.txt, however when I go to start the systemd program it gives me this
"ytdlp2strm.service - ytdlp2STRM Service
Loaded: loaded (/etc/systemd/system/ytdlp2strm.service; enabled; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2024-08-27 15:50:39 EDT; 3s ago
Process: 1417156 ExecStart=/usr/bin/python3 /opt/ytdlp2STRM/main.py (code=exited, status=1/FAILURE)
Main PID: 1417156 (code=exited, status=1/FAILURE)
CPU: 213ms
(venv) jstudner@MyServ:/opt/ytdlp2STRM$ journalctl _PID=1417156
Aug 27 15:50:39 MyServ python3[1417156]: Traceback (most recent call last):
Aug 27 15:50:39 MyServ python3[1417156]: File "/opt/ytdlp2STRM/main.py", line 4, in
Aug 27 15:50:39 MyServ python3[1417156]: from flask import Flask, request
Aug 27 15:50:39 MyServ python3[1417156]: ModuleNotFoundError: No module named 'flask'
I am guessing its not meant to be run in a venv, but unsure how to work it otherwise. In case it wasn't obvious I am very new to linux in general. I also tried it in docker awhile back and while it didn't work then the web UI is there, but does not work (says it downloaded but the files aren't there and jelly fin also reads nothing there.
Guessing I did something stupid but any help would be appreciated!
The text was updated successfully, but these errors were encountered: