Running version v5.3.48-C72 when I try to create a pdf I get a 500 server error.
I installed snappdf using composer as per instructions on the github page
In storage / logs I get
[2022-01-19 18:39:01] production.ERROR: file_get_contents(https://invoices.xxxxx.com//storage/0ZauuBKJAQdQk6nk72lRlBmFVsdfcNDKEoHofwGGGxZLhSfTb30oMepZthiMU6P3/A6dfu7ii4QRsPyZYaBBOQossXnhCn37YdrT1z07x.png): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found {"userId":1,"exception":"[object] (ErrorException(code: 0): file_get_contents(https://invoices.xxxxx.com//storage/0ZauuBKJAQdQk6nk72lRlBmFVsdfcNDKEoHofwGGGxZLhSfTb30oMepZthiMU6P3/A6dfu7ii4QRsPyZYaBBOQossXnhCn37YdrT1z07x.png): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found at /var/www/html/websites/xxxxxx/invoices.xxxxx.com/app/Models/Presenters/CompanyPresenter.php:69) [stacktrace]
my .env file :
`APP_NAME=“Invoice Ninja”
APP_ENV=production
APP_KEY=base64:REDACTED
APP_DEBUG=false
APP_URL=https://invoices.xxxxx.com/
DB_CONNECTION=mysql
MULTI_DB_ENABLED=false
DB_HOST=localhost
DB_DATABASE=invoice_ninja_5_jf
DB_USERNAME=ninjauser
DB_PASSWORD=thepassword
DB_PORT=3306
DEMO_MODE=false
BROADCAST_DRIVER=log
LOG_CHANNEL=stack
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
#REDIS_HOST=127.0.0.1
#REDIS_PASSWORD=null
#REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=redacted
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME=“me”
POSTMARK_API_TOKEN=
REQUIRE_HTTPS=false
GOOGLE_MAPS_API_KEY=AIzaSyC53bRedacted
ERROR_EMAIL=
TRUSTED_PROXIES=
NINJA_ENVIRONMENT=selfhost
#options - snappdf / phantom / hosted_ninja
PDF_GENERATOR=snappdf
PHANTOMJS_KEY=‘a-demo-key-with-low-quota-per-ip-address’
PHANTOMJS_SECRET=secret
UPDATE_SECRET=secret
COMPOSER_AUTH=’{“github-oauth”: {“github.com”: “${{ secrets.GITHUB_TOKEN }}”}}’
SENTRY_LARAVEL_DSN=https://xxx
`
Would be grateful if anyone can point me in any direction. Thank You