2024-11-14 13:27:50 +02:00

4.1 KiB

title, icon
title icon
Unraid simple/unraid

!!! info Unraid app is maintained by a 3rd party. For Unraid specific support you can go to support thread{:target="_blank"} by CorneliousJD.

!!! note For users that want to try the development branch of Stash you can change the repository to stashapp/stash:development.

Install

  1. Open Unraid and go to the Apps tab.
  2. Enable apps (if disabled) and search for Stash.
  • You can modify paths to your preference.
  1. Go to Docker tab and enable autostart for Stash.

Optional NVIDIA runtime

!!! info binarygeek119/stash-cuda:latest repository is not maintained by Stash core team.

  1. First off you need the unraid Nvidia plugin for this to work. On Unraid go to apps and do a search for nvidia driver and install, this will take some time to install. When the dialog is done it is still installing in the background. When it has finshed you will get a popup saying it is safe to reboot now.

    !!! warning Do not restart Unraid server until the plugin is done installing itself!

  2. After getting the popup, reboot your server. After it back online you may continue to the next steps.

  3. To begin modifing start by going into edit mode by right click on stash icon on Unraid dashboard or in Docker tab.

  4. In edit mode go to the top and click on basic view to switch to advaced view.

{ width=300 align=center } { width=300 align=center }

Container configuration

Now we can change some thing to have Stash work with a Nvidia GPU.

  1. Under Repository change the default Repository from stashapp/stash:development to binarygeek119/stash-cuda:latest.
    { width=300 align=center } { width=300 align=center }
  2. Add the following under Extra Parameters: --runtime=nvidia.
    { width=300 align=center } { width=300 align=center }
  3. Go down to the bottom of the page and click on Add another Path, Port, Variable, Label or Device.
    { width=600 align=center }
  4. Change path to Variable and add the following:
    • Name: enter NVIDIA_DRIVER_CAPABILITIES
    • Key: enter NVIDIA_DRIVER_CAPABILITIES
    • Value: enter all
      and click save.
      { width=200 align=center } { width=200 align=center } { width=200 align=center }
  5. Go down to the bottom of the page and click on Add another Path, Port, Variable, Label or Device.
    { width=600 align=center }
  6. Change path to Variable and add the following:
    • Name: enter NVIDIA_VISIBLE_DEVICES
    • Key: enter NVIDIA_VISIBLE_DEVICES
    • Value: enter GPU-xxxx-xxxx-xxx-xxxx-xxxx-xxx-xxxxxxxxxxxx { width=200 align=center } { width=200 align=center } { width=200 align=center }

Locating GPUID

Where GPU-xxxx-xxxx-xxx-xxxx-xxxx-xxx-xxxxxxxxxxxx you must enter your own GPUID. To find it do the folowing:

  • On a new Unraid page click on settings.
  • Go down to the bottom and click Nvidia Driver plugin.
  • Copy the key and paste it under Variable called Value.

{ width=600 align=center }

  1. Click on save.
  2. Now click on apply and let the Docker download the new Nvidia version of Stash.
  3. Enjoy and use as before.