Tenant CDR Pdf error

Hi,

When I’m using my admin account and go to tenant’s CDR, I can see the cdr and can export to csv fine.

When I try to export PDF I get an error.

imagepng(/var/lib/vitalpbx/static/9f1763gfz1892f9b/pdf/pdf-1672380077-logo.png): Failed to open stream: Permission denied at file /usr/share/vitalpbx/www/includes/components/files/canvas.php on line 0</p>
Error Trace</legend>\n\t\t\t\t\t

Seems to be regarding a missing Logo.

Try

vitalpbx check-integrity

This is a fresh V4 install, there where some issue with some mixed up ownership of some other folder, but nothing related to those in this problem.

Tested and it’s still bugged.

1 Like

The command below should fix your issue:

chown www-data:www-data /var/lib/vitalpbx/static/9f1763gfz1892f9b/pdf/

Any new tenant created still have the same Issue. This is a VitalPBX issue that doesn’t set the right permissions from the begining

1 Like

i try fix step.
but same issue here too