Issues getting started - missing RegisteredUsers

SOLVED: From the log
sudo -u orthanc /usr/sbin/Orthanc --verbose /etc/orthanc/ > something.log 2>&1
I could see that “The configuration section “RegsteredUsers” is defined in 2 different configuration files” → The registered users was only supposed to be defined there, and not in the orthanc.json

Ubuntu 22.04.3
Installed Orthanc and its plugins followed by sudo service orthanc start

  1. Not a problem:
    Opened orthanc.json under /etc/orthanc and set
    “RemoteAccessAllowed” : true,
    followed by sudo service orthanc restart
    I could then reach the server from another computer and the host itself with the default username & password (orthanc/orthanc)

  2. Strange, but not a problem:
    Explicitly setting
    “AuthenticationEnabled”: true,
    with
    “RemoteAccessAllowed” : false,
    does not allow access by the host’s localhost:8042/app/explorer.html (?). I can however see the prompt for login details.

  3. The problem:
    These rows are not present in my orthanc.json
    // The list of the registered users. Because Orthanc uses HTTP
    // Basic Authentication, the passwords are stored as plain text.
    “RegisteredUsers” : {
    “alice” : “alicePassword”
    },
    I cannot reach the server when I add these lines. In fact, Orthanc is no longer listed by sudo ss --tcp --listen --numeric --processes

They were present in this guys orthanc.json

And they’re found in the default Configuration.json file

But I have no such file, and adding it to /etc/orthanc results in that the server is down even if I try to repeat (1)

Any suggestions on how to add users and passwords are appreciated!

For me, I noticed the windows version of Orthanc stores it all in the orthanc.json however the Debian/Ubuntu builds keep RegisterUsers in the credentials.json file.