7. Report a bug recommendations - Pipepito/acestream-scraper GitHub Wiki
Bug Reporting Guide
Encountering bugs is an inevitable part of software development. This guide will help you report bugs effectively so they can be resolved quickly.
Before Reporting a Bug
Before submitting a new bug report, please:
-
Update to the latest version - Many bugs are fixed in newer releases:
# If using Docker Compose docker-compose pull docker-compose up -d # If using Docker directly docker pull pipepito/acestream-scraper:latest docker stop acestream-scraper docker rm acestream-scraper # Then run your container again with the same configuration -
Check the FAQ to see if your issue is already addressed
-
Search existing GitHub Issues to avoid duplicates
-
Try basic troubleshooting steps mentioned in the FAQ
Required Information
Version Details
Always include the exact version you're using:
-
Docker image tag: (e.g.,
pipepito/acestream-scraper:latest,pipepito/acestream-scraper:1.2.3)docker inspect pipepito/acestream-scraper:latest | grep "Image ID" -
Version in web interface: Check the footer of the web interface which should display the current version
Environment Information
- Operating System: (e.g., Ubuntu 22.04, Windows 11, macOS 13)
- Docker version:
docker --version - Docker Compose version (if applicable):
docker-compose --version - Browser and version (if UI-related): (e.g., Chrome 114, Firefox 115)
Deployment Method
Describe how you deployed the application:
- Docker Compose
- Direct Docker run command
- Manual installation
- Include your
docker-compose.ymlfile or Docker run command with sensitive information removed
Problem Description
- Clear summary: A concise description of the issue
- Steps to reproduce: Numbered, specific steps that lead to the bug
1. Navigate to http://localhost:8000 2. Click on "Add URL" 3. Enter URL: example.com 4. Click submit - Expected behavior: What should happen
- Actual behavior: What actually happens
- Frequency: Does it happen every time or intermittently?
- Screenshots: If applicable, especially for UI issues
How to Collect Logs
Logs are crucial for diagnosing issues. Here's how to collect them:
Docker Container Logs
# Last 100 lines
docker logs --tail 100 acestream-scraper
# All logs since container start
docker logs acestream-scraper > acestream-scraper-logs.txt
# Logs with timestamps
docker logs --timestamps acestream-scraper
Application-Specific Logs
The application logs are stored inside the container at /app/logs:
# Copy logs from container to host
docker cp acestream-scraper:/app/logs ./acestream-scraper-logs
# View specific log file
docker exec acestream-scraper cat /app/logs/app.log
Health Check Information
curl http://localhost:8000/health
Common Debugging Steps
Try these steps to gather more information about your issue:
-
Check Acestream Engine status:
curl http://localhost:6878/server/version -
Check Acexy status (if enabled):
curl http://localhost:8080/ace/status -
Check database integrity:
docker exec acestream-scraper python -c "from app.extensions import db; print('Database connection:', db.engine.connect())" -
Verify network connectivity (if channels are offline):
docker exec acestream-scraper ping -c 3 google.com
Submitting Your Bug Report
- Go to GitHub Issues
- Click "New Issue"
- Choose "Bug Report" template if available
- Fill in the details using the information you've gathered
- Use a descriptive title that summarizes the issue
- Submit the issue
Bug Report Template
Use this template to structure your bug report:
## Bug Description
[Clear description of the bug]
## Version Information
- Docker image: [tag]
- OS: [your OS]
- Docker version: [version]
- Browser (if applicable): [browser and version]
## Deployment Method
[How you deployed the application]
## Steps to Reproduce
1. [First Step]
2. [Second Step]
3. [...]
## Expected Behavior
[What should happen]
## Actual Behavior
[What actually happens]
## Screenshots
[If applicable]
## Logs
[Paste relevant logs here]
## Additional Information
[Any other information that might be useful]
After Submitting
- Be responsive to questions from maintainers
- Be prepared to provide additional information if requested
- If you discover more information about the bug after submitting, add it as a comment
Remember, the more detailed and clear your bug report is, the faster the developers can fix the issue!