-
Notifications
You must be signed in to change notification settings - Fork 12
Support
- General Troubleshooting Tips
- Common Issues and Solutions
- Installation Issues
- Scanning Issues
- Ollama Model Download Issues
Here's a comprehensive troubleshooting wiki for reNgine-ng based on the support channel discussions:
- Check logs:
make logs
make logs | grep celery
- Verify permissions:
sudo docker run --rm -v rengine_tool_config:/data alpine sh -c "ls -lh /data"
- Clean installation (container, volumes, images ...):
./scripts/uninstall.sh
- Use debug mode:
make dev_up
Error:
celery-1 | Error: Invalid value for '-A' / '--app':
celery-1 | Unable to load celery application.
celery-1 | While trying to load the module reNgine.tasks the following error occurred:
celery-1 | PermissionError: [Errno 13] Permission denied: '/home/rengine/rengine/secret'
Solution:
# Access container as root
docker exec -it --user root rengine-celery-1 /bin/bash
# Fix permissions
chown -R rengine:rengine /home/rengine/rengine
# Exit container
exit
# Restart container
docker restart rengine-celery-1
Error:
PermissionError: [Errno 13] Permission denied: '/home/rengine/scan_results'
Solution:
# Fix scan_results permissions
docker exec -it --user root rengine-celery-1 /bin/bash
chown -R rengine:rengine /home/rengine/scan_results
exit
# Fix tools permissions
docker exec -it --user root rengine-celery-1 /bin/bash
chown -R rengine:rengine /home/rengine/tools
exit
Error:
Error: could not find config file at /home/rengine/.config/subfinder/config.yaml
Solution:
# Create config directory
docker exec -it --user rengine rengine-celery-1 /bin/bash
mkdir -p ~/.config/subfinder/
touch ~/.config/subfinder/config.yaml
exit
# Restart celery
docker-compose restart celery
For any persistent issues, you can check the logs:
# Check web logs
docker-compose logs web
# Check celery logs
docker-compose logs celery
# Check celery beat logs
docker-compose logs celery-beat
Problem: Certificate generation fails during installation
Solution:
cd ./docker
docker buildx build -t ghcr.io/security-tools-alliance/rengine-ng:rengine-certs-v2.1.0 -f ./certs/Dockerfile ./certs
Problem: Celery container fails to start or takes too long
Causes:
- Permission issues with volumes
- Wrong user/group IDs
- Missing secret directory
Solutions:
- Fix volume permissions:
sudo docker run --rm -v rengine_tool_config:/data alpine sh -c "chown -R 1000:1000 /data"
sudo docker run --rm -v rengine_wordlist:/data alpine sh -c "chown -R 1000:1000 /data"
- Verify user has correct GID (1000)
Problem: urls_unfurled.txt is empty causing Nuclei scans to fail
Solutions:
- Verify scan engine configuration
- Check target URL format (avoid www prefix)
- Ensure subdomain discovery tools are enabled
Problem: Directory fuzzing ignores rate limits
Solution:
- Configure rate limits per tool in scan engine
- Use recommended default values
Problem: No vulnerabilities found or scan fails
Solutions:
- Update Nuclei templates
# Access celery container as rengine user
docker exec -it rengine-celery-1 /bin/bash
# Update Nuclei templates
nuclei -update-templates
- Check scan engine configuration
- Verify target accessibility
- Review logs for errors
Problem: SSL certificate problems
Solutions:
- Rebuild proxy container:
cd ./docker
docker buildx build -t ghcr.io/security-tools-alliance/rengine-ng:rengine-proxy -f ./proxy/Dockerfile ./proxy
- Configure custom SSL certificates
Problem: Securely accessing remote instance
Solutions:
- SSH Tunnel:
ssh -L 8443:localhost:443 user@rengine-ng-server -N
- Use WireGuard VPN
- Configure proper firewall rules
- Backup .env file
- Switch to release branch:
git checkout release/2.1.0
git pull origin release/2.1.0
- Copy .env-dist to .env and update credentials
- Run installation:
sudo ./install.sh
- Fix permissions
- Start services:
make up
Je vais ajouter une section sur le dépannage des erreurs de téléchargement de modèles Ollama :
Problem: Unable to download language models through the web interface
Error: Download fails or times out when trying to pull models like llama2 or codellama
- Access the Ollama container:
docker exec -it rengine-ollama-1 bash
- Download the model directly using Ollama CLI:
ollama pull llama2
# or for code specific tasks
ollama pull codellama
- Verify model installation:
ollama list
- Insufficient Storage
- Check available space:
docker exec -it rengine-ollama-1 df -h
- Clean up unused models:
ollama rm <model_name>
- Network Timeout
- Download with retry:
while ! ollama pull llama2; do echo "Retrying..."; sleep 5; done
- Memory Constraints
- Verify container memory limits:
docker stats rengine-ollama-1
- Adjust memory allocation in docker-compose if needed:
services:
ollama:
deploy:
resources:
limits:
memory: 16G
- Model Verification After download, test the model:
ollama run llama2 "Hello, are you working?"
Remember that model downloads can be large (several GB) and may require significant bandwidth and storage space. Always ensure your system meets the minimum requirements for the specific model you're trying to use.
- Home - Introduction to reNgine-ng with workflows and features
- Installation - Install reNgine-ng in different ways
- Usage - Common usage and best practices
- Backup-Restore - Backup and restore reNgine-ng easily
- Dependencies - Information about used third-party libraries and tools
- Security - Security best practices and reporting issues
- Support - Troubleshooting guide and common issues
- Changelog - Complete changelog
- Community - Get help on social networks
- Contributing - How to contribute to the project
- Presentations - Materials regarding reNgine presented at conferences
- Screenshots - Collection of screenshots demonstrating features