Taiga doesn upload pictures/attachments

I’ve recently installed Taiga on an Ubuntu server, but I’m encountering problems when attempting to save any images or attachments. While it successfully creates all the necessary folders, it fails to save the files within them. Is anyone had same issue?

Hi @Daniel_Siriste

Welcome to our community!

In order to help you, you need to provide more context.
What error do you have when you upload an attachment?

It doesn’t seem to be a problem in Taiga, maybe a problem with nginx configuration?.

Regards.

There is no error - Taiga PM gives me pop-up everything is ok after uploading the image, than i check the the disk (/taiga-back/media/ user) and i see new folder is created but it is empty.

NGNIX conf file:

  GNU nano 6.2                                                 taiga                                                           server {
    listen 80;
    server_name taiga.home;

    large_client_header_buffers 4 32k;
    client_max_body_size 50M;
    charset utf-8;

    access_log /var/log/nginx/taiga_access.log;
    error_log  /var/log/nginx/taiga_error.log;

    # Frontend
    location / {
        root /home/taiga/taiga-front-dist/dist/;
        index index.html;
        try_files $uri $uri/ /index.html;
    }

    # Backend
    location /api {
        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://127.0.0.1:8001/api;
        proxy_redirect off;
    }

    # Admin access (/admin/)
    location /admin {
        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://127.0.0.1:8001$request_uri;
        proxy_redirect off;
    }

    # Static files
    location /static {
        alias /home/taiga/taiga-back/static;
    }

    # Media files
    location /media {
        alias /home/taiga/taiga-back/media;
    }

    # Events
    location /events {
        proxy_pass http://127.0.0.1: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;
    }
}

thanks, Daniel