You are here
ilia - Sat, 2022/06/11 - 16:47
I am trying to install a clean template for gitlab. 16.1
but after installing i have the following issues :
i had to enable root ssh login :
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
sudo systemctl restart ssh
As far as i thought ssh for root should be enabled in this template.
second after entering ssh with root, i have a prompt of configuration\setting initial menu.. and after finished this step,
Then on to the web ui in the browser with user root and the password i set in the initial step, but it gives error 500,
when i change the user\password to wrong name on purpose, it says invalid user or password
Forum:
Tags:
Not sure what the issue is?!
You shouldn't need to enable root login!?! As you note, it should already be pre-enabled! The only thing that occurs to me is perhaps Proxmox is modifying the default? I'm still running Proxmox v6.x and it definitely doesn't do that for me.
As for the 500 error, I recall having heaps of issues with GitLab. The most common cause of that is lack of resources. IIRC it needs at least 4GB RAM and 2 CPU cores. If you're still having issues, TBH I'm not sure. But you could try reinstalling it. I.e.:
found a solution
i tried it did not help,
eventually i fixed it with the commands: (i found elsewhere don't remember were)
i am based on proxmox 7.1
the host have 16GB ram and 8 cores
Thanks for posting back!
Yes, those specs should run GitLab fine! Still, it's the most common issue, so I had to mention it...
Thanks heaps for posting back with your solution. I'm sure that will be a help to others.
TurnKey GitLab with Proxmox VE 7.3
Hello,
I'm trying to install the latest version of GitLab on Proxmox VE 7.3, in an LXC container.
It is integratede into Proxmox: So I use the GUI to go to a Storage that can contain CT Templates and press the Templates button. Select turnkey-gitlab and press download.
I entered my GitLab IP, entered the access credentials and the first message I see is:
500 - Whoops, something went wrong on our end.
Try refreshing the page, or going back and trying the action again.
I have already repeated this process 2 times without success, after having tried some commands that I saw in forums, but I did not get a good result.
I reinstalled everything a 3rd time and got the same result on this fresh installation.
Can you please tell me what I should do from here?
Any thoughts are welcome.
Thank you
Container config
root@svr-lab:~# pct config 299
arch: amd64
cores: 4
features: nesting=1
hostname: GitLab
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=<MAC ADDRESS>,ip=dhcp,type=veth
ostype: debian
rootfs: HVDisk-Lab:299/vm-299-disk-0.raw,size=16G
swap: 2048
unprivileged: 1
root@svr-lab:~#
Hi Rodrigo - it needs some work...
Hi Rodrigo. Unfortunately, the GitLab appliance currently available needs some work (it's a bit of a beast and has proven quite tricky to maintain). Beyond the issue you've hit, it's a bit out of date anyway. You may be able to get it going by (removing and) reinstalling GitLab like this:
Regardless, an updated and significantly better GitLab appliance (it will be v17.1) should be available within the next couple of weeks.
Also, if you only want/need a "GitHub-like" remote git store with a pretty UI and don't need/want all the other bells and whistles that GitLab comes with (e.g. CI/CD), then can I suggest testing out our Gitea appliance?! It doesn't have the "full" feature set that GitLab has, but it works really well and is much lighter weight than GitLab. It's also available as a LXC template via ProxmoxVE.
Hi, Jeremy!
Hi Jeremy!
Thank you for your feedback.
In fact, I had opted for GitLab, precisely to test the CI/CD functionality which was what I was interested in.
Anyway, I didn't know about Gitea or Revision Control, so I'm going to install it to test it, while GitLab version 17.1 doesn't arrive :-)
Thanks anyway for the help.
Best Regards,
Rodrigo
maybe flag these turnkey solutions are broken
Hi John, thanks for sharing
Thanks for sharing your thoughts and perspective. Thanks too for checking in to see whether your experience is expected or not.
So first up, each appliance page has a link to it's "Issues". E.g. The GitLab appliance page links to the GitLab issues.
Regarding Jenkins, I'm not sure why you had issues with that one though? Jenkins should be working ok, although I'm sure that it likely needs the version of Jenkins itself updated. That shouldn't affect initial log in though. Did you use the 'jenkins-admin' username as noted on the Jenkins appliance page? To update Jenkins itself (after initial set up - as noted on the appliance page):
So in summary, GitLab is broken (hopefully we'll have a fixed release soon). Otherwise, whilst they may not all have the latest version of upstream software and some do have active bugs (I have ~16 updated apps awaiting release - should be this week - fingers crossed), overall most of the appliance library should be working and serviceable.
Please do report any other issues you come across. And/or feel free to ask me about any other specific apps you plan to test out and I can confirm their current state.
thank you for ALL that
I just tested Jenkins and it works using 'jenkins-admin' as user
I just downloaded the Jenkins v17.1 ISO and installed it to a VM. After install (and installing security updates, including a reboot) I tried logging into the Jenkins web UI using the username 'jenkins-admin' and the password that I set at firstboot and it "just works"?!
I tried updating Jenkins itself too just in case the Jenkins update breaks things. But it still works fine?!
Please note that the way we set up Jenkins, it leverages PAM authentication. 'jenkins-admin' is a (somewhat) normal Linux user. So if you forgot what password you set, you can reset the password by logging into a terminal, (either via SSH or in a raw terminal) as root and run this:
Note that login to both Webmin and Webshell (aka Shellinabox) also use the 'root' user (and the password you set at first boot). I.e. the same password you use to log in via SSH or in a local terminal.
Add new comment