#7243·firejail

QOwnNotes: git notes backup fails with "command with arguments init failed"

Author: mYnDstrEAmCreated Sep 15, 2026Updated Sep 16, 2026
Labelsneedinfo

Description

When using QOwnNotes after turning the setting "Use git to keep a local history of your notes" on, I get this error message every once in a while:

Command failed! The command with arguments init failed!

Steps to Reproduce

Steps to reproduce the behavior

  1. Run in bash LC_ALL=C firejail /usr/bin/QOwnNotes (LC_ALL=C to get a consistent output in English that can be understood by everybody)
  2. Open Notes -> Settings -> Note folders and turn "Use git to keep a local history of your notes" on and click OK
  3. Wait and see the error messagebox

Expected behavior

It should work with the default QOwnNotes profile since this is a useful common feature of this app.

Actual behavior

It doesn't work and shows an error - see below for the console output.

Behavior without a profile

What changed calling LC_ALL=C firejail --noprofile /path/to/program in a terminal?

Additional context

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.12.95+deb13-amd64 x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Debian 13 stable
  • Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1, mesa 1:24.3.3-2"): 26.9.5
  • Version of Firejail (firejail --version): 0.9.74
  • If you use a development version of firejail, also the commit from which it was compiled (git rev-parse HEAD):

Checklist

  • I am using firejail 0.9.80 or later
  • I am using the full program path (e.g. firejail /usr/bin/vlc instead of firejail vlc; see https://github.com/netblue30/firejail/issues/2877)
  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of LC_ALL=C firejail /path/to/program

Private /usr/etc installed in ... ms
Warning: not remounting /run/user/1000/doc
Base filesystem installed in .... ms
Child process initialized in ... ms
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory)
Warning: doLinuxDarkModeCheck  - 'dbus-send' not found, doLinuxDarkModeCheck returned false (:0, )
Warning: "Unknown action actionWorkspaceComboBox" ((null):0, (null))
Warning: "Unknown action actionStore_as_new_workspace" ((null):0, (null))
Warning: "Unknown action actionRemove_current_workspace" ((null):0, (null))
Warning: "Unknown action actionRename_current_workspace" ((null):0, (null))
Warning: "Unknown action actionSwitch_to_previous_workspace" ((null):0, (null))
Warning: "Command '' (" QList("init") ) failed ((null):0, (null))

Output of LC_ALL=C firejail --debug /path/to/program

output goes here