Skip to content

log4cxx: No appender could be found for logger (BtCommon). Failed to create application support directories #48

@cleverlight

Description

@cleverlight

I followed this guide to install Davinci Resolve Studio on Ubuntu 24.04:
https://github.com/leinardi/JDInstaller/blob/davinci/roles/davinci_resolve/DaVinciResolve.md

When I try to run resolve, I get

$ /opt/davinci-resolve-studio/bin/resolve 
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.
Failed to create application support directories

If I sudo to run as root, it works properly. After running once as root, it then seems to run correctly as non-root.

$ /opt/davinci-resolve-studio/bin/resolve 
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
20.1.1.0007 Linux/Clang x86_64
Main thread starts: DDC9A000
0x7476ddc9a000 | Undefined            | INFO  | 2025-09-08 09:21:42,594 | --------------------------------------------------------------------------------
0x7476ddc9a000 | Undefined            | INFO  | 2025-09-08 09:21:42,594 | Loaded log config from /home/alex/.local/share/DaVinciResolve/configs/log-conf.xml
0x7476ddc9a000 | Undefined            | INFO  | 2025-09-08 09:21:42,594 | --------------------------------------------------------------------------------
Resolve communication is open and waiting..
Accepted new client
FusionScript Server [152110] Started
Host 'Resolve' [151722] Added
Host 'Resolve' Removed
FusionScript Server [152110] Terminated

I wonder if there's a missing permission somewhere, so when Davinci Resolve Studio launches for the first time, it can't create a necessary log directory (for log4cxx) unless it's run as root.

Also thanks for doing a great job on this Ansible playbook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions