# \[EN\] GitLab failed installation

**URL:** <https://forum.yunohost.org/t/en-gitlab-failed-installation/14557>\
**Category:** Support\
**Tags:** english\
**Created:** [February 15, 2021, 5:36pm UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557 "2021-02-15T17:36:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lapidary.master](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lapidary.master/32/7681_2.png) [@lapidary.master](https://forum.yunohost.org/u/lapidary.master)\
**Post date:** [February 15, 2021, 5:36pm UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/1 "2021-02-15T17:36:54Z")

</div>

## 🇬🇧/🇺🇸 Message template (english)

### My YunoHost server

**Hardware:** Bare Metal Computer (x86-64 based)  
**YunoHost version:** 4.1.7.1 [stable branch]  
**I have access to my server :** through the webadmin & direct access via keyboard / screen  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If yes, please explain:**

### Description of my issue

After doing a clean install of yunohost, doing the post-install stuff, setting up sub-domains & users and then starting to download my applications, Nextcloud installed fine and works like I expect it to however GitLab just spat out an error well before even attempting to install itself.

I’m not exactly sure as to what happened but I did grab the pastebin link, shown as here → [https://paste.yunohost.org/raw/puxaviwako](https://paste.yunohost.org/raw/puxaviwako)

## Didn’t particularly want to just dump the entire crash.log file here, so the link has it all. Hopefully I can get some answers as to what on earth even happened \>\_\>

---

<div class="post-metadata">

**Author:** ![arthurlutz](https://forum.yunohost.org/user_avatar/forum.yunohost.org/arthurlutz/32/586_2.png) [@arthurlutz](https://forum.yunohost.org/u/arthurlutz)\
**Post date:** [February 15, 2021, 7:09pm UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/2 "2021-02-15T19:09:22Z")

</div>

Hi @lapidary.master welcome to the yunohost community.

Indeed your log doesn’t seem to show explicit errors. It might be the adding of a swapfile dedicated to gitlab that might be failing, but not entirelly sure how or why. Maybe you could post your error at the github project where it might get some attention from the maintainers [GitHub - YunoHost-Apps/gitlab\_ynh: GitLab package for YunoHost](https://github.com/YunoHost-Apps/gitlab_ynh/)

Hoe much memory do you have available on your server ?

Maybe reading the following issue might give you some hints [Install script error · Issue #115 · YunoHost-Apps/gitlab\_ynh · GitHub](https://github.com/YunoHost-Apps/gitlab_ynh/issues/115) ?

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [February 15, 2021, 9:07pm UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/3 "2021-02-15T21:07:32Z")

</div>

```auto
swapon: /swap_gitlab: swapon failed: Invalid argument

```

I’ve seen this happened on some “exotic” filesystem (btrfs, maybe zfs too). (The error message is pretty catastrophic in that it doesn’t hint at all at why this happens, it just sound like a syntax issue …)

Can you share the output of `lsblk -f`

---

<div class="post-metadata">

**Author:** ![lapidary.master](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lapidary.master/32/7681_2.png) [@lapidary.master](https://forum.yunohost.org/u/lapidary.master)\
**Post date:** [February 16, 2021, 4:53am UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/4 "2021-02-16T04:53:03Z")

</div>

```nohighlight
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda                                                                       
└─sda1 btrfs 44359d31-bb89-4b70-95fc-aea9a5ec7500 99.2G 11% /
sdb                                                                       
└─sdb1 btrfs WD_18TB 279649cb-977b-405b-abb0-f2229d199386 8.5T 48% /mnt

```

---

<div class="post-metadata">

**Author:** ![lapidary.master](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lapidary.master/32/7681_2.png) [@lapidary.master](https://forum.yunohost.org/u/lapidary.master)\
**Post date:** [February 16, 2021, 4:55am UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/5 "2021-02-16T04:55:19Z")

</div>

So basically, judging by what that issue says, I would need to repartition my primary drive to create a swap partition?

---

<div class="post-metadata">

**Author:** ![lapidary.master](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lapidary.master/32/7681_2.png) [@lapidary.master](https://forum.yunohost.org/u/lapidary.master)\
**Post date:** [February 16, 2021, 6:40am UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/6 "2021-02-16T06:40:26Z")

</div>

Just repartitioned the HDD and it’s fine now, albeit a touch slow but in all fairness I wasn’t expecting much from the system.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [March 3, 2021, 6:40am UTC](https://forum.yunohost.org/t/en-gitlab-failed-installation/14557/7 "2021-03-03T06:40:57Z")

</div>

Closed on March 3, 2021, 6:40am UTC

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