Update taiga 6.0.7. to the latest version

397 views
Skip to first unread message

Jeroen Grijmans

unread,
May 4, 2021, 10:28:50 AM5/4/21
to taigaio
Can anyone tell me what the preferred update procedure is for taiga-back, taiga-events, taiga-front-dist and taiga-protected. I'am on version 6.*

Gerrit Bonn

unread,
May 21, 2021, 6:55:35 AM5/21/21
to taigaio
Okay I tried to figure out how to do the „basic things“ with the docker installation. These are rebooting the host, updating and checking the version. Here are my notes:
 
Reboot Taiga-Host

After a server reboot all projects and users are gone. To solve this do the following:
1. go to /taiga-docker/ directory
2. run ./launch-taiga.sh
3. Projects and users will be back in a few minutes
 
Update Taiga docker deployment to the newest version

1.      Checking Versions
1.1.    Open https://hub.docker.com/u/taigaio
1.2.    Check all containers for newest version
1.3.    In this example we're on Taiga 6.1 and docker hub offers us
1.3.1.taigaio/taiga-front:6.1.1
1.3.2.taigaio/taiga-back:6.1.1
1.3.3.taigaio/taiga-events:6.1.1
1.3.4.taigaio/taiga-protected:6.1.1
1.4.    Go to you own /taiga-docker/ directory
1.5.    Open docker-compose.yml
1.6.    the image variable in the yml file contains the version (tag) you will update to if you run the update commands.
2.      Saving Data
2.1.    Data is saved on your server thanks to the volume mounting which survives container recreation. You can see from the docker compose file where the data is for the db: taiga-db-data:/var/lib/postgresql/data
2.2.    That taiga-db-data volume is where your "permanent" db data is stored (I suggest there is a need for a premade script to to backup it). It would be better to also backup the other volumes before doing operations you're unsure of.
3.      Update Taiga
3.1.    Now, for the update part, I'd add a specific version tag to your taiga container, replacing latest with the version you need of feel the need to update to. There are many containers on that file so I’ll update all that I can find a new one on Docker Hub
3.2.    Open docker-compose.yml
3.3.    „taiga-front: image: taigaio/taiga-front:latest“ becomes „taiga-front: image: taigaio/taiga-front:6.1.1“
3.4.    „taiga-back: image: taigaio/taiga-back:latest“ becomes „taiga-back: image: taigaio/taiga-back:6.1.1“
3.5.    Do the same for taiga-events and taiga-protected
3.6.    Save and quit docker-compose.yml
3.7.    To update all the containers, db included, you can run docker-compose pull and docker-compose up -d without arguments: all the containers in the docker-compose.yml will be updated to the version pointed to their respective tag.

Check taiga version
1. go to /taiga-docker/ directory
2. run git describe --tag
3. Console will output the running version
 
So I got two follow up question:
 
  1. Is this the right process to update the docker installation? If yes I would love to clean up my notes and commit a step by step guide to the documentation
  2. If I run docker images afterwards I got both the new and the old containers. Do I need to remove the old ones after every update?
  3. Is there a way to, just to make sure, check the version of the running Taiga server? I googled this and found a tip to just run "git describe --tag" but this still shows Taiga 6.1.0 after I updated taiga-front, taiga-back, taiga-events and taiga-protected (so all containers I found on Docker Hub) to 6.1.1. This makes sense to me because I only used git to clone the docker repo and didn't touch git since then, but how do I go about checking the version now?

Chintan Mishra

unread,
May 23, 2021, 7:30:41 AM5/23/21
to taigaio
This looks solid. I would love it if someone from Taiga/Kaleidos ventures can confirm this.

Jeroen Grijmans

unread,
May 23, 2021, 8:36:55 AM5/23/21
to Chintan Mishra, taigaio
Hi
And add the procedure for the source installation.

Verstuurd vanaf mijn iPhone

Op 23 mei 2021 om 13:30 heeft Chintan Mishra <chintan....@gmail.com> het volgende geschreven:

This looks solid. I would love it if someone from Taiga/Kaleidos ventures can confirm this.
--
Please help us keep the Taiga.io Community open and inclusive, follow our Code of Conduct:
https://github.com/taigaio/code-of-conduct/blob/master/CODE_OF_CONDUCT.md
---
You received this message because you are subscribed to the Google Groups "taigaio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taigaio+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/f6307c6c-1663-431d-957f-2d8a5af76dcfn%40googlegroups.com.

German Porta

unread,
Aug 19, 2021, 9:03:52 AM8/19/21
to taigaio
Hi there. Not completely related to the update procedure, but in the neighborhood: Is there a quick way through the interface to see what version the version of Taiga is? Like a footer in the home page or the about, etc. Thanks in advance!

Jeroen Grijmans

unread,
Aug 19, 2021, 10:01:16 AM8/19/21
to German Porta, taigaio
Hi
You can check the current version with git describe --tag
Unfortunately this is not visible in the ui.

Verstuurd vanaf mijn iPhone

Op 19 aug. 2021 om 15:03 heeft German Porta <gpo...@gmail.com> het volgende geschreven:

Hi there. Not completely related to the update procedure, but in the neighborhood: Is there a quick way through the interface to see what version the version of Taiga is? Like a footer in the home page or the about, etc. Thanks in advance!
You received this message because you are subscribed to a topic in the Google Groups "taigaio" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/taigaio/iGRazFANBmY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to taigaio+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/b4fdd307-cead-42d0-b2cd-bf248d454cd3n%40googlegroups.com.

David Barragán

unread,
Aug 19, 2021, 11:08:58 AM8/19/21
to Jeroen Grijmans, German Porta, taigaio
Hi German,

If you are using the official docker imagges you can exec this two commands to check the version of the backend:

$ docker-compose exec taiga-back /bin/bash
root@62c284bc0b40:/taiga-back# grep __version__ taiga/__init__.py
__version__ = '6.3.0'

If you use a baremetal setup, Jeroen's instructions are the right ones.


Regards



--
Logo Kaleidos David Barragán Merino
Engineer & Co-founder 
kaleidos.net/FFF8E7
 


Este mensaje y sus archivos adjuntos van dirigidos exclusivamente a su destinatario, y pudiendo contener información confidencial sometida a secreto profesional, o cuya divulgación esté legalmente prohibida. Cualquier opinión en él contenida es exclusiva de su autor y no representa necesariamente la opinión de la empresa. Si ha recibido este mensaje por error, le rogamos nos lo comunique de forma inmediata por esta misma vía y proceda a su eliminación, así como a la de cualquier documento adjunto al mismo. El correo electrónico vía Internet no es seguro y no se puede garantizar que no haya errores ya que puede ser interceptado, modificado, perdido o destruido, o contener virus. Cualquier persona que se ponga en contacto con nosotros por correo electrónico se considerará que asume estos riesgos.

KALEIDOS OPEN SOURCE se reserva las acciones legales que le correspondan contra todo tercero que acceda de forma ilegítima al contenido de cualquier mensaje externo procedente del mismo.

INFORMACIÓN PROTECCIÓN DE DATOS. Responsable: KALEIDOS OPEN SOURCE (B86241973)

Le informamos que sus datos identificativos y los contenidos en los correos electrónicos y ficheros adjuntos pueden ser incorporados a nuestras bases de datos con la finalidad de mantener relaciones profesionales y/o comerciales y, que serán conservados mientras se mantenga la relación. Si lo desea, puede ejercer su derecho a acceder, rectificar y suprimir sus datos y demás reconocidos normativamente dirigiéndose al correo emisor o en los datos del responsable. Para información y consultas visite nuestra web  https://kaleidos.net

German Porta

unread,
Aug 19, 2021, 11:33:25 AM8/19/21
to taigaio
Thanks for the prompt reply! Much appreciated!

German Porta

unread,
Aug 19, 2021, 11:57:30 AM8/19/21
to David Barragán, Jeroen Grijmans, taigaio
Thanks a lot David! We are using the official docker images, so this is useful. Regards!

David Barragán

unread,
Aug 20, 2021, 4:11:42 AM8/20/21
to German Porta, Jeroen Grijmans, taigaio
You are welcome.

Just for your information, we have a mini guide on how to backap and restore Taiga (https://docs.taiga.io/backup-and-restore.html) and how to upgrade it (https://docs.taiga.io/upgrades-6to6.html).


Best regards
Reply all
Reply to author
Forward
0 new messages