# Gogs not available for Odroid C2?

**URL:** https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629
**Category:** Troubleshooting
**Created:** [16 November 2020 23:29 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629 "2020-11-16T23:29:30Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![MadKernel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@MadKernel](https://dietpi.com/forum/u/MadKernel)
#### Post date: [16 November 2020 23:29 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/1 "2020-11-16T23:29:30Z")

</div>

Hi,

I intended to install Gogs on my Odroid C2, but it is not listed in the available software list and I have found one post suggesting it might not be available for this specific board.

Is that so?

If so, why? and dhould I be able to install it in my own or the C2 is fundamentally incompatible with Gogs for some reason?

My interest in Gogs is that I am looking for the lightest Git alternative that I could find, and I´m under the impression that it is much lighter than Gitea.

Any insights will be appreciated.

Thank you.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [16 November 2020 23:45 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/2 "2020-11-16T23:45:11Z")

</div>

Hi,

you could run following to check if a software title is available or blocked for your device

```nohighlight
dietpi-software list | grep gogs

```

Of course you are free to install it manually yourself.

---

<div class="post-metadata">

### Author: ![MadKernel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@MadKernel](https://dietpi.com/forum/u/MadKernel)
#### Post date: [17 November 2020 00:02 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/3 "2020-11-17T00:02:51Z")

</div>

Hi,

ok, that outputs …

> gogs: personal github server with web interface | +git +mariadb disabled for aarch64 | \> [https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/66](https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/66)

…which confirms it is not available for this specific arch.

I’m curious as to why though, so I can asses if it is something I can eventually resolve or it is plain impossible with this board.

Thanks.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [17 November 2020 00:18 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/4 "2020-11-17T00:18:33Z")

</div>

probably due to aarch64 architecture. I guess MichaIng knows why it’s disabled.

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [19 November 2020 00:04 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/5 "2020-11-19T00:04:23Z")

</div>

Yes there were no ARMv8 binaries available until just the very last release: [https://github.com/gogs/gogs/releases/](https://github.com/gogs/gogs/releases/)  
😃 I’ll implement/enable it tomorrow for next release, you should be able to apply the changes manually then.

EDIT: Fix on the way: [https://github.com/MichaIng/DietPi/pull/3922](https://github.com/MichaIng/DietPi/pull/3922)  
Since the file names have been reasonably standardised, sadly a one-liner fix is not that easy, although the following would work:  
Remove this line to enable it for ARMv8: [https://github.com/MichaIng/DietPi/pull/3922/files#diff-98445566b948cc76bb45181ccd463ee93a7a441dbc8b25763d1b88f05f4ef8c5L1015](https://github.com/MichaIng/DietPi/pull/3922/files#diff-98445566b948cc76bb45181ccd463ee93a7a441dbc8b25763d1b88f05f4ef8c5L1015)  
Replace the URL in the very first fallback\_url: [https://github.com/MichaIng/DietPi/pull/3922/files#diff-98445566b948cc76bb45181ccd463ee93a7a441dbc8b25763d1b88f05f4ef8c5L5224](https://github.com/MichaIng/DietPi/pull/3922/files#diff-98445566b948cc76bb45181ccd463ee93a7a441dbc8b25763d1b88f05f4ef8c5L5224)  
with: [https://github.com/gogs/gogs/releases/download/v0.12.3/gogs\_0.12.3\_linux\_armv8.tar.gz](https://github.com/gogs/gogs/releases/download/v0.12.3/gogs_0.12.3_linux_armv8.tar.gz)  
which is the currently latest (and only) ARMv8 build.

---

<div class="post-metadata">

### Author: ![MadKernel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@MadKernel](https://dietpi.com/forum/u/MadKernel)
#### Post date: [28 November 2020 15:05 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/6 "2020-11-28T15:05:00Z")

</div>

hey there, thanks a Ton for the help.

I had noticed the newly released ARMv8 build and was looking at attempting to install it somehow, but I’m much happier following your advice!

I’ll come back once I had made some progress.

Regards.

---

<div class="post-metadata">

### Author: ![MadKernel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@MadKernel](https://dietpi.com/forum/u/MadKernel)
#### Post date: [28 November 2020 19:19 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/7 "2020-11-28T19:19:27Z")

</div>

Alright!! I think I got it running already!! Thank you @MichaIng for the help 😃

what I did, although probably not exactly what you had in mind, was to get the git version of dietpi-software and run it locally to install Gogs. Then I followed the instructions provided in DietPi’ s website

[https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/66](https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/66)

to configure Gogs.

The only thing that I had to tweak was that the pass for the “gogs” user in mysql/mariadb was not set up as “dietpi” as the instructions state (\*) . I went around this by changing the db user at the console and used the new “known” password for the web installer.

_(\*) Now that I think about it the pass was probably the “global” one that DietPi allows us to setup when configuring a fresh instance…hmmm, I should have thought that earlier 🤔 …_

Anyway, it is running now! Wohoo!

Now I just have to learn to use it so I can tell if I got it running _properly_ too with this maneuvering 😛

Thank you again!  
Cheers.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 November 2020 19:22 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/8 "2020-11-28T19:22:54Z")

</div>

Yes usually global application password is used. Can you link the website you found incorrect information on. I will go to correct it.

---

<div class="post-metadata">

### Author: ![MadKernel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@MadKernel](https://dietpi.com/forum/u/MadKernel)
#### Post date: [28 November 2020 20:28 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/9 "2020-11-28T20:28:46Z")

</div>

Hi,

this post in DietPi’ s forum was my reference…:

[https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/66](https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/66)

… but I got there not by searching the forum but by going from the home page at www. [dietpi.com](http://dietpi.com) → Features → DietPi Software → Gogs → How do I use this software?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 November 2020 20:58 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/10 "2020-11-28T20:58:06Z")

</div>

ok changed. I added as well

- Database = MySQL

on my test it was set to PostgreSQL as default

---

<div class="post-metadata">

### Author: ![MadKernel](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/7c8e57/32.png) [@MadKernel](https://dietpi.com/forum/u/MadKernel)
#### Post date: [28 November 2020 21:25 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/11 "2020-11-28T21:25:39Z")

</div>

You are correct, PostgreSQL was pre-selected in my case too, but I checked the installed software and confirmed only mysql was installed.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 November 2020 21:29 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/12 "2020-11-28T21:29:57Z")

</div>

ok I requested a change on our new online docs as well [https://github.com/MichaIng/DietPi-Docs/pull/254](https://github.com/MichaIng/DietPi-Docs/pull/254)

[https://dietpi.com/docs/](https://dietpi.com/docs/)

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [15 October 2024 16:02 UTC](https://dietpi.com/forum/t/gogs-not-available-for-odroid-c2/4629/13 "2024-10-15T16:02:35Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
