Nextcloud-secrets API nor CLI working

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

  • Nextcloud Server version (e.g., 29.x.x):
    • 33.0.6
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 26.04
  • PHP version (e.g, 8.3):
    • 8.5
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • straight after installation

Summary of the issue you are facing:

nextcloud-secrets is working fine via GUI.

when I try to use nc-secrets CLI tool the following Error comes up:

============================================================
Bun v1.3.13 (bf2e2cec) Linux x64
Linux Kernel v6.8.0 | glibc v2.39
CPU: sse42 popcnt avx
Args: “nc-secrets”
Features: jsc no_avx2 standalone_executable
Builtins: “bun:main”
Elapsed: 12022ms | User: 8734ms | Sys: 3294ms
RSS: 4.81GB | Peak: 4.03GB | Commit: 4.81GB | Faults: 1 | Machine: 8.33GB

panic(main thread): Segmentation fault at address 0x47258000000
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun’s team,
please file a GitHub issue using the link below:

Illegal instruction (core dumped)

Trying to access the API using Postman results in:

https://NEXTCLOUD_URL/ocs/v2.php/apps/secrets/api/v1/version with basic auth.

<?xml version="1.0"?> failure 998 Invalid query, please check the syntax. API specifications are here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services.

Steps to replicate it (hint: details matter!):

  1. use cli tool

  2. use API

No Log entries, not for CLI nor for API.

Any hints how to get the CLI or GUI running?

cheers

.h