Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
I followed this guide and seemed to get it working.
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
However jellyfin transcoding sttill doesn't work. I have tried adding the "nvidia devices= all" environment variable, it still didn't work.
I tried using the docker conpose from here
https://jellyfin.org/docs/general/administration/hardware-acceleration/nvidia/#configure-with-linux-virtualization
But when I try and run this command: "docker exec -it jellyfin ldconfig sudo systemctl restart docker"
It says the container is restarting and to try again when the container has started.
I had the same issue a few weeks ago. Try this in your docker compose
This is what thay compose looks like now:
Edit: when I try and compose up it says "yaml: lin 30 mapping values are not allowed in this context" when I remove line 30 and 31 the output is "validating /DATA/AppData/jellyfin/docker-compose.yml: services.jellyfin.deploy.resources.reservations.devices.1 must be a mapping"
I have no guidance on your issue but just to make sure, this is two commands and not one:
Do you get the restarting message with just the first command?
I ran it as two commands instead of one before and still got that error message.
However, I tried again with a different jellyfin image and the command seems to have ran fine.
'docker exec -it jellyfin nvidia-smi'
I tried this and it says:
OCI runtime exec failed: unable to start container process: exec: "nvidia-smi": executable file not found im $PATH: unknown
Sure seems like you're either sourcing these images wrong, or they're missing something. The docs themselves even reference this command as it's a good way to test the container is linked to the host hardware properly.
Maybe try starting a shell and finding if that executable exists in the image.