Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Upload size limit in Odoo

Odebírat

Get notified when there's activity on this post

This question has been flagged
attachmentdocumentfilequickstartwebsite
3 Odpovědi
31706 Zobrazení
Avatar
Pierre Keunen (pike)

What is the upload size limit of a document I want to import in the Document application, website, or as an attachment?

How much data can I import?

Size limit for one document and for the total amount that can be stored in the database?

10
Avatar
Zrušit
Farooque Mustafa

Great sharing!

Michael Köck

After talking with Odoo's Support this information seems to be outdated. The maximum file size for uploads on on Odoo.sh now also seems to be 64MiB, even after updating the system parameter. The odoo.sh reverse proxy seems to deny any upload larger than that.

Avatar
Pierre Keunen (pike)
Autor Nejlepší odpověď

The upload size limit for one document depends if your database is hosted on Odoo SAAS or SH.

On Saas

  •  The maximum upload size is 64MiB(Mebibytes) which cannot be increased (limitation of Nginx web server). Whether you upload it in the Website application, the Document application, or as an attachment.


On SH

  • Upload limit on the Website is 256MiB which cannot be increased
  • Upload limit on the Document application is 64MiB (67 000 000 bytes actually) which can be increased in system parameters up to 256MiB 
  • Upload limit of attachments (which means any other apps) is 128MiB which cannot be increased

FYI: 64 MiB (Mebibytes) = 67.1089 MB (Megabytes)


Size limit for the database

On Saas

  • There is no limit on the amount of storage you have on the Saas databases

On SH

  • The limit depends on your contract and you can take from 0 to 512Gib ($0.20/GB/month) if you want more than that you need your own dedicated server ($480.00/month).


To limit upload size limit on website, you can use the following configuration,


14
Avatar
Zrušit
Henintsoa Ariel RATOLOJANAHARY

And what if it is on premise? I would like to upload 4 Giga file.

Pierre Keunen (pike)
Autor

There are two places where file size limits are set in Odoo:

On the client side, in JavaScript, the limit is 128MB.
On the server side, it can be configured with nginx on the machine.

The JavaScript side limit is mainly for user-friendly error messages. If we only set the server-side limit without a JavaScript limit, uploading a file exceeding the limit would result in no error messages at all. It would seem like the upload is proceeding until the end, but then there would be no confirmation or error message. That's why there's this JS limit: to provide a clearer error message about why the upload failed.

On the server side, in NGINX, you can set a higher upload limit (for example, 4GB):

server {
# other server configurations...

client_max_body_size 4G; # Set the maximum upload size to 4 gigabytes

# other server configurations...
}
On the client side, you need to create a system parameter "web.max_file_upload_size" and set it to 4 * 1024 * 1024 * 1024.

Avatar
Cornelius Jaeger-Herzog
Nejlepší odpověď

Hi Pierre

I saw your answer. Thank you. Where would I set this when we are hosting our own application.

Thank you

1
Avatar
Zrušit
Avatar
Matthew Harrison
Nejlepší odpověď

For on-premise configurations:

You can update Settings > Technical > System Parameters​:

​document.max_fileupload_size​ for files uploaded to the Documents App

and web.max_file_upload_size​ for other web-related HTTP requests.

The values should be in bytes, for example: 4 * 1024 * 1024 * 1024​ = 4GB

As was mentioned, you may face other timeouts from your reverse proxy.

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Upload File (Attachment)
server attachment document upload file
Avatar
0
úno 19
5520
Can files be downloaded by visitors to my website (built using web builder) ? Vyřešeno
file website
Avatar
Avatar
Avatar
2
říj 24
4580
How Can I input a downloadable document in the website
document website
Avatar
1
říj 24
2182
Website - How to add a mega menu ?
quickstart website
Avatar
0
bře 24
15295
How to download a PDF from the website? Vyřešeno
quickstart website
Avatar
Avatar
Avatar
Avatar
4
srp 25
17111
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now