Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when running core:archive with Matomo 4.7.1 WARNING …tcpdf/include/tcpdf_static.php(299) #18879

Open
atom-box opened this issue Mar 4, 2022 · 3 comments
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@atom-box
Copy link

atom-box commented Mar 4, 2022

A user has reported this warning appears during core:archive.
Is it possible to make this go away?
It causes the job to fail, which then causes alerts in the user's job monitoring.

INFO [2022-02-28 09:01:18] 1 Starting Scheduled tasks...
INFO [2022-02-28 09:01:18] 1 Scheduler: executing task Piwik\Plugins\ScheduledReports\API.sendReport_1...
WARNING [2022-02-28 09:01:22] 1 ...tcpdf/include/tcpdf_static.php(299): Notice - tempnam(): file created in the system's temporary directory - Matomo 4.7.1
WARNING [2022-02-28 09:01:22] 1 ...tcpdf/tcpdf.php(7375): Warning - imagepng(/var/www/html/tmp/tcpdf/__tcpdf_bf96ba20a3ed8a3621345ce3e1f573ce_imgmask_alpha_7c46a167016c23507b929c97679089b7): failed to open stream: No such file or directory - Matomo 4.7.1  
WARNING [2022-02-28 09:01:22] 1 /var/www/html/vendor/.../tcpdf/tcpdf.php(7380): Warning - imagepng(/var/www/html/tmp/tcpdf/__tcpdf_bf96ba20a3ed8a3621345ce3e1f573ce_imgmask_plain_7c46a167016c23507b929c97679089b7): failed to open stream: No such file or directory - Matomo 4.7.1
@atom-box atom-box added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Mar 4, 2022
@sgiehl
Copy link
Member

sgiehl commented Mar 4, 2022

@atom-box are you able to provide some more details on the system where that happens?
We actually have configured tcpdf to use a custom path, so tempnam shouldn't throw a notice.
Did they maybe configure path.tmp to the systems tmp directory?

@MatomoForumNotifications

This issue has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/tcpdf-error-when-running-core-archive-with-version-4-7-1/45003/3

@Starker3
Copy link
Contributor

Starker3 commented Mar 7, 2022

FYI the forum post linked here is for the same end user. I'll update this issue once I have further details on this.
For more info though, they are running Matomo on a Multi server setup.

@sgiehl sgiehl added Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

5 participants