What type of hardware are you using: Other(?)
What YunoHost version are you running: YunoHost 12.0.11
What app is this about: Invoiceninja v5.11.36
Describe your issue
After updating invoiceninja some times ago the logo is no more viisble in my invoice form. Neither in preview, nor in generated PDF.
I read old discussions on this forum (like Company Logo not display within invoice - Self-Hosted | v5 - Support Forum) but found no solution there.
- in /var/www/invoiceninja/storage/log/laravel.log i found no helpful entries.
- in my .env
PDF_GENERATOR=snappdf
LOCAL_DOWNLOAD=true # did not solve the problem
Instead of the logo for…
<div class="header-container">
<div class="company-logo-container">
<img class="company-logo" src="$company.logo" alt="$company.name logo">
</div>
<div id="company-details"></div>
<div id="company-address"></div>
</div>
…there is only the “alt”-Text visible in preview and PDF.
I had this problem one year ago, so I used a workaround to solve the problem and put
<td>
<img src="/var/www/invoiceninja5/public/storage/KJ074XDIRCgMrPAWGbI8PxuPy0E6ws6L/Logo.png" style="width: 90px; margin-right:1.8rem;">
</td>
in the footer section, at the place where the logo should be. This worked fine for last year, but this did not work anymore and the “normal” way with
<img class="company-logo" src="$company.logo" alt="$company.name logo">
also doesn’t work.
I would be thankful for any help!
Ralph
Share relevant logs or error messages
I didn’t find any hints in the log.