Skip to content

Unraid

Info

Unraid app is maintained by a 3rd party. For Unraid specific support you can go to support thread 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.
  3. You can modify paths to your preference.
  4. 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.

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.
  2. Add the following under Extra Parameters: --runtime=nvidia.
  3. Go down to the bottom of the page and click on Add another Path, Port, Variable, Label or Device.
  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.
  5. Go down to the bottom of the page and click on Add another Path, Port, Variable, Label or Device.
  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

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.

  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.