Skip to content

[Python Tools Installer] Unable to install plugin on docker instance #709

@holrak

Description

@holrak

Hello,
trying to app through docker container, but I am totally unable to use any plugin.

PythonToolInstaller gives this error log:
26-05-04 17:33:04
Error
Plugin returned error: exit status 1
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] FileNotFoundError: [Errno 2] No such file or directory: '/root/.stash/plugins/community/PythonToolsInstaller/venv/lib/python3.13/site-packages'
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] ^^^^^^^^^^^^^^^
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] with os.scandir(src) as itr:
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] File "/usr/lib/python3.12/shutil.py", line 598, in copytree
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] destination = shutil.copytree(src, org_packagedir,ignore_func,None,shutil.copy2,False,True)
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] File "/root/.stash/plugins/community/PythonToolsInstaller/PythonToolsInstaller.py", line 55, in get_download_py_stashapp_tools
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] get_download_py_stashapp_tools(PLUGIN_DIR)
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] File "/root/.stash/plugins/community/PythonToolsInstaller/PythonToolsInstaller.py", line 38, in run
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] run(input, output)
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] File "/root/.stash/plugins/community/PythonToolsInstaller/PythonToolsInstaller.py", line 15, in main
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] main()
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] Traceback (most recent call last):
2026-05-04 17:33:04
Error
[Plugin / Python Tools Installer] File "/root/.stash/plugins/community/PythonToolsInstaller/PythonToolsInstaller.py", line 63, in

LocalVisage error logs:

26-05-04 17:28:28
Error
Plugin returned error: exit status 1
2026-05-04 17:28:28
Error
[Plugin / Local Visage] Exception: PythonDepManager: ❌ git is required but not available
2026-05-04 17:28:28
Error
[Plugin / Local Visage] raise Exception(s)
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/log.py", line 30, in throw
2026-05-04 17:28:28
Error
[Plugin / Local Visage] log.throw(f"PythonDepManager: ❌ {name} is required but not available")
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 84, in check_system_requirements
2026-05-04 17:28:28
Error
[Plugin / Local Visage] check_system_requirements()
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 407, in process_packages
2026-05-04 17:28:28
Error
[Plugin / Local Visage] ^^^^^^^^^^^^^^^^^^^^^^
2026-05-04 17:28:28
Error
[Plugin / Local Visage] packages, base_folder = process_packages(deps)
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 532, in ensure_import
2026-05-04 17:28:28
Error
[Plugin / Local Visage] ensure_import("stashapi:stashapp-tools>=0.2.58")
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/root/.stash/plugins/community/LocalVisage/LocalVisage.py", line 12, in
2026-05-04 17:28:28
Error
[Plugin / Local Visage] Traceback (most recent call last):
2026-05-04 17:28:28
Error
[Plugin / Local Visage] During handling of the above exception, another exception occurred:
2026-05-04 17:28:28
Error
[Plugin / Local Visage] FileNotFoundError: [Errno 2] No such file or directory: 'git'
2026-05-04 17:28:28
Error
[Plugin / Local Visage] raise child_exception_type(errno_num, err_msg, err_filename)
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
2026-05-04 17:28:28
Error
[Plugin / Local Visage] self._execute_child(args, executable, preexec_fn, close_fds,
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/usr/lib/python3.12/subprocess.py", line 1026, in init
2026-05-04 17:28:28
Error
[Plugin / Local Visage] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-05-04 17:28:28
Error
[Plugin / Local Visage] with Popen(*popenargs, **kwargs) as process:
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/usr/lib/python3.12/subprocess.py", line 548, in run
2026-05-04 17:28:28
Error
[Plugin / Local Visage] subprocess.run(
2026-05-04 17:28:28
Error
[Plugin / Local Visage] File "/root/.stash/plugins/community/PythonDepManager/deps.py", line 80, in check_system_requirements
2026-05-04 17:28:28
Error
[Plugin / Local Visage] Traceback (most recent call last):
2026-05-04 17:28:28
Error
[Plugin / Local Visage] PythonDepManager: ❌ git is required but not available

Already tried other plugin with the similar results.
Perhaps there is something wrong in the docker compose file?
I'm not a programmer, but let me know I could help with this issue.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions