Profile pic or project logos do not show up

281 views
Skip to first unread message

Paulo Matos

unread,
Oct 28, 2016, 2:27:10 AM10/28/16
to taigaio
Hello,

After having setup successfully Taiga with your help, I am noticing that profile pics as well as project logos do not show up (probably no uploaded files show up). What's the best way to understand why this is happening? Where are the logs for taiga?

Kind regards,

Paulo Matos

Juan Francisco Alcántara

unread,
Oct 28, 2016, 2:34:51 AM10/28/16
to Paulo Matos, taigaio
Hi!

That's because Taiga uses gravatar by default, you can disable the gravatar integration setting "gravatar" to "false" in your conf.json file.

Regards,

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tai...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/taigaio/51107bb9-21ac-4991-8c00-a1729382e1cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Barragán

unread,
Oct 28, 2016, 2:44:19 AM10/28/16
to Juan Francisco Alcántara, Paulo Matos, taigaio
Have you define MEDIA_URL properly in taiga-back/settings/local.py?


For more options, visit https://groups.google.com/d/optout.



--

---

 
David Barragán Merino  
Engineer

www.kaleidos.net/FFF8E7

Paulo Matos

unread,
Oct 28, 2016, 2:52:04 AM10/28/16
to Juan Francisco Alcántara, Paulo Matos, taigaio


On 28/10/16 08:34, Juan Francisco Alcántara wrote:
> Hi!
>
> That's because Taiga uses gravatar by default, you can disable the
> gravatar integration setting "gravatar" to "false" in your conf.json file.
>

How can I then restart taiga? Is it just a matter of restarting the
circusd service?

--
Paulo Matos

Paulo Matos

unread,
Oct 28, 2016, 2:53:28 AM10/28/16
to David Barragán, Juan Francisco Alcántara, Paulo Matos, taigaio


On 28/10/16 08:43, David Barragán wrote:
> Have you define MEDIA_URL properly in taiga-back/settings/local.py?
>

Yes, that's properly set to http://taiga.linki.tools/media

I use an Alias in the apache conf for this:
Alias /media /home/taiga/taiga-back/media

--
Paulo Matos

Paulo Matos

unread,
Oct 28, 2016, 3:17:36 AM10/28/16
to David Barragán, Juan Francisco Alcántara, Paulo Matos, taigaio


On 28/10/16 08:43, David Barragán wrote:
> Have you define MEDIA_URL properly in taiga-back/settings/local.py?
>

This might instead have to do with permissions.
I inspected the img http element and I see:

<img tg-avatar="vm.user" alt="Paulo Matos"
src="http://taiga.linki.tools/media/user/6/0/a/8/94b3ce353c67cc2adf6c9b1d45c73b5ee8edaaed57e8453e04ea27311822/small-portrait-bw-flip.png.80x80_q85_crop.jpg"
height="40px">

If I look in my taiga-back folder the image is there:
taiga@linki:~/taiga-back$ ls -la
media/user/6/0/a/8/94b3ce353c67cc2adf6c9b1d45c73b5ee8edaaed57e8453e04ea27311822/small-portrait-bw-flip.png.80x80_q85_crop.jpg
-rw-r--r-- 1 taiga taiga 1393 Oct 27 11:02
media/user/6/0/a/8/94b3ce353c67cc2adf6c9b1d45c73b5ee8edaaed57e8453e04ea27311822/small-portrait-bw-flip.png.80x80_q85_crop.jpg


Does anyone know if I need to set special permissions on anything
special on the apache side? Does the apache user need permissions to
access it?

--
Paulo Matos

David Barragán

unread,
Oct 28, 2016, 3:29:56 AM10/28/16
to Paulo Matos, Juan Francisco Alcántara, Paulo Matos, taigaio
Your apache need permissions to accces to this directory. Maybe this can be "fixed" by setting umask 0007 and adding yourself to the Apache group (www-data if I'm not mistaken), so that newly created files and folders are writeable by the group. With nginx you don't have this kind of problems.


Regards

Paulo Matos

unread,
Oct 28, 2016, 3:48:13 AM10/28/16
to David Barragán, Juan Francisco Alcántara, Paulo Matos, taigaio


On 28/10/16 09:29, David Barragán wrote:
> Your apache need permissions to accces to this directory. Maybe this can
> be "fixed" by setting umask 0007 and adding yourself to the Apache group
> (www-data if I'm not mistaken), so that newly created files and folders
> are writeable by the group. With nginx you don't have this kind of problems.
>
>

OK, that makes sense. You mean adding www-data to the taiga group given
media is owned by taiga, right?

Kind regards,

--
Paulo Matos

David Barragán

unread,
Oct 28, 2016, 4:04:39 AM10/28/16
to Paulo Matos, Juan Francisco Alcántara, Paulo Matos, taigaio
Yes, it should work. 

Sorry but I don't use apache since a very long time ago. Maybe there is another better solution that I don't know or I can't remember.
Reply all
Reply to author
Forward
0 new messages