You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen really strange error messages since a while in our Apache log which have no timestamp or what so ever.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
'groups' is not recognized as an internal or external command,
operable program or batch file.
After checking every application i finally found the problem in Matomo (Current version).
which at the end tries to execute a groups command on the host, which not exist on windows.
This fill up our apache error log with those error messages.
It is a glitch in the updater and a matomo dev, that knows that system, should patch that. I am not sure what is the best way to do this.
Hi @brainfoolong
Thanks for your detailed bug report. Guess it makes sense to adjust the Filechecks::getAutoUpdateMakeWritableMessage method, so it only performs the methods that work on windows. I will have a quick look and check if I'm able to provide a simple fix for this.
sgiehl
added
Bug
For errors / faults / flaws / inconsistencies etc.
and removed
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
labels
Jan 11, 2022
justinvelluppillai
changed the title
Error when calling newVersionAvailable from CoreUpdater on Windows
Hide commands that don't work on windows
Feb 1, 2022
I've seen really strange error messages since a while in our Apache log which have no timestamp or what so ever.
After checking every application i finally found the problem in Matomo (Current version).
The call stack from
matomo/plugins/CoreUpdater/Controller.php
Line 126 in ec3e220
which has a stack of
matomo/plugins/CoreUpdater/Controller.php
Line 158 in ec3e220
matomo/core/Filechecks.php
Line 106 in ec3e220
matomo/core/Filechecks.php
Line 110 in ec3e220
matomo/core/Filechecks.php
Line 213 in ec3e220
matomo/core/Filechecks.php
Line 142 in ec3e220
which at the end tries to execute a
groups
command on the host, which not exist on windows.This fill up our apache error log with those error messages.
It is a glitch in the updater and a matomo dev, that knows that system, should patch that. I am not sure what is the best way to do this.
However, all calls to
matomo/core/Filechecks.php
Line 142 in ec3e220
which executes this shell command are always pre-checked with a check of
!SettingsServer::isWindows()
, except in this case.The text was updated successfully, but these errors were encountered: