Closed rissson closed 4 years ago
Hi, thank you for you report!
Is your server an LXC or something like that? There is an issue with it: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/893
For now the workaround is to try to install it with:
PACKAGE_CHECK_EXEC=1 sudo yunohost app install https://github.com/YunoHost-Apps/gitlab_ynh
Tell me if it works
It's a VPS, so it might very well be an LXC or something. Trying your workaround now
It still fails, with the same error. https://paste.yunohost.org/raw/vuxetagoqo
Indeed (sorry):
export PACKAGE_CHECK_EXEC=1
sudo yunohost app install https://github.com/YunoHost-Apps/gitlab_ynh
Yep that worked! Thanks a lot :D Do I have to do the same for the Gitlab runner app ?
No the runner works well in LXC, but the problem is that the the next upgrade/restore will break your gitlab if you don't do the same :s
I'll create a PR (soon) to fix this issue.
Ok, thanks for your help!
I have the same error but PACKAGE_CHECK_EXEC=1 doesn't work. The server is running in a Proxmox LXC container.
Warning: [ERR] !!
Warning: gitlab's script has encountered an error. Its execution was cancelled.
Warning: !!
Warning: Please find here an extract of the log before the crash:
Warning: [DEBUG]: DEBUG -, but received '255'
Warning: [DEBUG]: DEBUG - ---- Begin output of sysctl -e --system ----
Warning: [DEBUG]: DEBUG - STDOUT: * Applying /etc/sysctl.d/30-postgresql-shm.conf ...
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf ...
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf ...
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf ...
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf ...
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.d/99-sysctl.conf ...
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.d/lxc_pchecker.conf ...
Warning: [DEBUG]: DEBUG - net.ipv4.ip_forward = 1
Warning: [DEBUG]: DEBUG - * Applying /etc/sysctl.conf ...
Warning: [DEBUG]: DEBUG - STDERR: sysctl: cannot open "/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf": No such file or directory
Warning: [DEBUG]: DEBUG - sysctl: cannot open "/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf": No such file or directory
Warning: [DEBUG]: DEBUG - sysctl: setting key "kernel.shmmax": Read-only file system
Warning: [DEBUG]: DEBUG - sysctl: cannot open "/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf": No such file or directory
Warning: [DEBUG]: DEBUG - ---- End output of sysctl -e --system ----
Warning: [DEBUG]: DEBUG - Ran sysctl -e --system returned 255
Warning: [DEBUG]: DEBUG -
Warning: [DEBUG]: DEBUG - Running handlers complete
Warning: [DEBUG]: DEBUG - Chef Client failed. 154 resources updated in 41 seconds
Warning: [DEBUG]: DEBUG - dpkg: error processing package gitlab-ce (--install):
Warning: [DEBUG]: DEBUG - subprocess installed post-installation script returned error exit status 1
Warning: [DEBUG]: DEBUG - Errors were encountered while processing:
Warning: [DEBUG]: DEBUG - gitlab-ce
Warning: [DEBUG]: DEBUG - + ynh_exit_properly
Can you try to install with the branch: fix-lxc-issue
sudo yunohost app install https://github.com/YunoHost-Apps/gitlab_ynh/tree/fix-lxc-issue --debug
It works with the branch fix-lxc-issue
Thank you for your feedback! I'll add it to the next version then
I'm sorry to put this issue out of the graveyard, but i have the exact same issue right now, with the same error message. I'm installing GitLab on a virtual machine hosted on a Freebox Delta (so no LXC). I've tried with "export PACKAGE_CHECK_EXEC=1", with the same result. Gitlab appears on the apps on the landing page, but throws a pretty "404" when i click on it.
Hi, the install fails on Yunohost 3.6.4.3. Here are the logs :
Context :
YNH_APP_INSTANCE_NUMBER 1 YNH_CWD /var/cache/yunohost/from_file/gitlab_ynh-6187c4bdf0c7d9a105a73b0c23200bb012c9625f/scripts YNH_APP_ARG_IS_PUBLIC 1 YNH_APP_ARG_USE_WEB_ACCOUNT 0 YNH_STDINFO /tmp/tmp6cxVr3/stdinfo YNH_APP_INSTANCE_NAME gitlab YNH_APP_ARG_ADMIN risson YNH_INTERFACE api YNH_APP_ID gitlab YNH_APP_ARG_PATH / YNH_STDRETURN /tmp/tmpgWlqdJ/stdreturn YNH_APP_ARG_DOMAIN ~domain.tld~