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

Not able to install Mattermost through Yunohost (Error 500. Exit Status 128) #452

Open
BreathEater opened this issue Nov 7, 2023 · 2 comments

Comments

@BreathEater
Copy link

Describe the bug

Not able to install Mattermost through Yunohost (Error 500, Git exit Status 128)

Context

  • Hardware: Desktop PC
  • YunoHost version: 11.2.5
  • I have access to my server: Through SSH + through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
    • If yes, please explain:

Steps to reproduce

  • If you used the webadmin, please perform the equivalent command from the CLI first.
  • If the error occurs in your browser, explain what you did:
    1. *Go to Applications
    2. *Click on Install
    3. *Type Mattermost
    4. *Click Mattermost icon
    5. *Click install
    6. get the following Error:
      YunoHost encountered an internal error
      Really sorry about that.
      You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
      The following information might be useful for the person helping you:
      Error: "500"

Action: "POST" /yunohost/api/apps

Error message:
Could not fetch source files, is the URL correct?

While processing the action the server said:

Command '['git', 'ls-remote', '--symref', 'https://github.com/YunoHost-Apps/mattermost_ynh', 'HEAD']' returned non-zero exit status 128.

Expected behavior

*I would like to install Mattermost on my Yunohost server through the in-built Yunohost functionality

image

Logs

When an operation fails, YunoHost provides a simple way to share the logs.

  • In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.
  • In command line, the command to share the logs is displayed at the end of the operation and looks like yunohost log display [log name] --share. If you missed it, you can find the log ID of a previous operation using yunohost log list.

After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)

If applicable and useful, add screenshots to help explain your problem.

@kemenaran
Copy link
Collaborator

Hmm, looks like a transcient network error (not being able to reach the main branch on Github is probably an error not in the actual script, but somewhere else).

Did you retry recently? Is there maybe a firewall blocking your connections to github.com?

@BreathEater
Copy link
Author

BreathEater commented Nov 12, 2023

Hi! Thanks for the reply! ;)
Screenshot from 2023-11-12 17-34-36
I don't think there are any non standard firewall configurations here, at least I don't recall changing anything.

I retry it periodically and I still get pretty much the same response(sometimes I'm getting the one above, sometimes the one below, recently just the below one):
Screenshot from 2023-11-12 17-24-59

I managed to install it without any trouble about a month ago, but I ended up re-installing the OS on the server, so I lost all the data. Then, when I came back to try it again (I think about 2 weeks ago), that's what I'm getting.

I don't know if it's a coincidence or not, but Mattermost released an update at around the time I encountered the problem.

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