bug: Revolt fails to display login page #93

Closed
opened 2026-02-16 12:51:25 -05:00 by yindo · 3 comments
Owner

Originally created by @channouze on GitHub (Mar 10, 2025).

What happened?

Right after starting the docker container, and opening up the webpage:

TypeError: Cannot read properties of undefined (reading 'invite_only')
    at https://revolt.redacteddomain.tld/assets/Login.c46a8a30.js:1:12505
    at https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:51427
    at https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:50450
    at trackDerivedFunction$1 (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:114:20016)
    at er.track (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:114:26622)
    at useObserver (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:50426)
    at _$6.ar [as constructor] (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:51397)
    at _$6.O$4 [as render] (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:1:10247)
    at j$6 (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:1:7692)
    at w$8 (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:1:3462)

On Debian 12
Set the invite_only option to true
Set the smtp credentials
Added an invite token in mongosh
Revolt behind reverse proxy

Originally created by @channouze on GitHub (Mar 10, 2025). ### What happened? Right after starting the docker container, and opening up the webpage: ``` TypeError: Cannot read properties of undefined (reading 'invite_only') at https://revolt.redacteddomain.tld/assets/Login.c46a8a30.js:1:12505 at https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:51427 at https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:50450 at trackDerivedFunction$1 (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:114:20016) at er.track (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:114:26622) at useObserver (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:50426) at _$6.ar [as constructor] (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:134:51397) at _$6.O$4 [as render] (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:1:10247) at j$6 (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:1:7692) at w$8 (https://revolt.redacteddomain.tld/assets/main.08ce25a6.js:1:3462) ``` On Debian 12 Set the invite_only option to true Set the smtp credentials Added an invite token in mongosh Revolt behind reverse proxy
yindo added the bug label 2026-02-16 12:51:25 -05:00
yindo closed this issue 2026-02-16 12:51:25 -05:00
Author
Owner

@channouze commented on GitHub (Mar 10, 2025):

user error, sorry!

@channouze commented on GitHub (Mar 10, 2025): user error, sorry!
Author
Owner

@DeastinY commented on GitHub (Mar 11, 2025):

care to elaborate?

@DeastinY commented on GitHub (Mar 11, 2025): care to elaborate?
Author
Owner

@channouze commented on GitHub (Mar 12, 2025):

REVOLT_PUBLIC_URL in .env.web had a trailing /api left. Removing it fixed the login page.

@channouze commented on GitHub (Mar 12, 2025): REVOLT_PUBLIC_URL in .env.web had a trailing /api left. Removing it fixed the login page.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#93