[LocalVisage] Mising dependancies on Docker installation
I'm getting this error:
5-11-08 17:57:29Error Plugin returned error: exit status 1 2025-11-08 17:57:29Error [Plugin / Local Visage] Exception: PythonDepManager: ❌ git is required but not available 2025-11-08 17:57:29Error [Plugin / Local Visage] raise Exception(s) 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/log.py", line 30, in throw 2025-11-08 17:57:29Error [Plugin / Local Visage] log.throw(f"PythonDepManager: ❌ {name} is required but not available") 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 84, in check_system_requirements 2025-11-08 17:57:29Error [Plugin / Local Visage] check_system_requirements() 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 407, in process_packages 2025-11-08 17:57:29Error [Plugin / Local Visage] ^^^^^^^^^^^^^^^^^^^^^^ 2025-11-08 17:57:29Error [Plugin / Local Visage] packages, base_folder = process_packages(deps) 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 532, in ensure_import 2025-11-08 17:57:29Error [Plugin / Local Visage] ensure_import("stashapi:stashapp-tools>=0.2.58") 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/root/.stash/plugins/community/LocalVisage/LocalVisage.py", line 12, in <module> 2025-11-08 17:57:29Error [Plugin / Local Visage] Traceback (most recent call last): 2025-11-08 17:57:29Error [Plugin / Local Visage] During handling of the above exception, another exception occurred: 2025-11-08 17:57:29Error [Plugin / Local Visage] FileNotFoundError: [Errno 2] No such file or directory: 'git' 2025-11-08 17:57:29Error [Plugin / Local Visage] raise child_exception_type(errno_num, err_msg, err_filename) 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child 2025-11-08 17:57:29Error [Plugin / Local Visage] self._execute_child(args, executable, preexec_fn, close_fds, 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__ 2025-11-08 17:57:29Error [Plugin / Local Visage] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-11-08 17:57:29Error [Plugin / Local Visage] with Popen(*popenargs, **kwargs) as process: 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/usr/lib/python3.12/subprocess.py", line 548, in run 2025-11-08 17:57:29Error [Plugin / Local Visage] subprocess.run( 2025-11-08 17:57:29Error [Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 80, in check_system_requirements 2025-11-08 17:57:29Error [Plugin / Local Visage] Traceback (most recent call last): 2025-11-08 17:57:29Error [Plugin / Local Visage] PythonDepManager: ❌ git is required but not available
I am not very proficient at this. What do I do to fix this?
Hello First line "git is required but not available" You need to install git.
What does that mean? There is no documentation anywhere.
https://github.com/git-guides/install-git
Thanks, but that still doesn't make it clear. Do I use the commands for Ubuntu or Fedora? Do I run this in the terminal or Unraid or the terminal of the docker container? I tried in both and I got an error that the command was not found.
Stash container uses alpine as base os.
You can install git using apk add git inside the docker container:
docker exec <container_name> apk add git
Thanks that worked. I'm now getting this error:
2025-11-12 14:37:59Error Plugin returned error: exit status 1 2025-11-12 14:37:59Error [Plugin / Local Visage] Go to https://www.python.org/downloads/release/python-31011/ 2025-11-12 14:37:59Error [Plugin / Local Visage] Current version: 3.12.12 (main, Oct 11 2025, 15:09:54) [GCC 14.2.0] 2025-11-12 14:37:59Error [Plugin / Local Visage] Error: Python version must be >= 3.10.X (recommanded 3.10.11) for the first installation of the plugin. Once installed you can change back your python version in stash as this plugin will run within its own venv
How do I address this? And is it really necessary? How big can the changes be between 3.10 and 3.12?
I think it has something to do with the dependencies. I have built a working docker image to use the plugin without issues inside a docker environment, see #629