Skip to content

[Bug Report]: OpenCloud JWT Secret is not applying #4100

@ingui-n

Description

@ingui-n

App Name

OpenCloud

Version (TrueNAS Catalog App Version)

1.0.29

App Issue

JWT Secret set in OpenCloud Configuration -> JWT Secret is not applied in /etc/opencloud/opencloud.yaml so my OnlyOffice is not working. In the app configuration there are two fields labeled as JWT Secret but in the token_manager.jwt_secret over at /etc/opencloud/opencloud.yaml is set to some random string like cX7nFvYYZhb**mJHY0.HXg8&NpNW.ngr.

When I manually edit the token_manager.jwt_secret to be the secret I need the OnlyOffice starts working fine. It even survives app restarts.

App Logs

2026-01-17T23:15:21Z ERR failed to dismantle reva token manager | service=collaboration request-id= proto=HTTP/1.1 method=GET path=/wopi/files/31d1771fa3f39ac502aa0683e9e0087c5fcd037a265d2d3b62adc81b43421b24 WopiSessionId=2e04bdf3-b501-4f19-a0f8-da7510728a00 WopiOverride= WopiProof=SUvsZ97QRee4k3XiztnI2twWJrOXQeaNHeT1iOR48EHmO3bosunWjKTqiQt/KL6B/tcxBUhHin0IUK0usS7la3rYBvOlacJxrGjUyrTtR+/ZNQ1J2YuyOPnmfQ/5kHJjRlIoGhnkXaO1e2calRlUlLpQpSe4pCgFlTYAdzIe02HKYSpHeVMxwYHRbTsMJCbc4kwLN8IYUyZ3AgiFr6yx44apYxnxJTvE0UCQ0s7DZRawo13Kc/MQPLXP298A5HOhSWY/zfoRLDUr7kdEDBfoRZXTFhjoNhjNWE7sLPdJ4wK6ta1Erb1fpbVeyjwl/fASGvRzmu9tmxEOBjtGeYYeuA== WopiProofOld=SUvsZ97QRee4k3XiztnI2twWJrOXQeaNHeT1iOR48EHmO3bosunWjKTqiQt/KL6B/tcxBUhHin0IUK0usS7la3rYBvOlacJxrGjUyrTtR+/ZNQ1J2YuyOPnmfQ/5kHJjRlIoGhnkXaO1e2calRlUlLpQpSe4pCgFlTYAdzIe02HKYSpHeVMxwYHRbTsMJCbc4kwLN8IYUyZ3AgiFr6yx44apYxnxJTvE0UCQ0s7DZRawo13Kc/MQPLXP298A5HOhSWY/zfoRLDUr7kdEDBfoRZXTFhjoNhjNWE7sLPdJ4wK6ta1Erb1fpbVeyjwl/fASGvRzmu9tmxEOBjtGeYYeuA== WopiStamp=639042885218680000 error=error parsing token: token signature is invalid: signature is invalid line=github.com/opencloud-eu/opencloud/services/collaboration/pkg/middleware/wopicontext.go:125

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions