Production URL: https://fasterdocs.app
Job ID: prodbugsolver / 9fa7bc63-54e9-4596-a8e8-639daf937dc4
Problem: Our production application has been unable to export PDFs for 8+ hours because the wkhtmltopdf system package is missing from the production container. This is a mission-critical feature for our business.
What We've Tried: Over the past 8 hours, we've attempted multiple approaches to install wkhtmltopdf:
Runtime installation in server.py - broke authentication
Shell script execution - broke project data fetching
Supervisor config modifications - backend failed to start
Multiple variations of above - each broke different core functionality
Every attempt required a rollback because it broke critical features like login or project viewing.
What Works:
Preview environment: We manually installed via sudo apt-get install -y wkhtmltopdf and it works perfectly
We've created /app/apt-packages.txt with wkhtmltopdf listed
However, production deployments are NOT picking up this file
What We Need: Clear instructions on how to properly install system packages like wkhtmltopdf in production deployments on Emergent. Specifically:
Does the platform read apt-packages.txt during builds?
If not, what's the correct method?
How do we trigger a deployment that includes this system dependency?
Business Impact: Our customers cannot export documents to PDF, which is a core product feature. This is causing significant customer dissatisfaction and potential revenue loss.
Urgency: IMMEDIATE - 8+ hours downtime on mission-critical feature
FasterDocs - Agency Automation Platform for streamlined document creation and management