Guide to Uninstall Knowledge Module and All Dependencies
⚠️ Important Note
This guide assumes that ALL knowledge-related modules are installed. If some modules are already uninstalled on your system, simply skip those steps. The guide is designed to cover the most complex scenario where all modules are active.
📋 List of Modules to Uninstall
Modules that depend on document_page (uninstall in order):
document_page_approval– Approval system for pagesdocument_page_group– Access groups for documentsdocument_page_portal– Portal access for document pagesdocument_page_project– Project integrationdocument_page_reference– References in document pagesdocument_page_tag– Tags for pages
Base modules:
document_page– Main document pages functionalityknowledge– Base knowledge management module
Independent module (optional):
document_url– Does NOT depend on knowledge; can be kept if desired
🔍 Pre-Verification
1. Check current module status
# Run from your terminal (outside of psql)
psql postgres://odoo:odoo@localhost:5432/communitynaturalfoods-master-963663 \
-c "SELECT name, state FROM ir_module_module WHERE name IN ('knowledge', 'document_page', 'document_page_approval', 'document_page_group', 'document_page_portal', 'document_page_project', 'document_page_reference', 'document_page_tag', 'document_url') ORDER BY name;"
2. Database Backup (Optional)
# Create backup before proceeding
pg_dump -h localhost -p 5432 -U odoo communitynaturalfoods-master-963663 \
> backup_knowledge_$(date +%Y%m%d_%H%M%S).sql
📝 Uninstall Process
Option A: From Odoo Interface (Recommended)
-
Enable developer mode
-
Go to
Settings → Activate Developer Mode -
Uninstall modules in the following order:
-
Go to
Apps → Installed Modules - Search and uninstall each module below in order:
1. document_page_approval
2. document_page_group
3. document_page_portal
4. document_page_project
5. document_page_reference
6. document_page_tag
7. document_page
8. knowledge
Option B: Via Command Line
# Connect to container
make ssh
# Uninstall all document_page dependent modules
odoo -c /etc/odoo/odoo.conf -d communitynaturalfoods-master-963663 \
--update document_page_approval,document_page_group,document_page_portal,document_page_project,document_page_reference,document_page_tag \
--stop-after-init
# Then uninstall document_page
odoo -c /etc/odoo/odoo.conf -d communitynaturalfoods-master-963663 \
--update document_page \
--stop-after-init
# Finally uninstall knowledge
odoo -c /etc/odoo/odoo.conf -d communitynaturalfoods-master-963663 \
--update knowledge \
--stop-after-init
# Exit container
exit
✅ Post-Uninstall Verification
1. Check Final Module Status
# Run from your terminal (outside of psql)
psql postgres://odoo:odoo@localhost:5432/communitynaturalfoods-master-963663 \
-c "SELECT name, state FROM ir_module_module WHERE name LIKE 'knowledge%' OR name LIKE 'document_page%' ORDER BY name;"
All modules should show uninstalled status.
2. Restart Odoo
3. Verify Functionality
- Access Odoo at http://localhost:8065
- Verify critical functions are still working:
- POS
- Inventory
- Accounting
- Sales
⚠️ Important Warnings
- Data Loss: All content created using these modules (pages, tags, references) will be permanently deleted.
-
Safe for CNF Modules: This will NOT affect:
-
connector_cnf_inventory pos_cnfaccount_sage_reportscnf_product_addons- Does Not Affect Enterprise
documentsApp: These modules are unrelated.
📊 Module Summary
| Status | Module | Dependencies | Action |
|---|---|---|---|
| ✅ | document_page_approval |
document_page, mail | Uninstall |
| ✅ | document_page_group |
document_page | Uninstall |
| ✅ | document_page_portal |
portal, document_page | Uninstall |
| ✅ | document_page_project |
project, document_page | Uninstall |
| ✅ | document_page_reference |
document_page, web_editor | Uninstall |
| ✅ | document_page_tag |
document_page | Uninstall |
| ✅ | document_page |
mail, knowledge | Uninstall |
| ✅ | knowledge |
base | Uninstall |
| 🟡 | document_url |
Optional |