-
Notifications
You must be signed in to change notification settings - Fork 8
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
Permission error when using with Fedora Podman #26
Comments
do you mean it doesn't exist on the container? open a shell inside the container and run the following
and share the output. also, given that the error seems related to the config file, you might want to try the |
Streamlink is running as root? Shouldn't it run on user-level 1000?
Podman is running as root but streamlink should run as non-root, shouldn't it? |
it's probably not the issue but unless you changed to the abc user, you're indeed running as root. you can switch as follows
then try again. other than that, the installation does look normal and still using an older version of streamlink (but it works just fine). next thing I'd suggest you try is install via |
gives me again:
|
mmm... we're getting closer though! what if you add |
I tried to start podman with user abc and I get this:
I mean the script needs to run as root anyway.
|
What's that mean? |
taking a closer look at https://streamlink.github.io/cli/config.html#location, it looks like
it does. it uses Apline's pkg manager to install streamlink. however, tvheadend should not run as root and the issue you're having seems related to how one or more environment variables are set. |
you can probably ignore it. it is just telling you that a user other than root can run the contents inside such a container. unless you have other scripts there, you are safe. |
Will take a closer look at that and report again :) |
the script installs streamlink and any dependencies from the edge repo. sometimes, the edge release breaks things. this is one of the reasons why initially, I favored the installation via so, if you've not found a solution yet, try this:
python3 -m ensurepip
pip3 install --break-system-packages --upgrade pip setuptools
pip3 install --break-system-packages streamlink (if it cannot find ensurepip, then just install it via
which streamlink
streamlink --loglevel debug https://youtube.com/user/cafemusicbgmchannel
|
Hello, thanks for that. 👍🙂 No I have not found a solution yet. I will try it on Sunday or Monday. Do not have time before. |
The command 'python3 -m ensurepip' gave an error message about "error: externally-managed-environment....". Anyway, when I run pip via
|
okay. i'll take a closer look at it this week. |
sorry about the delay. did you manage to find a solution to this issue? |
No, I have not found a solution yet. Have also not tried further because I am on vacation. 😃 |
Hei,
I'm using linuxserver tvheadend container as podman with Fedora Linux What is Podman
tvheadend is working fine. I wanted to add streamlink by following your guide Install as Docker installation
I end up with an permission error.
My puid and guid is for tvheadend container is 1000:
chown 1000:1000 custom-cont-init.d/
Streamlink is installing fine and running without any errors but testing with a Youtube livestream in tvheadend is ending with following error message:
I cannot figure out where the path "/config/.config/streamlink/config" is located.
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: