Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.
echo6ix edited this page Jan 30, 2019 · 31 revisions

StashServer is a web application (Mac / Linux at the moment) that helps you view and organize your "stash" from any device on your network via your favorite web browser. Stashserver will store information about your collection in a database which will allow you to instantly search, filter, and sort your videos and pictures.

Current Features

  • Instantly view and search for any video or image in your collection.
  • Rate, tag, filter, and sort your videos and zipped images.
  • Upload images and descriptions of your favorite performers and studios. Associate those performers and studios with your media in your collection.
  • Video snapshots and previews of your videos when hovering over a scene
  • Scrubbing across a video presents a video preview of your current location in the video (VTT)
  • Awesome SceneWall that creates a video wall with previews of your movies constantly playing.
  • Data portability. Export the information in StashServer to JSON format which can be imported into other applications.
  • Use markers and tags in a video to note interesting events in a scene. 🆕
  • Scan for new files in your collection and generate previews all within StashServer. 🆕

⚠️ Stash is still very early in its development. You should expect things to be a bit rough around the edges and occasionally break. That said, StashServer is very usable if you're a bit handy with the command line. If you have suggestions for any features please submit them in the Issues area.

Installation

Docker Install - Simplest (tested on Mac / Linux)

Source Install - Early Adopters. Get the latest features and fixes.

Misc

How to delete a performer

StashFrontEnd is currently lacking many basics options, such as deleting a performer. To delete a performer run the following commands in a terminal where id is the number in the StashFrontend URL http://stashfrontend ip:8080/performers/id

rails c

Performer.find(id).destroy

How to access a Stash virtual machine guest from host

VirtualBox

File menu > Settings > Network > NAT > Set up port forwarding rules for the following ports:

  • Rule: Host port 3000, guest port 3000, "puma"
  • Rule: Host port 4000, guest port 4000, "ngnix reverse proxy"
  • Rule: Host port 4001, guest port 4001, "https"
  • Rule: Host port 8008, guest port 8008, "ngnix"

Be sure Puma is started on the default port 3000. Access Stash in browser from host machine by going to http://127.0.0.1:8008

Troubleshooting

After upgrading your OS, and you try to run rails s or puma -t 8:32 you get an error that states something like:

/usr/bin/ruby1.9.1: No such file or directory - /usr/share/rubygems-integration/1.9.1/gems/bundler-1.3.5/bin/bundle (LoadError)

To fix this, reinstall the bundler as root sudo gem install bundle

After an OS upgrade you might also see an error which looks something like

/some/ruby/gem/rubyscript.rm:21 in 'require': cannot load such file -- 'nokogiri/....

You'll need to reinstall the gem it's complaining about gem install nokogiri in this place. You may need to run the command as root depending on what gem you're installing.

StashFrontend reports 0 Scenes, 0 Galleries, 0 Performers, etc. (Puma is listening on 0.0.0.0)

This happens when Puma is listening on 0.0.0.0. To correct close the current instance of rails and run using rails s -b your_ip_here or rails s -b 127.0.0.1

Clone this wiki locally