-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is there an existing issue for this?
- I checked and did not find my issue in the already reported ones
Describe the bug
I tried migrating from an apt-based darktable installation to a snap-based installation on Ubuntu 25.10. After installing darktable, I also wanted to reinstall the lua scripts from the darktable lua-scripts repository. After pressing the "execute" button of the "lua scripts installer" module with the "install scripts" action, the following Lua logs are printed with enabled log debug messages:
LUA [script installer] running installer
LUA [script installer] setting script installer remind and dont_show to false
LUA [script installer] checking for git
LUA [script installer] with command which git
LUA [script installer] got a match
LUA [script installer] git bin is /snap/darktable/394/usr/bin/git
LUA [script installer] require string is 'require "tools/script_manager"'
LUA [script installer] backuping up luarc file (if it exists)
LUA [script installer] lua scripts installing...
LUA [script installer] cmd input to os_execute is /snap/darktable/394/usr/bin/git clone https://github.com/darktable-org/lua-scripts.git /home/codecrusher64/snap/darktable/394/lua
LUA [script installer] command to os.execute is /snap/darktable/394/usr/bin/git clone https://github.com/darktable-org/lua-scripts.git /home/codecrusher64/snap/darktable/394/lua
Cloning into '/home/codecrusher64/snap/darktable/394/lua'...
git: 'remote-https' is not a git command. See 'git --help'.
LUA [script installer] command success: nil message: exit return code: 128
LUA [script installer] unable to clone lua-scripts. See above messages for possible error
It seems to be a problem resulting from darktable running as a snap. Executing the command /snap/darktable/394/usr/bin/git clone ... on the command line is apparently working fine.
Can anyone confirm this error, or is it only a problem on my system? I'm not particularly familiar with snaps.
Steps to reproduce
- Install darktable from snap store
- Clean the configuration directory if it is not already clean
- Start darktable with option
-d lua - Enable "lua scripts installer log messages" in the Lua options
- Try to install Lua scripts as described above
Expected behavior
Command /snap/darktable/394/usr/bin/git clone ... should not return with an error code.
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
distro packaging
darktable version
5.4.0
What OS are you using?
Linux
What is the version of your OS?
Ubuntu 25.10
Describe your system
No response
Are you using OpenCL GPU in darktable?
None
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response