Dashboard not appearing for admin users
Steps to replicate:
-
Install latest (#bdd3b2) Ditto and Soapbox following https://docs.soapbox.pub/ditto/install
-
Add admin npub
deno task admin:role npub1p8e6smcz769yfj00lhf8u60mqqsqerc8p77wlc9m7qzfy2j0atfqurt3ex admin
A new release of Deno is available: 1.44.2 → 1.44.4 Run `deno upgrade` to install it.
Running migrations...
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
TLS connection failed with message: invalid peer certificate: UnknownIssuer
Defaulting to non-encrypted connection
Everything up-to-date.
(The TLS connection messages occurred on Ubuntu but not AlmaLinux)
- Verify the npub has been added
nak req humanrights.social/relay
connecting to humanrights.social/relay... ok.
{"kind":30382,"id":"4cac772d830b5edb4ed7a7d81c02489538092e37c4d41acccbec3f88db90a042","pubkey":"5ae1a32cc46c827cac76e782f6b06e60e0384a4b8a1ac830def696a4e5a63cd7","created_at":1719721526,"tags":[["d","09f3a86f02f68a44c9effdd27e69fb00200c8f070fbcefe0bbf004922a4fead2"],["n","admin"]],"content":"","sig":"91cbaf8b8e255d6f188a3c2f144ba9a200451e69ca94a9977970aae4d7de44393cea4cd8a7b7d37ae8de5afd7e507801307788fe70e3b62382f05dd222dc867d"}
- Login using nsec
No dashboard menu item
Forbidden
System(s) Ubuntu 24.04 AlmaLinux 9.4 PostgreSQL 16.3 nginx 1.24.0