Unraid

Table of Contents
  1. Install
  2. Optional Nvidia Runtime
    1. Container configuration
      1. Locating GPUID

Unraid app is maintained by a 3rd party. For Unraid specific support you can go to support thread by CorneliousJD.

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.
  3. Go to Docker tab and enable autostart for Stash.

Optional Nvidia Runtime

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.

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

  1. After getting the popup, reboot your server. After it back online you may continue to the next steps.
  1. To begin modifing start by going into edit mode by right click on stash icon on Unraid dashboard or in Docker tab.
  1. 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.

  1. Add the following under Extra Parameters: --runtime=nvidia.

  1. Go down to the bottom of the page and click on Add another Path, Port, Variable, Label or Device.

  1. Change path to Variable and add the following:

Name: enter NVIDIA_DRIVER_CAPABILITIES
Key: enter NVIDIA_DRIVER_CAPABILITIES
Value: enter all

and click save.

  1. Go down to the bottom of the page and click on Add another Path, Port, Variable, Label or Device.

  1. 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.
  1. Now click on apply and let the Docker download the new Nvidia version of Stash.
  1. Enjoy and use as before.