跳至内容
菜单
此问题已终结
3 回复
3417 查看

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!



形象
丢弃