Unraid
Table of Contents
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
- Open Unraid and go to the
Apps
tab. - Enable apps (if disabled) and search for
Stash
.- You can modify paths to your preference.
- Go to Docker tab and enable autostart for
Stash
.
Optional Nvidia Runtime
binarygeek119/stash-cuda:latest
repository is not maintained by Stash core team.
- 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!
- After getting the popup, reboot your server. After it back online you may continue to the next steps.
- To begin modifing start by going into edit mode by right click on stash icon on Unraid dashboard or in Docker tab.
- 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.
- Under Repository change the default Repository from
stashapp/stash:development
tobinarygeek119/stash-cuda:latest
.
- Add the following under Extra Parameters:
--runtime=nvidia
.
- Go down to the bottom of the page and click on
Add another Path, Port, Variable, Label or Device
.
- Change
path
toVariable
and add the following:
Name:
enter NVIDIA_DRIVER_CAPABILITIES
Key:
enter NVIDIA_DRIVER_CAPABILITIES
Value:
enter all
and click save.
- Go down to the bottom of the page and click on
Add another Path, Port, Variable, Label or Device
.
- Change
path
toVariable
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
calledValue
.
- Click on save.
- Now click on apply and let the Docker download the new Nvidia version of Stash.
- Enjoy and use as before.