Installation Guide
Complete guide to installing and configuring the Mattermost PDF Dekont Parser Plugin.
Table of contents
- Prerequisites
- Installation Methods
- Configuration
- Verification
- Troubleshooting
- Uninstallation
- Next Steps
- Support
Prerequisites
Before installing the plugin, ensure you have:
- Mattermost Server v6.0.0 or higher
- System Administrator privileges in Mattermost
- Plugin uploads enabled in System Console
Compatibility Matrix
Mattermost Version | Plugin Version | Status |
---|---|---|
v6.0.0+ | v1.0.0+ | ✅ Supported |
v5.x | - | ❌ Not supported |
Installation Methods
Method 1: Pre-built Release (Recommended)
This is the easiest way to install the plugin.
Step 1: Download
- Go to the Releases page
- Download the latest
mattermost-dekont-plugin-X.X.X.tar.gz
file
Step 2: Upload to Mattermost
- Navigate to System Console → Plugins → Management
- Click Choose File and select the downloaded
.tar.gz
file - Click Upload
- Wait for the upload progress to complete
Step 3: Enable Plugin
- Find “PDF Dekont Parser” in the installed plugins list
- Click Enable button
- Verify the plugin status shows as “Running”
Method 2: Build from Source
For developers or advanced users who want to build from source.
Step 1: Clone Repository
git clone https://github.com/SkyLostTR/mattermost-dekont-plugin.git
cd mattermost-dekont-plugin
Step 2: Install Dependencies
go mod download
Step 3: Build Plugin
# Using Make (recommended)
make build
make bundle
# Or manually
GOOS=linux GOARCH=amd64 go build -o plugin
mkdir -p dist/server
cp plugin dist/server/plugin-linux-amd64
chmod +x dist/server/plugin-linux-amd64
cp plugin.json dist/
cd dist && tar -czf ../mattermost-dekont-plugin-1.0.0-linux.tar.gz *
Step 4: Install Built Plugin
Follow steps 2-3 from Method 1 using your built .tar.gz
file.
Configuration
System Console Settings
After installation, you can configure the plugin:
- Go to System Console → Plugins → PDF Dekont Parser
- Configure available settings (currently minimal configuration required)
Plugin Settings
Setting | Default | Description |
---|---|---|
Enable Plugin | false |
Enable/disable the plugin |
Debug Logging | false |
Enable detailed debug logs |
Verification
Test Installation
- Upload a Test PDF:
- Go to any Mattermost channel
- Upload a PDF bank receipt
- Check if the plugin processes it automatically
- Check Server Logs:
Look for entries like: [INFO] PDF Dekont Parser: Plugin activated successfully [INFO] PDF Dekont Parser: Processing PDF file: filename.pdf
- Verify Plugin Status:
- System Console → Plugins → Management
- Plugin should show status “Running” with green indicator
Troubleshooting
Common Issues
Plugin Not Activating
Symptoms: Plugin shows as “Failed” or doesn’t start
Solutions:
- Check Mattermost server logs:
tail -f /opt/mattermost/logs/mattermost.log
- Verify Mattermost version compatibility
- Ensure plugin uploads are enabled in System Console
- Try re-uploading the plugin
PDF Files Not Being Processed
Symptoms: PDFs upload but no extraction occurs
Solutions:
- Check file format (must be PDF)
- Verify the PDF contains text (not scanned images)
- Check server logs for processing errors
- Ensure the PDF is from a supported bank
Missing Transaction Fields
Symptoms: Some fields not extracted from PDF
Solutions:
- Check if your bank format is supported
- Submit a bank support request
- Enable debug logging for detailed extraction info
Error Messages
“Plugin failed to start”
- Cause: Usually a configuration or dependency issue
- Fix: Check system requirements and re-upload plugin
“PDF processing failed”
- Cause: Malformed PDF or unsupported format
- Fix: Try with different PDF or check bank support
“Permission denied”
- Cause: Insufficient file system permissions
- Fix: Check Mattermost server file permissions
Uninstallation
To remove the plugin:
- Go to System Console → Plugins → Management
- Find “PDF Dekont Parser” in the list
- Click Disable to stop the plugin
- Click Remove to uninstall completely
Next Steps
After successful installation:
Support
Need help with installation?