📄 Alin Li · dokumendihaldus

OpenKM: Halda oma dokumente meisterlikult

Every organization drowns in documents — contracts, invoices, reports, emails, scans, manuals. OpenKM organizes them all into a searchable, secure, version-controlled digital library. Free and open source. The enterprise alternative that costs $0.

What is OpenKM? 🤔Install It ⚡
🤔 MIS ON OPENKM?

Sinu privaatne Google Drive tõsiseks tööks

📄 OpenKM = avatud teadmushaldus

OpenKM is an open-source Document Management System (DMS) ja Electronic Content Management (ECM) platform. Think of it as a private, self-hosted system where your organization stores, searches, classifies, controls, and shares ALL its documents — with full security, version history, workflow automation, and audit trails.

While Google Drive or Dropbox are simple file storage, OpenKM is a professional-grade document management system built for organizations that need to find any document in seconds among millions, track who viewed or changed what, enforce retention policies, and comply with regulations.

🧠 Probleem, mille OpenKM lahendab

The average employee spends 2.5 tundi päevas teabe otsimiseks (McKinsey). 100 töötajaga ettevõttes tähendab see 250 kaotatud tundi IGA PÄEV — 57,500 hours per year — just looking for documents. At $30/hour, that's $1.7 miljonit aastas raisatud searching for files.

Documents are scattered: some on file servers, some in email, some on desks, some in personal folders, some in people's heads. There's no single source of truth. Contracts get lost. Old versions get used by mistake. Nobody knows where the latest policy document is. Audit requests take weeks instead of seconds.

💰 Tegelik sääst

Dokumendihaldussüsteeme juurutavad organisatsioonid teatavad 40–60% reduction in document search time, 30% väiksemad salvestuskulud (duplikaatide eemaldamine) ja 80% faster compliance audit responses. Üks keskmise suurusega advokaadibüroo teatas, et säästis $400,000 aastas after implementing OpenKM by eliminating physical file rooms and reducing search time.

🏢 Who Created OpenKM?

OpenKM loodi 2006 in Hispaania by a team of enterprise software developers who saw that document management software was absurdly expensive — Microsoft SharePoint cost $50,000–$500,000+ to deploy, and other ECM systems (Documentum, OpenText) cost even more. They wanted to bring enterprise-grade document management to everyone — free.

OpenKM-i peakorter asub Valencia, Spain. Ettevõte rahastab oma tegevust open-core model: Community Edition is free (GPL v2), while the Enterprise Edition adds advanced features and professional support. The project has been actively maintained for 18+ aastat — one of the longest-running open-source DMS projects.

📜 AJALUGU

OpenKMi lugu

2006

🚀 OpenKM asutatakse Hispaanias

First release built on Java + Jackrabbit (JCR content repository). Offered enterprise document management for free at a time when competing products cost hundreds of thousands of dollars.

2008–2010

📈 Kasutuselevõtt Euroopas

Universities, law firms, and government agencies across Spain, Italy, France, and Latin America begin adopting OpenKM. The Spanish-speaking world especially embraces it as a homegrown alternative to SharePoint.

2012

🔧 Arhitektuuri uuendamine

OpenKM liigub Jackrabbitilt oma andmebaasipõhisele taustasüsteemile, parandades jõudlust märgatavalt. REST- ja SOAP-API-sid laiendatakse, mis lihtsustab teiste süsteemidega integreerimist.

2015–2018

🌍 Global Expansion

OpenKM-i partnerid tegutsevad enam kui 20 riigis. Enterprise'i väljaanne areneb koos OCR-i, töövoo automatiseerimise, e-posti arhiveerimise ja vöötkoodituvastusega. Seda kasutavad riigiasutused, haiglad, advokaadibürood ja tootmisettevõtted üle maailma.

2020

🦠 COVID-19 kiirendab kasutuselevõttu

Remote work forces organizations to digitize paper processes. OpenKM sees surge in downloads as companies need accessible document repositories. The free community edition helps small businesses survive the digital transition without budget.

2023–2025

🤖 Tänapäevased võimalused + tehisintellekt

OpenKM 7.x seeria lisab moodsa kasutajaliidese täiustusi, täiustatud REST API, parema mobiilse juurdepääsu ning esimesed tehisintellektifunktsioonid dokumentide automaatseks liigitamiseks ja metaandmete eraldamiseks. Dockeriga juurutamine lihtsustab installimist.

⭐ FEATURES

Kõik, mida OpenKM teha suudab

Täielik dokumendihaldusplatvorm.

📁

Document Storage

Centralized repository for ALL documents. Folder tree + metadata + tags

🔍

Full-Text Search

Search INSIDE documents (PDF, Word, Excel). Find any document in seconds among millions

📝

Version Control

Every edit creates a version. Roll back to any previous version. See who changed what and when

🏷️

Metaandmed ja märgendid

Custom metadata fields. Tag documents. Create custom property groups for classification

🔄

Workflow Automation

Approval chains, review processes, automated routing. Documents flow through defined steps

🔐

Juurdepääsukontroll

Role-based permissions. User/group access. Folder-level and document-level security

📊

Audit Trail

Complete log of who did what, when, and to which document. Essential for compliance

📧

Email Archiving

Capture and store emails as documents. Link emails to projects, clients, or cases

🌐

Web Interface

Juurdepääs igast brauserist — klienditarkvara pole vaja. Töötab igas operatsioonisüsteemis

📱

Mobiilne juurdepääs

Juurdepääs dokumentidele telefonist või tahvlist mobiilile kohanduva veebiliidese kaudu

🔌

REST + SOAP APIs

Full API for integration with any other system. Automate document operations programmatically

📂

WebDAV

Ühenda OpenKM võrgukettana. Lohista failid oma töölaualt

📋

Document Templates

Create standard templates. Generate documents from templates with auto-filled metadata

🔔

Teavitused

Subscribe to folders or documents. Get notified when changes happen

📤

Check-in / Check-out

Lukusta dokumendid muutmise ajaks. Väldi konflikte, kui mitu inimest töötab sama failiga

🗑️

Retention Policies

Automatically archive or delete documents after defined periods. Legal compliance made easy

💡 Enterprise-Only Features (Paid)

The Enterprise Edition adds: OCR (paberi skannimine otsitavaks tekstiks), barcode recognition, advanced workflow designer (visuaalne BPMN), LDAP/Active Directory integration, email capture, digital signatures, report generation, database records management, ja official SLA support.

🏗️ ARCHITECTURE

Kuidas OpenKM on üles ehitatud

Understanding the technology under the hood.

🏗️ OpenKM Technology Stack

🌐 Web Browser (Client)
HTML5, CSS3, JavaScript — GWT (Google Web Toolkit)
⬇️
⚡ REST + SOAP + WebDAV APIs
Integration layer — connect any system
⬇️
☕ Java Application (Spring Framework)
Business logic, workflow engine, search, security
⬇️
🔍 Apache Lucene / Hibernate Search
Full-text indexing and search engine
⬇️
🗄️ Andmebaas + failisüsteem
PostgreSQL / MySQL / H2 ja failisalvestus kettal
⬇️
🖥️ Apache Tomcat (rakendusserver)
Runs on Linux, Windows, macOS — any Java-capable server

🔧 Tehnilised näitajad

Keel
Java (100%)
Framework
Spring Framework + GWT
Database
PostgreSQL, MySQL, H2, Oracle
Search Engine
Apache Lucene
Server
Apache Tomcat
Litsents
GPL v2 (Community)
Operatsioonisüsteemide tugi
Linux, Windows, macOS, Docker
API-d
REST, SOAP, WebDAV, CMIS

🔌 API näited — lõimi kõigega

OpenKM-i REST API võimaldab automatiseerida dokumenditoiminguid mis tahes programmeerimiskeeles:

📤 Laadi dokument üles
POST /api/document/create
🔍 Otsi dokumente
GET /api/search/find?query=invoice+2024
📥 Laadi fail alla
GET /api/document/getContent/{docId}
🏷️ Add Metadata
POST /api/property/addGroup/{docId}
🔐 Määra õigused
POST /api/auth/grantRole/{nodeId}
📋 Loetle kausta sisu
GET /api/folder/getChildren/{folderId}
Python: Upload a document to OpenKM
# pip install requests import requests url = "http://localhost:8080/OpenKM/api/document/createSimple" auth = ("okmAdmin", "admin") files = {"content": open("invoice.pdf", "rb")} data = {"docPath": "/okm:root/Invoices/2024/invoice.pdf"} response = requests.post(url, auth=auth, files=files, data=data) print(response.json()) # ✅ Dokument üles laaditud koos täielike metaandmete ja indekseerimisega!
⚡ INSTALLATION

Kuidas paigaldada OpenKM

Three methods — from Docker (5 min) to full production server.

🐳 Option 1: Docker (Fastest — 5 Minutes)

Run OpenKM with Docker
# Tõmba ja käivita OpenKM Community Edition $ docker run -d --name openkm \ -p 8080:8080 \ openkm/openkm-ce:latest # Oota käivitumist 2-3 minutit... # Ava brauser → http://localhost:8080/OpenKM # Sisselogimine: okmAdmin / admin # 🎉 OpenKM töötab! Alusta dokumentide üleslaadimist.
✅ Best for

Testing, evaluation, development, small teams, personal use, learning. Docker makes it trivial to get started without configuring Java or databases.

☕ Option 2: Standalone Installer (Medium — 20 Minutes)

1
Install Java 11+ (JDK): sudo apt install openjdk-11-jdk
2
Download OpenKM from openkm.com → Downloads → Community
3
Extract the ZIP file → navigate to the bin/ folder
4
Run ./startup.sh (Linux) või startup.bat (Windows)
5
Ava brauser → http://localhost:8080/OpenKM → Login: okmAdmin / admin
💡 Note

The standalone installer includes embedded Tomcat and H2 database. For production, switch to PostgreSQL or MySQL for better performance and reliability.

🖥️ Valik 3: täielik tootmiskeskkonna server (edasijõudnutele — 1–2 tundi)

Production setup on Ubuntu/Linux
# Paigalda Java + PostgreSQL $ sudo apt update $ sudo apt install openjdk-11-jdk postgresql # Loo andmebaas $ sudo -u postgres createdb okmdb $ sudo -u postgres psql -c "CREATE USER okmuser WITH PASSWORD 'StrongPass123';" $ sudo -u postgres psql -c "GRANT ALL ON DATABASE okmdb TO okmuser;" # Paigalda Tomcat 9 $ sudo apt install tomcat9 # Laadi alla OpenKM-i WAR-fail ja juuruta see $ sudo cp OpenKM.war /var/lib/tomcat9/webapps/ # Seadista OpenKM kasutama PostgreSQL-i # Muuda faili OpenKM.cfg → määra hibernate.dialect väärtuseks PostgreSQL # Määra ühendusstringiks jdbc:postgresql://localhost/okmdb # Taaskäivita Tomcat $ sudo systemctl restart tomcat9 # Ligipääs: http://your-server:8080/OpenKM
🏢 Production recommendations

Miinimum: 4GB RAM, 2 CPU cores, 50GB SSD. Recommended: 8GB+ RAM, 4+ cores, SSD storage. Use PostgreSQL (not H2) for production. Set up regular backups. Configure reverse proxy (Nginx/Apache) with HTTPS via Let's Encrypt.

💼 VÄLJAANDED

Kogukonnaväljaanne ja ettevõtteväljaanne

🔓 Kogukonnaversioon (tasuta — GPL v2)
  • ✅ Document storage & folders
  • ✅ Full-text search (Lucene)
  • ✅ Version control
  • ✅ Metadata & categories
  • ✅ Basic workflow engine
  • ✅ Role-based access control
  • ✅ Audit trail
  • ✅ WebDAV access
  • ✅ REST + SOAP APIs
  • ✅ Notifications & subscriptions
  • ✅ Document templates
  • ✅ Check-in / check-out
  • ✅ Trash & recovery
  • ✅ Multi-language interface
🏢 Enterprise Edition (Paid)
  • ⭐ All Community features PLUS:
  • ⭐ OCR-mootor (paberi skannimine → otsitav tekst)
  • ⭐ Barcode recognition
  • ⭐ LDAP / Active Directory integration
  • ⭐ Visual workflow designer (BPMN)
  • ⭐ Email capture & archiving
  • ⭐ Digital signatures
  • ⭐ Report generator
  • ⭐ Record management
  • ⭐ Database records module
  • ⭐ MS Office'i / LibreOffice'i integratsioon
  • ⭐ Stamp/watermark
  • ⭐ Ametlik tugi ja SLA
  • ⭐ Training & consulting
Community
$0
Professionaalne
~$4,000/yr
Enterprise
~$8,000–$15,000/yr
⚔️ COMPARISON

OpenKM võrreldes alternatiividega

Feature🔵 OpenKM (tasuta)🟢 Alfresco (tasuta)🟠 SharePoint🔴 M-Files🟣 DocuWare
Cost$0$0 (CE)$5–$23 kasutaja kohta kuus$39+ kasutaja kohta kuusCustom ($$$)
Avatud lähtekood✅ GPL v2✅ LGPL❌❌❌
Self-Hosted✅✅⚠️ On-prem option (expensive)⚠️ Both❌ Cloud only
Full-Text Search✅ Lucene✅ Solr✅✅✅
Version Control✅✅✅✅✅
Workflow✅ Basic (Ent: BPMN)✅ Activiti✅ Power Automate✅✅
OCR⭐ Enterprise only⭐ Enterprise onlyVia add-on✅✅
API✅ REST + SOAP + WebDAV✅ REST + CMIS✅ Graph API✅✅
ÕppimiskõverKeskmineKeskmine kuni kõrgeHigh (complex)KeskmineKeskmine
Data Ownership✅ 100% yours✅ 100% yours❌ Microsoft servers⚠️ Depends❌ Cloud
💡 When to Choose OpenKM

Choose OpenKM when: you need a straightforward DMS that's easy to deploy, you want full data control (self-hosted), you have a modest budget, and you need strong search and version control. Choose Alfresco when: you need heavier ECM features (records management, complex workflows) and have Java developers. Avoid SharePoint when: you're not already deep in the Microsoft ecosystem — it's complex, expensive, and locks you in.

🏢 USE CASES

Who Uses OpenKM and How?

⚖️

Law Firms

Case files, contracts, court documents, client correspondence. Search across thousands of cases in seconds. Version-controlled legal drafts. Retention policies for compliance.

🏥

Tervishoid

Patsientide terviselood, laboritulemused, meditsiinipildid ja vastavusdokumendid. HIPAA-ga kooskõlas olevad juurdepääsukontrollid. Auditijäljed regulatiivsete nõuete täitmiseks. Turvaline jagamine osakondade vahel.

🏛️

Government

Citizen records, permits, legislative documents, internal memos. Freedom of information request management. Long-term archiving with retention policies.

🏭

Tootmine

ISO quality documents, SOPs, engineering drawings, supplier contracts. Version-controlled manuals. Workflow for document approval processes.

🎓

Haridus

Research papers, theses, administrative documents, student records. Academic publishing workflows. Library document archives.

💰

Finance & Accounting

Invoices, receipts, tax documents, financial reports. OCR scans paper invoices into searchable records. Audit-ready document trails.

🏗️

Construction & Engineering

Project plans, blueprints, RFIs, change orders, safety documents. Large file handling. Collaborative review and markup.

👥

HR Departments

Employee files, contracts, evaluations, training records, policy documents. Secure access per employee. Automated onboarding document workflows.

🕌

Mošeed ja islamiühendused

Fatwa archives, donation records, event documents, membership files, educational materials. Organize years of institutional knowledge searchably.

🌍 Real Deployment: Spanish Government Agency

Hispaania piirkondlik valitsusasutus läks füüsilistelt arhiiviruumidelt (üle 200,000 paberdokumendi) üle OpenKM-ile. Digiteerimisprojekt kestis 6 kuud. Tulemus: dokumendid, mille leidmiseks varem kulus 30–60 minutit leidmiseks now take 5 seconds. Nad kaotasid vajaduse 3 füüsilise arhiiviruumi järele, säästes €40,000/year in storage rent alone. Citizen requests that took weeks now get answered in hours.

🏭 Real Deployment: Manufacturing Company (Italy)

ISO 9001 sertifikaadiga Itaalia tootmisettevõte kasutas OpenKM-i kvaliteedidokumentide haldamiseks. Varem nõudis iga ISO-audit nädalaid ettevalmistust — dokumentide kogumist failiserveritest, e-kirjadest ja paberkappidest. OpenKM-iga vähenes auditi ettevalmistusaeg võrreldes varasemaga 3 nädalalt 2 päevale. Audiitor sai auditi enda käigus dokumente reaalajas otsida ja kontrollida.

💡 SUCCESS TIPS

OpenKMi kohandamine oma organisatsioonile

✅ 1. Design Your Folder Structure FIRST

Before uploading a single document, plan your folder hierarchy. Most organizations use: Department → Year → Document Type (nt /Finance/2024/Invoices/). Või: Client → Project → Phase (nt /ClientA/ProjectX/Design/). Halba kaustastruktuuri on hiljem raske muuta — panusta alguses aega.

✅ 2. Use Metadata, Not Just Folders

Folders are limited — a document can only be in ONE folder. But metadata is unlimited — tag a document as "Invoice" + "ClientA" + "2024" + "Paid" + "€5,000" → now you can search by ANY of those fields. Use OpenKM's Property Groups (kohandatud metaandmeskeemid), et dokumente õigesti liigitada. See eristab dokumendihaldussüsteemi failiserverist.

✅ 3. Set Up Naming Conventions

Enforce consistent file naming: DATE_TYPE_DESCRIPTION.ext (nt „2024-03-15_Invoice_ClientA_March.pdf”). Nii on dokumendid sorditavad, otsitavad ja inimestele arusaadavad ka väljaspool OpenKMi. Dokumenteeri oma nimetamisreeglid ja koolita meeskonda.

✅ 4. Configure Permissions Early

Before adding users, plan your permission structure. Who can see what? Can interns see financial documents? Can clients access their project folder? Use roles (mitte üksikute kasutajate õigusi) — nii on palju lihtsam hallata. Mõtle: „Mida peaks uus töötaja esimesel päeval nägema?”

✅ 5. Automate What You Can

Use OpenKM's automation rules: auto-file emails to correct folders based on sender. Auto-assign metadata based on document type. Auto-notify managers when contracts expire. Workflow for document approval. The more you automate, the less human error you get.

✅ 6. Train Your Users

The #1 reason DMS implementations fail: users weren't trained and revert to old habits (email attachments, desktop folders, USB drives). Run a 2-hour training session. Create a "Quick Start Guide" PDF. Appoint a "Document Champion" in each department. Resistance to change is the real enemy — not the software.

🔗 LÕIMINGUD

OpenKM ühendub kõigega

📧

Email (IMAP/SMTP)

Archive emails automatically. Capture attachments as documents.

📝

LibreOffice / MS Office

Edit documents directly in your office suite. Check out → edit → check in.

🔍

OCR (Tesseract)

Enterprise: scan paper → searchable PDF. Uses open-source Tesseract engine.

🔐

LDAP / Active Directory

Enterprise: single sign-on with your existing directory. Sync users automatically.

💼

ERP (Odoo, SAP)

Attach documents to ERP records. Link invoices to purchase orders.

🤖

n8n / Zapier

Automate document workflows with external triggers via REST API.

📊

Reporting Tools

Enterprise: generate reports from document metadata. Custom dashboards.

📱

Mobile / WebDAV

Juurdepääs igast seadmest. Ühenda töölaual võrgukettana.

🔌 REST API võimalused

OpenKM-i REST API tähendab, et saad selle ühendada sõna otseses mõttes IGA süsteemiga. Pythoni skript võib e-kirjadest arveid automaatselt üles laadida. Veebirakendus saab otsida OpenKM-i dokumente. ERP saab salvestada sinna ostutellimusi. Mobiilirakendus saab skannida ja talletada kviitungeid. API on integreerimise supervõime.

📄🔍🏢

Your Documents. Korrastatud. Searchable. Yours.

OpenKM muudab hajali failide kaose korrastatud, otsitavaks ja turvaliseks digiraamatukoguks. Enam pole kadunud lepinguid, valesid versioone ega 30-minutilisi dokumendiotsinguid. Kõik, mida organisatsioon on loonud — leitav sekunditega, sinu kontrolli all ja sinu omandis.

📁
Korrastatud
🔍
Searchable
🔐
Turvaline
🔓
Avatud lähtekood

«وَأَلَنَّا لَهُ الْحَدِيدَ»

OpenKM muudab dokumendikaose jäikuse korrastatud teadmisteks. Kui dokumendid on hallatud, muutub organisatsioon tugevamaks. ✨