<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pwiki.pic.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jcasals</id>
	<title>Public PIC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pwiki.pic.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jcasals"/>
	<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Special:Contributions/Jcasals"/>
	<updated>2026-05-15T17:02:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=1163</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=1163"/>
		<updated>2024-07-19T09:46:15Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Getting started ==&lt;br /&gt;
* [[PIC description|PIC in an image]]&lt;br /&gt;
* [[PIC account|Get a PIC account]]&lt;br /&gt;
* [[PIC_User_Manual | User manual]]&lt;br /&gt;
&lt;br /&gt;
== Services ==&lt;br /&gt;
* [[HTCondor]]&lt;br /&gt;
* [[Storage]]&lt;br /&gt;
* [[JupyterHub]]&lt;br /&gt;
* [[Gitlab]]&lt;br /&gt;
* [[CosmoHub]]&lt;br /&gt;
* Spark:&lt;br /&gt;
** [[Spark on Hadoop|on Hadoop]]&lt;br /&gt;
** [[Spark_on_farm|on HTCondor]]&lt;br /&gt;
* [[Transferring data to/from PIC]]&lt;br /&gt;
&lt;br /&gt;
== Experiments ==&lt;br /&gt;
&lt;br /&gt;
* [[Euclid]]&lt;br /&gt;
* [[AGN ICE]]&lt;br /&gt;
&lt;br /&gt;
== More technical information ==&lt;br /&gt;
&lt;br /&gt;
* [[Storage Department]]&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=1162</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=1162"/>
		<updated>2024-07-19T09:46:07Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;hola&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [[PIC description|PIC in an image]]&lt;br /&gt;
* [[PIC account|Get a PIC account]]&lt;br /&gt;
* [[PIC_User_Manual | User manual]]&lt;br /&gt;
&lt;br /&gt;
== Services ==&lt;br /&gt;
* [[HTCondor]]&lt;br /&gt;
* [[Storage]]&lt;br /&gt;
* [[JupyterHub]]&lt;br /&gt;
* [[Gitlab]]&lt;br /&gt;
* [[CosmoHub]]&lt;br /&gt;
* Spark:&lt;br /&gt;
** [[Spark on Hadoop|on Hadoop]]&lt;br /&gt;
** [[Spark_on_farm|on HTCondor]]&lt;br /&gt;
* [[Transferring data to/from PIC]]&lt;br /&gt;
&lt;br /&gt;
== Experiments ==&lt;br /&gt;
&lt;br /&gt;
* [[Euclid]]&lt;br /&gt;
* [[AGN ICE]]&lt;br /&gt;
&lt;br /&gt;
== More technical information ==&lt;br /&gt;
&lt;br /&gt;
* [[Storage Department]]&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=285</id>
		<title>Gitlab Migration</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=285"/>
		<updated>2019-01-09T09:33:33Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: /* TCP connection reset by peer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to upgrade the gitlab service, it was required to move it to a new host.&lt;br /&gt;
The migration of the git repositories from the old host to the new one cannot be done transparently because the previous version has not easy upgrade procedure.&lt;br /&gt;
For newer releases, all information will be preserved and the procedure will be done without any user intervention.&lt;br /&gt;
&lt;br /&gt;
'''Also, note that for this particular upgrade, all information from tickets, merge requests and wiki WILL NOT BE MIGRATED.'''&lt;br /&gt;
&lt;br /&gt;
In order to migrate your git repositories to the new host, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
1) Log into https://gitlab.pic.es with your PIC credentials&lt;br /&gt;
&lt;br /&gt;
2) If you use want to use SSH authentication, you have to upload the corresponding public key. You can access this from the ''Settings'' drop-down menu in the top-left of the screen.&lt;br /&gt;
&lt;br /&gt;
3) For each git repository that you want to migrate, execute the the following commands onto the directory it resides:&lt;br /&gt;
&lt;br /&gt;
    # Update the URL of the repository&lt;br /&gt;
    $ git remote set-url origin $(git remote show -n origin | grep &amp;quot;Fetch URL&amp;quot; | awk '{print $3}' | sed s/gitlab0[12].pic.es/gitlab.pic.es/g)&lt;br /&gt;
    &lt;br /&gt;
    # Remove old gitlab01.pic.es host key&lt;br /&gt;
    $ ssh-keygen -R gitlab.pic.es&lt;br /&gt;
    &lt;br /&gt;
    # Push everything to new remote&lt;br /&gt;
    $ git push origin --all&lt;br /&gt;
    $ git push origin --tags&lt;br /&gt;
&lt;br /&gt;
The old gitlab service will still be available on read-only at gitlab01.pic.es until the end of February 2019, when it will be finally decomissioned.&lt;br /&gt;
&lt;br /&gt;
'''For users of projects (i.e. CTA) that already migrated, you still need to update your remote URL (step 3) to be able to take advantage of future upgrades.'''&lt;br /&gt;
&lt;br /&gt;
== Issues and Troubleshooting ==&lt;br /&gt;
=== TCP connection reset by peer ===&lt;br /&gt;
You may be one of the few unlucky users that see this error appearing when trying to clone or fetch from gitlab.&lt;br /&gt;
 git clone https://gitlab.pic.es/user/repository.git&lt;br /&gt;
 fatal: unable to access 'https://gitlab.pic.es/user/repository.git': TCP connection reset by peer&lt;br /&gt;
As [https://stackoverflow.com/questions/53594412/what-version-of-git-supports-tls-1-2#answer-53594630 this note] from Stack Overflow says, the version of the git package included on Red Hat version 5, lower than 6.8 and lower than 7.2 doesn't support TLSv1.2, the one needed for SSL transfers.&lt;br /&gt;
&lt;br /&gt;
Please, update your Operating System or [https://confluence.atlassian.com/crucible/installing-and-upgrading-git-679608571.html try to update] your git version.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=284</id>
		<title>Gitlab Migration</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=284"/>
		<updated>2019-01-09T09:33:07Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In order to upgrade the gitlab service, it was required to move it to a new host.&lt;br /&gt;
The migration of the git repositories from the old host to the new one cannot be done transparently because the previous version has not easy upgrade procedure.&lt;br /&gt;
For newer releases, all information will be preserved and the procedure will be done without any user intervention.&lt;br /&gt;
&lt;br /&gt;
'''Also, note that for this particular upgrade, all information from tickets, merge requests and wiki WILL NOT BE MIGRATED.'''&lt;br /&gt;
&lt;br /&gt;
In order to migrate your git repositories to the new host, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
1) Log into https://gitlab.pic.es with your PIC credentials&lt;br /&gt;
&lt;br /&gt;
2) If you use want to use SSH authentication, you have to upload the corresponding public key. You can access this from the ''Settings'' drop-down menu in the top-left of the screen.&lt;br /&gt;
&lt;br /&gt;
3) For each git repository that you want to migrate, execute the the following commands onto the directory it resides:&lt;br /&gt;
&lt;br /&gt;
    # Update the URL of the repository&lt;br /&gt;
    $ git remote set-url origin $(git remote show -n origin | grep &amp;quot;Fetch URL&amp;quot; | awk '{print $3}' | sed s/gitlab0[12].pic.es/gitlab.pic.es/g)&lt;br /&gt;
    &lt;br /&gt;
    # Remove old gitlab01.pic.es host key&lt;br /&gt;
    $ ssh-keygen -R gitlab.pic.es&lt;br /&gt;
    &lt;br /&gt;
    # Push everything to new remote&lt;br /&gt;
    $ git push origin --all&lt;br /&gt;
    $ git push origin --tags&lt;br /&gt;
&lt;br /&gt;
The old gitlab service will still be available on read-only at gitlab01.pic.es until the end of February 2019, when it will be finally decomissioned.&lt;br /&gt;
&lt;br /&gt;
'''For users of projects (i.e. CTA) that already migrated, you still need to update your remote URL (step 3) to be able to take advantage of future upgrades.'''&lt;br /&gt;
&lt;br /&gt;
== Issues and Troubleshooting ==&lt;br /&gt;
=== TCP connection reset by peer ===&lt;br /&gt;
You may be one of the few unlucky persons that see this error appearing when trying to clone or fetch from gitlab.&lt;br /&gt;
 git clone https://gitlab.pic.es/user/repository.git&lt;br /&gt;
 fatal: unable to access 'https://gitlab.pic.es/user/repository.git': TCP connection reset by peer&lt;br /&gt;
As [https://stackoverflow.com/questions/53594412/what-version-of-git-supports-tls-1-2#answer-53594630 this note] from Stack Overflow says, the version of the git package included on Red Hat version 5, lower than 6.8 and lower than 7.2 doesn't support TLSv1.2, the one needed for SSL transfers.&lt;br /&gt;
&lt;br /&gt;
Please, update your Operating System or [https://confluence.atlassian.com/crucible/installing-and-upgrading-git-679608571.html try to update] your git version.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=279</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=279"/>
		<updated>2018-12-07T14:47:49Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: /* Astrophysics &amp;amp; Cosmology Department */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Storage Department ==&lt;br /&gt;
* [[dCache.org]]&lt;br /&gt;
* [[FileSystems]]&lt;br /&gt;
&lt;br /&gt;
== Astrophysics &amp;amp; Cosmology Department ==&lt;br /&gt;
&lt;br /&gt;
*[[CosmoHub | CosmoHub User Guide]]&lt;br /&gt;
*[[Gitlab_Migration | Gitlab migration]]&lt;br /&gt;
*[[AC_UserManual | User manual]]&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=278</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=278"/>
		<updated>2018-12-07T14:47:19Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Storage Department ==&lt;br /&gt;
* [[dCache.org]]&lt;br /&gt;
* [[FileSystems]]&lt;br /&gt;
&lt;br /&gt;
== Astrophysics &amp;amp; Cosmology Department ==&lt;br /&gt;
&lt;br /&gt;
*[[AC_UserManual | User manual]]&lt;br /&gt;
*[[Gitlab_Migration | Gitlab migration]]&lt;br /&gt;
*[[CosmoHub | CosmoHub User Guide]]&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=277</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=277"/>
		<updated>2018-12-07T14:33:56Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: /* Storage Department */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Storage Department ==&lt;br /&gt;
* [[dCache.org]]&lt;br /&gt;
* [[FileSystems]]&lt;br /&gt;
&lt;br /&gt;
== Astrophysics &amp;amp; Cosmology Department ==&lt;br /&gt;
&lt;br /&gt;
*[[AC_UserManual | User manual]]&lt;br /&gt;
*[[Gitlab_Migration | Gitlab migration]]&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=276</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=276"/>
		<updated>2018-12-07T14:32:47Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: /* Storage Department */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Storage Department ==&lt;br /&gt;
==== [[dCache.org]] ====&lt;br /&gt;
==== [[FileSystems]] ====&lt;br /&gt;
&lt;br /&gt;
== Astrophysics &amp;amp; Cosmology Department ==&lt;br /&gt;
&lt;br /&gt;
*[[AC_UserManual | User manual]]&lt;br /&gt;
*[[Gitlab_Migration | Gitlab migration]]&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=270</id>
		<title>Gitlab Migration</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=270"/>
		<updated>2018-10-25T13:31:07Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The gitlab service need to be upgraded to a new version and host.&lt;br /&gt;
It will be migrated from gitlab01.pic.es (running v6.x) to gitlab02.pic.es (running v11.x).&lt;br /&gt;
This upgrade cannot be done transparently to the users because the actual version is too old.&lt;br /&gt;
For newer releases this will be done without any user intervention.&lt;br /&gt;
&lt;br /&gt;
The upgrade of the service need to be done in two steps.&lt;br /&gt;
First, users must migrate their repositories to the new host following these instructions:&lt;br /&gt;
&lt;br /&gt;
    # Create a remote called new_gitlab with the new address of the repository&lt;br /&gt;
    $ git remote add new_gitlab $(git remote -v | awk '{print $2}' | sort -u | sed s/gitlab01.pic.es/gitlab02.pic.es/g)&lt;br /&gt;
    &lt;br /&gt;
    # Upload the repository to the new remote&lt;br /&gt;
    $ git push new_gitlab --all&lt;br /&gt;
    $ git push new_gitlab --tags&lt;br /&gt;
    &lt;br /&gt;
    # Upload the repository to the new remote&lt;br /&gt;
    $ git push new_gitlab &lt;br /&gt;
    &lt;br /&gt;
    # Rename the old remote&lt;br /&gt;
    $ git remote rename origin old_gitlab&lt;br /&gt;
    &lt;br /&gt;
    # Rename the new remote&lt;br /&gt;
    $ git remote rename new_gitlab origin&lt;br /&gt;
&lt;br /&gt;
There will be a 3 month period where both gitlab host will coexist to give time users to migrate.&lt;br /&gt;
After that, gitlab01 will be decomissioned and the gitlab.pic.es alias will point to gitlab02.pic.es.&lt;br /&gt;
Users shall then update their remotes to point to the alias so that future upgrades can be done transparently.&lt;br /&gt;
&lt;br /&gt;
    # Change the remote called origin with the new address of the repository&lt;br /&gt;
    $ git remote set-url origin $(git remote -v | awk '{print $2}' | sort -u | sed s/gitlab02.pic.es/gitlab.pic.es/g)&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=269</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Main_Page&amp;diff=269"/>
		<updated>2018-10-25T13:26:58Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Storage Department ==&lt;br /&gt;
=== [[dCache.org]] ===&lt;br /&gt;
=== [[FileSystems]] ===&lt;br /&gt;
&lt;br /&gt;
== Astrophysics &amp;amp; Cosmology Department ==&lt;br /&gt;
&lt;br /&gt;
*[[AC_UserManual | User manual]]&lt;br /&gt;
*[[Gitlab_Migration | Gitlab migration]]&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
* Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=AC_GitlabMigration&amp;diff=268</id>
		<title>AC GitlabMigration</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=AC_GitlabMigration&amp;diff=268"/>
		<updated>2018-10-25T13:26:24Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: Jcasals moved page AC GitlabMigration to Gitlab Migration: Ugly name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Gitlab Migration]]&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
	<entry>
		<id>https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=267</id>
		<title>Gitlab Migration</title>
		<link rel="alternate" type="text/html" href="https://pwiki.pic.es/index.php?title=Gitlab_Migration&amp;diff=267"/>
		<updated>2018-10-25T13:26:24Z</updated>

		<summary type="html">&lt;p&gt;Jcasals: Jcasals moved page AC GitlabMigration to Gitlab Migration: Ugly name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The gitlab service need to be upgraded to a new version and host.&lt;br /&gt;
It will be migrated from gitlab01.pic.es (running v6.x) to gitlab02.pic.es (running v11.x).&lt;br /&gt;
This upgrade cannot be done transparently to the users because the actual version is too old.&lt;br /&gt;
For newer releases this will be done without any user intervention.&lt;br /&gt;
&lt;br /&gt;
The upgrade of the service need to be done in two steps.&lt;br /&gt;
First, users must migrate their repositories to the new host following these instructions:&lt;br /&gt;
&lt;br /&gt;
    # Create a remote called new_gitlab with the new address of the repository&lt;br /&gt;
    $ git remote add new_gitlab $(git remote -v | awk '{print $2}' | sort -u | sed s/gitlab01.pic.es/gitlab02.pic.es/g)&lt;br /&gt;
    &lt;br /&gt;
    # Upload the repository to the new remote&lt;br /&gt;
    $ git push new_gitlab --all&lt;br /&gt;
    $ git push new_gitlab --tags&lt;br /&gt;
    &lt;br /&gt;
    # Upload the repository to the new remote&lt;br /&gt;
    $ git push new_gitlab &lt;br /&gt;
    &lt;br /&gt;
    # Rename the old remote&lt;br /&gt;
    $ git remote rename origin old_gitlab&lt;br /&gt;
    &lt;br /&gt;
    # Rename the new remote&lt;br /&gt;
    $ git remote rename new_gitlab origin&lt;br /&gt;
&lt;br /&gt;
There will be a 3 month period where both gitlab host will coexist to give time users to migrate.&lt;br /&gt;
After that, gitlab01 will be decomissioned and the gitlab.pic.es alias will point to gitlab02.pic.es.&lt;br /&gt;
Users shall then update their remotes to point to the alias so that future upgrades can be done transparently.&lt;br /&gt;
&lt;br /&gt;
    # Create a remote called new_gitlab with the new address of the repository&lt;br /&gt;
    $ git remote set-url origin $(git remote -v | awk '{print $2}' | sort -u | sed s/gitlab02.pic.es/gitlab.pic.es/g)&lt;/div&gt;</summary>
		<author><name>Jcasals</name></author>
	</entry>
</feed>