YunoHost-Apps / mattermost_ynh

Mattermost package for YunoHost
http://www.mattermost.org
GNU General Public License v3.0
33 stars 19 forks source link

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

Open BreathEater opened 7 months ago

BreathEater commented 7 months ago

Describe the bug

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

Context

Steps to reproduce

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.

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 commented 7 months ago

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 commented 7 months ago

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.