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

[Bug] Cronjob error after update PHP from 8.2 to 8.3 #22783

Open
4 tasks done
Joppla opened this issue Nov 20, 2024 · 0 comments
Open
4 tasks done

[Bug] Cronjob error after update PHP from 8.2 to 8.3 #22783

Joppla opened this issue Nov 20, 2024 · 0 comments
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member

Comments

@Joppla
Copy link

Joppla commented Nov 20, 2024

What happened?

After update PHP from 8.2 to 8.3 I got an error for my cronjob for archiving.

The error message after testing by ssh is:

INFO      [2024-11-13 11:45:05] 3013066  'Got invalid response from API request: 
mydomain.info/piwik/?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-11-12&format=json&trigger=archivephp&. 
Response was \'Missing scheme in given url\''

ERROR     [2024-11-13 11:45:05] 3013066  Error unserializing the following response from
 ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-11-12&format=json&trigger=archivephp: 
'Got invalid response from API request: mydomain.info/piwik/?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2024-11-12&format=json&trigger=archivephp&. 
Response was 'Missing scheme in given url''

And 43 other error messages, but they seem all in the same style.

What can be the reason for “missing scheme giving in url”? When I turn back to 8.2 the error I there not anymore.

At the end, the conclusion is:


In CronArchive.php line 648:
                                                                               
  44 total errors during this script execution, 
  please investigate and try and fix these errors.   

How to investigate and fix the errors?

Is Matomo ready for PHP 8.3?

See also: https://forum.matomo.org/t/cronjob-error-after-update-php-from-8-2-to-8-3/61307

What should happen?

no errors.

How can this be reproduced?

see above

Matomo version

5.1.2

PHP version

No response

Server operating system

No response

What browsers are you seeing the problem on?

No response

Computer operating system

No response

Relevant log output

No response

Validations

@Joppla Joppla added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member
Projects
None yet
Development

No branches or pull requests

1 participant