Skip to content

Stash #2112

Closed
Closed

Description

@MickLesk

Name of the Script

Stash

Script Type

CT (LXC Container)

Does this script support arm64?

arm64 supported

📋 Script Details

Stash organizes adult media collections: scans the library, then enriches it with performers, studios, tags and scene metadata from stash-box instances (StashDB and friends) and community scrapers. Complements the existing whisparr-eros script, which handles acquisition rather than organization.

  • Stack: single Go binary, singlefile mode (stash-linux / stash-linux-arm64v8), plus setup_ffmpeg so Stash uses the system ffmpeg instead of downloading its own. Runs on :9999.
  • Config: STASH_CONFIG_FILE=/opt/stash_data/config.yml — Stash reads that env var and creates the file through its first-run setup wizard, which is also where username/password are set.
  • Persistence: /opt/stash_data (config, SQLite DB, generated previews) — outside the app dir.
  • Note: media is not stored in the container; the library has to be bind-mounted into the LXC and the scan paths pointed at the mount.

Source: https://github.com/stashapp/stash

Activity

  1. github-actions commented on Aug 3, 2026

    @github-actions
    Contributor

    The Stash script is ready for testing:

    bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/stash.sh)"
    

    On first start Stash runs a setup wizard at http://:9999 where you pick your media directories and optionally set a username and password.
    Configuration, database and generated content live in /opt/stash_data, outside the app directory, so they survive updates. Include this directory in your backups.
    Media files are not stored in the container. Mount your library into the LXC (for example via a Proxmox bind mount) and point the Stash scan directories at the mount path.

    Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.

    Discord testing thread: https://discord.com/channels/1302816934508630047/1533799106823061544

  2. brewing8309 commented on Aug 10, 2026

    @brewing8309

    Hi,

    basic installation and usage is working fine so far. I have one error and one Feature-Request.

    My error is, that hardware transcoding is not working. My VAAPI devices gets detected with h264_vaapi support. But the ffmpeg command is always created with the libx264 software encoder. Hardware transcoding is enabled and left with default settings.

    026-08-10 14:15:43Info    [InitHWSupport] Supported HW codecs [1]: H264 VAAPI - h264_vaapi
    
    /usr/bin/ffmpeg -hide_banner -v error -i /media/BF-stshpp/movie.mp4 -c:v libx264 -pix_fmt yuv420p -preset veryfast -crf 25 -sc_threshold 0 -movflags frag_keyframe+empty_moov -vf scale=-2:720 -ac 2 -f mp4 pip
    

    my feature request is, to implement https://pypi.org/project/stashapi/ into the script. This is needed for some plugins like "Restash"

    2026-08-10 14:09:26 Error   Plugin returned error: exit status 1
    2026-08-10 14:09:26 Debug   Plugin Restash finished
    2026-08-10 14:09:26 Error   [Plugin / Restash] ModuleNotFoundError: No module named 'stashapi'
    2026-08-10 14:09:26 Error   [Plugin / Restash]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2026-08-10 14:09:26 Error   [Plugin / Restash]     from stashapi.stashapp import StashInterface  # noqa: provided by stashapp-tools
    2026-08-10 14:09:26 Error   [Plugin / Restash]   File "/opt/stash_data/plugins/restash/restash/stash_io.py", line 4, in <module>
    2026-08-10 14:09:26 Error   [Plugin / Restash]     import stash_io
    2026-08-10 14:09:26 Error   [Plugin / Restash]   File "/opt/stash_data/plugins/restash/restash/ratings_backup.py", line 7, in <module>
    2026-08-10 14:09:26 Error   [Plugin / Restash]     import ratings_backup
    2026-08-10 14:09:26 Error   [Plugin / Restash]   File "/opt/stash_data/plugins/restash/restash/restash.py", line 9, in <module>
    2026-08-10 14:09:26 Error   [Plugin / Restash] Traceback (most recent call last):
    2026-08-10 14:09:25 Debug   Plugin Restash started: /usr/bin/python3 /opt/stash_data/plugins/restash/restash/restash.py
    

    Thanks!

  3. obligate2068 commented on Aug 23, 2026

    @obligate2068

    Works great so far. Was able to migrate over the database from an existing install

  4. Simpuhl commented on Aug 31, 2026

    @Simpuhl

    So far so good, no issues. If you have any specific questions, feel free to reach out.

  5. github-actions commented on Sep 8, 2026

    @github-actions
    Contributor

    A PR has been created for stash: community-scripts/ProxmoxVE#17106

  6. MickLesk commented on Sep 8, 2026

    @MickLesk
    MemberAuthor

    Merged with #17106 in ProxmoxVE

  7. brewing8309 commented on Oct 12, 2026

    @brewing8309

    How do I switch to the productive one? update command is not working anymore.

    Image
  8. MickLesk commented on Oct 12, 2026

    @MickLesk
    MemberAuthor

    Create new one. This is Just an Testing build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions