<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Gitlab</id>
	<title>Gitlab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Gitlab"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Gitlab&amp;action=history"/>
	<updated>2026-04-05T22:59:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Gitlab&amp;diff=760&amp;oldid=prev</id>
		<title>Busk at 23:52, 6 August 2020</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Gitlab&amp;diff=760&amp;oldid=prev"/>
		<updated>2020-08-06T23:52:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:52, 6 August 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l69&quot; &gt;Line 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ApplicationSetting.current.reset_runners_registration_token!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;ApplicationSetting.current.reset_runners_registration_token!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# Upgrades for Major version&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;```&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sudo apt-get update&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sudo apt-get install gitlab-ce=12.10.9-ce.0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# check gui url that it works&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sudo apt-get install gitlab-ce=13.0.10-ce.0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;...&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;```&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Other&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Other&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;```&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Gitlab&amp;diff=41&amp;oldid=prev</id>
		<title>imported&gt;Jeremy-busk at 19:42, 14 June 2019</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Gitlab&amp;diff=41&amp;oldid=prev"/>
		<updated>2019-06-14T19:42:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
## Sites of Interest&lt;br /&gt;
&lt;br /&gt;
### Authentication&lt;br /&gt;
You can easily hook into your own application portal using auth api&lt;br /&gt;
* https://docs.gitlab.com/ee/api/#authentication&lt;br /&gt;
&lt;br /&gt;
### Migrate from Local User to LDAP Auth&lt;br /&gt;
&lt;br /&gt;
* https://git.pyr8.io/admin/users/&amp;lt;USERNAME&amp;gt;&lt;br /&gt;
* Add New Identity like &amp;quot;LDAP (ldapmain)  uid=&amp;lt;USERNAME&amp;gt;,ou=people,dc=example,dc=io&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### URL Links for Licensing&lt;br /&gt;
* https://about.gitlab.com/pricing/licensing-faq/&lt;br /&gt;
* https://customers.gitlab.com/plans Buying Gitlab Licenses&lt;br /&gt;
* https://git.pyr8.io/admin/users&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
Who gets counted in the subscription?&lt;br /&gt;
Every person with a GitLab account on the instance is a user and is counted in the subscription. Only active users count towards total user count. Blocked users do not count, nor do Guest users in an Ultimate license.&lt;br /&gt;
&lt;br /&gt;
For more detail, administrators can find user counts under the Admin wrench &amp;gt; Users. The Active Users tab indicates the users currently counted.&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
# Backup &amp;amp; Migration to New Host&lt;br /&gt;
&lt;br /&gt;
https://pikedom.com/migrate-gitlab-instance-to-new-host/&lt;br /&gt;
&lt;br /&gt;
Some useful commands&lt;br /&gt;
```&lt;br /&gt;
gitlab-ctl reconfigure&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
## Script&lt;br /&gt;
&lt;br /&gt;
# Add your new server ssh key into from_gitlab /root/.ssh/authorized_keys&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
set -e&lt;br /&gt;
&lt;br /&gt;
# This is after you have installed fresh OS and installed from from latest omnibus package&lt;br /&gt;
# You need to make sure source host is same version of gitlab as well&lt;br /&gt;
&lt;br /&gt;
gitlab_from_host=x.x.x.x&lt;br /&gt;
gitlab_to_host=y.y.y.y&lt;br /&gt;
gitlab_backup_name=latestbackup&lt;br /&gt;
&lt;br /&gt;
ssh gitlab_from_host &amp;quot;sudo gitlab-rake gitlab:backup:create STRATEGY=copy BACKUP=${gitlab_backup_name}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
scp ${gitlab_from_host}:/var/opt/gitlab/backups/${gitlab_backup_name}_gitlab_backup.tar /var/opt/gitlab/backups/&lt;br /&gt;
chown -v git:git /var/opt/gitlab/backups/${gitlab_backup_name}&lt;br /&gt;
scp ${gitlab_from_host}:/etc/gitlab/gitlab.rb /etc/gitlab/&lt;br /&gt;
scp ${gitlab_from_host}:/etc/gitlab/gitlab-secrets.json /etc/gitlab/&lt;br /&gt;
scp ${gitlab_from_host}:/etc/ssh/ssh_host_* /etc/ssh/&lt;br /&gt;
&lt;br /&gt;
gitlab-rake gitlab:backup:restore BACKUP=${gitlab_backup_name}&lt;br /&gt;
# You can use --skip if you want to skip artifacts and such&lt;br /&gt;
cd /etc/gitlab&lt;br /&gt;
gitlab-ctl reconfigure&lt;br /&gt;
# You may want/need to reboot&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
## Issues with backup runners after move (if you've lost gitlab-secrets.json)&lt;br /&gt;
```&lt;br /&gt;
gitlab-rails console&lt;br /&gt;
ApplicationSetting.current.reset_runners_registration_token!&lt;br /&gt;
```&lt;br /&gt;
Other&lt;br /&gt;
```&lt;br /&gt;
gitlab-rails dbconsole&lt;br /&gt;
```&lt;br /&gt;
* tail -f /var/log/gitlab/gitlab-rails/*.log&lt;br /&gt;
* https://stackoverflow.com/questions/54216933/internal-server-error-500-while-accessing-gitlab-admin-runners&lt;br /&gt;
* https://gitlab.com/gitlab-org/gitlab-ce/issues/57038&lt;/div&gt;</summary>
		<author><name>imported&gt;Jeremy-busk</name></author>
	</entry>
</feed>