Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matterhorn: Maybe.fromJust: Nothing #746

Closed
mirabilos opened this issue Nov 26, 2021 · 16 comments
Closed

matterhorn: Maybe.fromJust: Nothing #746

mirabilos opened this issue Nov 26, 2021 · 16 comments

Comments

@mirabilos
Copy link

My experience so far (first start) has been underwhelming…

What I did so far:

  • download the latest binary release
  • extract it somewhere
  • symlink the binary to ~/.etc/bin/ so it’s in $PATH
  • create ~/.config/matterhorn/config.ini
  • start it

I got a full-screen message “Connecting to mattermost.XXX.net...” then:

matterhorn: Maybe.fromJust: Nothing

And, well, nothing. Back to the shell.

@mirabilos
Copy link
Author

$ matterhorn --check-config
Configuration file valid
Location: /home/XXX/.config/matterhorn/config.ini

@jtdaugherty
Copy link
Member

jtdaugherty commented Nov 26, 2021 via email

@jtdaugherty
Copy link
Member

Also, since it might matter - what version of Mattermost is your server running?

@mirabilos
Copy link
Author

mirabilos commented Nov 26, 2021 via email

@jtdaugherty
Copy link
Member

Would you be willing to try running matterhorn logging enabled and attach the log file here?

$ cd matterhorn
$ ./run.sh -l log.txt

As for the server version, the latest release of Matterhorn should work with server version 6, which is why we don't have a version 6 of Matterhorn yet. (But this could turn out to be an undiscovered compatibility issue; we'll see.)

@jtdaugherty
Copy link
Member

I have another question: what's your value of TERM?

@mirabilos
Copy link
Author

mirabilos commented Nov 26, 2021 via email

1 similar comment
@mirabilos
Copy link
Author

mirabilos commented Nov 26, 2021 via email

@jtdaugherty
Copy link
Member

I’d need to anonymise a few things, if that’s okay…

Feel free!

There’s no run.sh, just a huge fat “matterhorn” binary.

In that case, matterhorn -l log.txt will work.

“screen” (GNU screen running in xterm)

Out of curiosity, do you see the crash behavior if you run matterhorn outside of screen?

@mirabilos
Copy link
Author

mirabilos commented Nov 29, 2021 via email

@jtdaugherty
Copy link
Member

Thanks for the log. On the server that you're trying this with, are you a member of a channel called town-square? (This name would be visible in the channel's URL in the browser even if its display name had been changed to something else.)

@mirabilos
Copy link
Author

mirabilos commented Nov 29, 2021 via email

@jtdaugherty
Copy link
Member

Thanks, that helps. Until this report I had not heard of Guest Accounts at all. After doing some research and talking to the server developers, we will need to do a bit of work to make sure that those work well in Matterhorn. For now, I'm sorry to say that they are not supported and I recommend you use one of the official Mattermost clients instead. I'm going to close this in lieu of #747. Thank you for reporting this and for answering my questions!

@mirabilos
Copy link
Author

mirabilos commented Nov 29, 2021 via email

@jtdaugherty
Copy link
Member

There is the official web client as well as clients for Android and iOS.

@mirabilos
Copy link
Author

mirabilos commented Nov 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants