After upgrading to the latest Matomo version I get errors about missing PHP-libraries like these:
matomo-cron_1 | INFO [2023-06-16 06:59:05] 8 Error: Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=79&period=year&date=2023-01-01&format=json&trigger=archivephp: ‘PHP Warning: PHP Startup: Unable to load dynamic library ‘gd
.so’ (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/gd.so (libpng16.so.16: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/gd.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/gd.so.so
: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘zip.so’ (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so (libzip.so.4: cannot open shared object file: No such file or
directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 {“idarchives”:[5334231],“nb_visits”:409}’
There are also generated images missing in the interface.
When I install the libraries manually in the matomo-app container the cron-jobs start working again, but the images remain empty. Can somebody help me find out what the problem might be?