コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
3416 ビュー

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.

アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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;
    }
}
アバター
破棄
著作者 最善の回答

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!



アバター
破棄