1

After installation of 4.6.3 went fine I did some testing and see the below error in logs. I assume this is coming from calling /admin/development/info to fetch the git branch? And I assume it is safe to add the exception as recommended? Thanks Stefan

2025-11-24T17:09:59.179Z [4567/225367] - error: Error: Command failed: git rev-parse --abbrev-ref HEAD
fatal: detected dubious ownership in repository at '/opt/nodebb'
To add an exception for this directory, call:

        git config --global --add safe.directory /opt/nodebb

    at genericNodeError (node:internal/errors:985:15)
    at wrappedFn (node:internal/errors:539:14)
    at ChildProcess.exithandler (node:child_process:417:12)
    at ChildProcess.emit (node:events:508:28)
    at maybeClose (node:internal/child_process:1101:16)
    at Socket. (node:internal/child_process:457:11)
    at Socket.emit (node:events:508:28)
    at Pipe. (node:net:346:12)
top 3 comments
sorted by: hot top controversial new old
[-] baris@community.nodebb.org 1 points 6 months ago

Does the user running nodebb own the /opt/nodebb folder?

[-] big_steve@community.nodebb.org 1 points 6 months ago

No, the process was started in that case by root, /opt/nodebb is owned by user nodebb I assume I need to start under user nodebb?

this post was submitted on 24 Nov 2025
1 points (100.0% liked)

General Discussion

0 readers
2 users here now

A place to talk about whatever you want

founded 1 year ago