-
Notifications
You must be signed in to change notification settings - Fork 18
Support
psyray edited this page Nov 13, 2024
·
3 revisions
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
- 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