Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
3467 Ansichten

Hello:

I am a teacher and I am working with my students in an instance under Educational Program. We are importing the articles from an existing database in our School and we would like to import the images (800). Following the instructions in this post (https://www.odoo.com/es_ES/forum/ayuda-1/question/how-to-import-images-for-products-in-binary-to-the-database-1868) I have been able to prepare the .csv files. I have been able to import ten records, but when I try to import 100, I don't get a response from the import utility.

Witch is the maximum file size for  import in Educational Databases?

PD: thanks for providing this tool for Educational purposes.

Avatar
Verwerfen
Beste Antwort

Increment the param value in your conf client_max_body_size 100M; to your proper size

Avatar
Verwerfen
Beste Antwort

location example; if you plan to use nginx with SSL, in my ubuntu, I put: 

sudo nano /etc/nginx/sites-enabled/mywebsite.com.conf

and add the two things:

server {
    client_max_body_size 300M;
    ...
    location / {
        ...
        proxy_send_timeout 300;
    }
}
Avatar
Verwerfen
Autor Beste Antwort

Hi Hilar:

I assume it is possible if you have access to those params.

1) Do you know if it is possible to change than config in Educational Databases.

2) If not, can I assume that 100M is the default value and therefore it is the limit for uploads in educational databases? It is quite a reasonable amount of data and I can split my .csv file based on that restriction.

Thanks for your help!



Avatar
Verwerfen