taiga-back icon indicating copy to clipboard operation
taiga-back copied to clipboard

Taiga on Ubuntu 20.04 ARM 64 Raspberry Pi 4 using Postgres 13 Database Install from Source

Open minozheros opened this issue 2 years ago • 5 comments

I installed everything following your guide for the source install at https://docs.taiga.io/setup-production.html#_introduction and the install went without errors, I had to add the www-data user to the taiga group though to get the frontend to work..

But if I try to add a project it will add it, but it will not work properly.. the project will eventually be created but the frontend will get stuck at the creation page.. if you reload the whole page, it will be there though..

If i try to delete a project it is the same result.. i get this error message..

2021/10/29 18:11:43 [error] 78882#78882: *15 upstream timed out (110: Unknown error) while reading response header from upstream, client: 192.168.1.44, server: taiga.portabledesktop.de, request: "DELETE /api/v1/projects/1 HTTP/2.0", upstream: "http://127.0.0.1:8001/api/v1/projects/1", host: "taiga.portabledesktop.de", referrer: "https://taiga.portabledesktop.de/project/mein-kanban/admin/project-profile/details"

The project does not get deleted...

I am not sure if postgres 13 could be the problem.. Any help would be appreciated..

Regards Klaus

minozheros avatar Oct 29 '21 16:10 minozheros

Hi, @minozheros

Just with that information is difficult to know where could be the problem. Try to check the logs (https://docs.taiga.io/setup-production.html#troubleshooting) to see if you find more information about your problem.

bameda avatar Nov 03 '21 15:11 bameda

@minozheros Hi. Do you mind telling how did you installed on raspberry. I'm tryong with Ubuntu Server and can get the taiga to get up. Thanks!

gibosky-voetranquilo avatar Nov 03 '21 16:11 gibosky-voetranquilo

@minozheros Hi. Do you mind telling how did you installed on raspberry. I'm tryong with Ubuntu Server and can get the taiga to get up. Thanks!

Hi.. i simply followed the info given in the second part about installation from source

https://docs.taiga.io/setup-production.html#_introduction

minozheros avatar Nov 04 '21 03:11 minozheros

@minozheros do you mind sharing your image with installed taiga? Would be extremly helpful for me and others that are getting problems installing it on raspberry pi. Thanks!

gibosky-voetranquilo avatar Nov 06 '21 12:11 gibosky-voetranquilo

I had a similar issue,

I installed Taiga on a raspberry pi 4 with the official lite distribution and I followed the same instruction as the author. Just like him I could access the website but some part of pages were missing and creation of project get stuck in an infinite loading. When I tried to edit or create project/task/user from the admin site I got a Server Error (500). The problem looked similar to this one an my logs were similar to this problem #1248.

The solution, for me, was just to update the host of the rabbit’s service running machine inside the config files. Because rabbit and taiga are set on the same machine I just had to set it to localhost. It might seems obvious, but a newbie like me just did not pay attention. A short description of this line in the installation’s instruction might be helpful to others.

In taiga-events/.env: RABBITMQ_URL="amqp://rabbitmquser:rabbitmqpassword@rabbitmqhost:5672/taiga" to RABBITMQ_URL="amqp://rabbitmquser:rabbitmqpassword@localhost:5672/taiga"

And in in taiga-back/settings/config.py:

EVENTS_PUSH_BACKEND_OPTIONS = {
    "url": "amqp://rabbitmquser:rabbitmqpassword@rabbitmqhost:5672/taiga"
}
CELERY_BROKER_URL = "amqp://rabbitmquser:rabbitmqpassword@rabbitmq:5672/taiga"

to

EVENTS_PUSH_BACKEND_OPTIONS = {
    "url": "amqp://rabbitmquser:rabbitmqpassword@localhost:5672/taiga"
}
CELERY_BROKER_URL = "amqp://rabbitmquser:rabbitmqpassword@localhost:5672/taiga"

However, after my research I have one question. Is it useful to change the username and password of the rabbitmq user?

Thanks!

hadrienlemaire avatar Feb 07 '22 23:02 hadrienlemaire