# I can not add a picture in my sprint

**URL:** <https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210>\
**Category:** Troubleshooting\
**Tags:** scrum\
**Created:** [October 10, 2024, 10:14am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210 "2024-10-10T10:14:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 10, 2024, 10:14am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/1 "2024-10-10T10:14:33Z")

</div>

i want to know how can i add a picture in my project  
when i add a attachments in my project  
just like this:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/d/d92bf132b182a94e2273470317d29942483afd62.png)

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 10, 2024, 10:16am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/2 "2024-10-10T10:16:40Z")

</div>

then i click 2.png,just show loading

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/2/22f0bfeaf664a76679b3c52c0768c2c667d1586a.jpeg)

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [October 11, 2024, 8:39am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/3 "2024-10-11T08:39:59Z")

</div>

Hi there,

I’m assuming you are running a self-hosted installation, right? Are you using docker or installing from source? If you are using docker, is it the official docker-compose installation or a third-party one?

This seems to be an issue with the media-protected component, looking at the symptoms.

Best regards!

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 11, 2024, 8:48am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/4 "2024-10-11T08:48:12Z")

</div>

Hi Charlie:  
thank for your reply, i am using official docker-compose installation.  
what should i do to resolve this problem?

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [October 11, 2024, 9:04am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/5 "2024-10-11T09:04:21Z")

</div>

Please share your nginx logs and your `taiga-back` and `taiga-protected` logs.

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 11, 2024, 9:10am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/6 "2024-10-11T09:10:27Z")

</div>

I did not configure the proxy

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 11, 2024, 9:14am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/7 "2024-10-11T09:14:28Z")

</div>

I checked taiga-back and taga-protected logs,there are no changes

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 22, 2024, 10:09am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/8 "2024-10-22T10:09:19Z")

</div>

hi:  
i really need your help

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [October 23, 2024, 7:15am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/9 "2024-10-23T07:15:25Z")

</div>

Why did you not configure the proxy?

Have you checked the settings inside the taiga-protected container?

Can you share all your settings and logs, making sure to obfuscate any sensitive data?

Best regards!

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 25, 2024, 3:32am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/10 "2024-10-25T03:32:12Z")

</div>

hi Charlie:

this is my taiga.conf(the one in the taiga-gateway)

server {  
listen 80 default\_server;

```
client_max_body_size 100M;
charset utf-8;

# Frontend
location / {
    proxy_pass http://taiga-front/;
    proxy_pass_header Server;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
}

# API
location /api/ {
    proxy_pass http://taiga-back:8000/api/;
    proxy_pass_header Server;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
}

# Admin
location /admin/ {
    proxy_pass http://taiga-back:8000/admin/;
    proxy_pass_header Server;
    proxy_set_header Host $http_host;
    proxy_redirect off;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
}

# Static
location /static/ {
    alias /taiga/static/;
}

# Media
location /_protected/ {
    internal;
    alias /taiga/media/;
    add_header Content-disposition "attachment";
}

# Unprotected section
location /media/exports/ {
    alias /taiga/media/exports/;
    add_header Content-disposition "attachment";
}

location /media/ {
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Scheme $scheme;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://taiga-protected:8003/;
    proxy_redirect off;
}
# Events
location /events {
    proxy_pass http://taiga-events:8888/events;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_connect_timeout 7d;
    proxy_send_timeout 7d;
    proxy_read_timeout 7d;
}

```

}

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 25, 2024, 3:58am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/11 "2024-10-25T03:58:19Z")

</div>

hi Charlie:  
this is my taiga-protected setting  
SECRET\_KEY=taiga-back-secret-key  
MAX\_AGE=300  
TAIGA\_SUBPATH=

and this is my taiga\_protected container logs:  
Starting Taiga Protected  
[2024-08-13 07:20:39 +0000] [1] [INFO] Starting gunicorn 19.9.0  
[2024-08-13 07:20:39 +0000] [1] [INFO] Listening at: [http://0.0.0.0:8003](http://0.0.0.0:8003) (1)  
[2024-08-13 07:20:39 +0000] [1] [INFO] Using worker: sync  
[2024-08-13 07:20:39 +0000] [15] [INFO] Booting worker with pid: 15  
[2024-08-13 07:20:39 +0000] [16] [INFO] Booting worker with pid: 16  
[2024-08-13 07:20:39 +0000] [17] [INFO] Booting worker with pid: 17  
[2024-08-13 07:20:39 +0000] [18] [INFO] Booting worker with pid: 18  
[2024-10-25 03:50:42 +0000] [1] [INFO] Handling signal: term  
[2024-10-25 03:50:42 +0000] [15] [INFO] Worker exiting (pid: 15)  
[2024-10-25 03:50:42 +0000] [18] [INFO] Worker exiting (pid: 18)  
[2024-10-25 03:50:42 +0000] [17] [INFO] Worker exiting (pid: 17)  
[2024-10-25 03:50:42 +0000] [16] [INFO] Worker exiting (pid: 16)  
[2024-10-25 03:50:43 +0000] [1] [INFO] Shutting down: Master  
Give permission to taiga:taiga  
Starting Taiga Protected  
[2024-10-25 03:50:44 +0000] [1] [INFO] Starting gunicorn 19.9.0  
[2024-10-25 03:50:44 +0000] [1] [INFO] Listening at: [http://0.0.0.0:8003](http://0.0.0.0:8003) (1)  
[2024-10-25 03:50:44 +0000] [1] [INFO] Using worker: sync  
[2024-10-25 03:50:44 +0000] [15] [INFO] Booting worker with pid: 15  
[2024-10-25 03:50:44 +0000] [16] [INFO] Booting worker with pid: 16  
[2024-10-25 03:50:44 +0000] [17] [INFO] Booting worker with pid: 17  
[2024-10-25 03:50:44 +0000] [18] [INFO] Booting worker with pid: 18

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [October 25, 2024, 1:21pm UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/12 "2024-10-25T13:21:08Z")

</div>

How are you accesing your containers?

Does your network tab show any errors?

Are you using a local IP or a hostname?

Please also share your .env file, obfuscating any personal/private info (though please do indicate where have you done so so that we can make assumptions on what is correct or incorrect).

Best regards!

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [October 28, 2024, 1:10am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/13 "2024-10-28T01:10:51Z")

</div>

i used docker to install taiga, my network tab doesn’t show any errors, i am using a hostname ,my taiga show everything ok,just can’t upload image  
this is my .env file:

# Taiga’s URLs - Variables to define where Taiga should be served

TAIGA\_SCHEME=http # serve Taiga using “http” or “https” (secured) connection  
TAIGA\_DOMAIN=192.xxx.x.xx:7040 # Taiga’s base URL  
SUBPATH=“” # it’ll be appended to the TAIGA\_DOMAIN (use either “” or a “/subpath”)  
WEBSOCKETS\_SCHEME=ws # events connection protocol (use either “ws” or “wss”)

# Taiga’s Secret Key - Variable to provide cryptographic signing

SECRET\_KEY=“sunitec-taiga-secret-key” # Please, change it to an unpredictable value!!

# Taiga’s Database settings - Variables to create the Taiga database and connect to it

POSTGRES\_USER=taiga # user to connect to PostgreSQL  
POSTGRES\_PASSWORD=taiga # database user’s password

# Taiga’s SMTP settings - Variables to send Taiga’s emails to the users

EMAIL\_BACKEND=console # use an SMTP server or display the emails in the console (either “smtp” or “console”)  
EMAIL\_HOST=[smtp.host.example.com](http://smtp.host.example.com) # SMTP server address  
EMAIL\_PORT=587 # default SMTP port  
EMAIL\_HOST\_USER=user # user to connect the SMTP server  
EMAIL\_HOST\_PASSWORD=password # SMTP user’s password  
[EMAIL\_DEFAULT\_FROM=changeme@example.com](mailto:EMAIL_DEFAULT_FROM=changeme@example.com) # default email address for the automated emails

# EMAIL\_USE\_TLS/EMAIL\_USE\_SSL are mutually exclusive (only set one of those to True)

EMAIL\_USE\_TLS=True # use TLS (secure) connection with the SMTP server  
EMAIL\_USE\_SSL=False # use implicit TLS (secure) connection with the SMTP server

# Taiga’s RabbitMQ settings - Variables to leave messages for the realtime and asynchronous events

RABBITMQ\_USER=taiga # user to connect to RabbitMQ  
RABBITMQ\_PASS=taiga # RabbitMQ user’s password  
RABBITMQ\_VHOST=taiga # RabbitMQ container name  
RABBITMQ\_ERLANG\_COOKIE=secret-erlang-cookie # unique value shared by any connected instance of RabbitMQ

# Taiga’s Attachments - Variable to define how long the attachments will be accesible

ATTACHMENTS\_MAX\_AGE=360 # token expiration date (in seconds)

# Taiga’s Telemetry - Variable to enable or disable the anonymous telemetry

ENABLE\_TELEMETRY=True

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [November 7, 2024, 10:01am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/14 "2024-11-07T10:01:39Z")

</div>

hi 🙂  
what should i do next step?

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [November 7, 2024, 10:05am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/15 "2024-11-07T10:05:47Z")

</div>

Hi!

Does the `give permissions to taiga:taiga` repeat often in your taiga-protected logs?

Best regards!

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [November 8, 2024, 8:31am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/16 "2024-11-08T08:31:55Z")

</div>

hello Charlie:

no,this is my taiga-protected log

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/0/06343010d9b5fa3dfe9b59cf04d30cdcf6357946.png)

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [November 8, 2024, 8:34am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/17 "2024-11-08T08:34:17Z")

</div>

i have restarted taiga-protected container a few times,

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [November 8, 2024, 11:05am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/18 "2024-11-08T11:05:26Z")

</div>

Hi there,

It does indeed repeat often. The service restarts continuously because the user and group `taiga` do not have permissions on your attachments folder. If you are using the default, official docker installation, that should be in `/var/lib/docker/volumes/taiga-docker_taiga-media-data/`.

Please check your permissions there, for example by doing `ls -lah /var/lib/docker/volumes/taiga-docker_taiga-media-data/`

Best regards!

---

<div class="post-metadata">

**Author:** ![hina\_chen](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/hina_chen/32/3162_2.png) [@hina\_chen](https://community.taiga.io/u/hina_chen)\
**Post date:** [November 12, 2024, 1:14am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/19 "2024-11-12T01:14:33Z")

</div>

thank for your help ,but it’s not working, i changed taiga-media-data folder permission, just do this : chmod -R 777 taiga-media-data, did i wrong? what should i do next ?thank you

---

<div class="post-metadata">

**Author:** ![Charlie](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Charlie](https://community.taiga.io/u/Charlie)\
**Post date:** [November 12, 2024, 8:17am UTC](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210/20 "2024-11-12T08:17:24Z")

</div>

Please share the logs again, after having changed the permissions.

Best regards!

[Next page](https://community.taiga.io/t/i-can-not-add-a-picture-in-my-sprint/4210.md?page=2)
