Skip to content

4.7.0 After triggering the automatic update a fatal error occurres #18724

@narfk

Description

@narfk

After triggering the automatic update a fatal error occurres

Expected Behavior

Upgrade to Matomo 4.7.0 with the well-known dialogue (Datebase update needed or similar)

Current Behavior

After the upgrade this dialog is displayed:

A fatal error occurred

Please contact the system administrator, or login to Matomo to learn more.

If you are Super User, but cannot login because of this error, you can still troubleshoot further. Follow these steps:
1) open the config/config.ini.php file and look for the salt value under [General].
2) edit this current URL you are viewing and add the following text (replacing salt_value_from_config by the salt value from the config file):

index.php?i_am_super_user=SALT&....

The upgrade is performed with a superuser!
According to the steps of the dialogue this happens:

A fatal error occurred

The following error just broke Matomo (v4.7.0):

File `../../CoreHome/vue/src/MenuDropdown/MenuDropdown.less` not found. in anonymous-file-0.less
in /srv/www/DocRoot/piwik/core/AssetManager/UIAssetMerger/StylesheetUIAssetMerger.php line 53            

Troubleshooting
Follow these steps to solve the issue or report it to the team:

    If you have just updated Matomo to the latest version, please try to restart your web server. This will clear the PHP opcache which may solve the problem.
    If this is the first time you see this error, please try refresh the page.
    If this error continues to happen, we appreciate if you send the error report to the Matomo team.

Further troubleshooting

If this error continues to happen, you may be able to fix this issue by disabling one or more of the Third-Party plugins. If you don't know which plugin is causing this error, we recommend to first disable any plugin not created by "Matomo" and not created by "InnoCraft". You can enable plugin again afterwards in the Plugins or Themes page under settings at any time.

CustomVariables 	4.0.1 	deactivate
InvalidateReports 	4.0.1 	deactivate
LoginTokenAuth 	4.0.0 	deactivate
MarketingCampaignsReporting 	4.1.1 	deactivate
Provider 	4.0.3 	deactivate

Possible Solution

No idea

Steps to Reproduce (for Bugs)

  1. Matomo 4.6.2
  2. Click automatich update to 4.7

Your Environment

  • Matomo Version: 4.6.2
  • Matomo Update History: 4.6.2,4.6.1,4.5.0,4.4.1,4.3.1,4.3.0-b3
  • PHP Version: 8.0.15
  • Memory limit: 2048M
  • Server Operating System: 5.10.76-linuxkit
  • PHP Disabled functions:
    pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
  • PHP INI max_execution_time: 30
  • PHP INI post_max_size: 32M
  • PHP INI max_input_vars: 10000
  • DB Prefix: piwik_
  • DB Charset: utf8mb4
  • MySQL Version: 8.0.28
  • Plugins Activated:
    API, Actions, Annotations, BulkTracking, Contents, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, CustomDimensions, CustomJsTracker, CustomVariables 4.0.1, DBStats, Dashboard, DevicePlugins, DevicesDetection, Diagnostics, Ecommerce, Events, GeoIp2, Goals, Heartbeat, ImageGraph, Insights, Installation, Intl, InvalidateReports 4.0.1, LanguagesManager, Live, Login, LoginTokenAuth 4.0.0, MarketingCampaignsReporting 4.1.1, Marketplace, Monolog, Morpheus, MultiSites, Overlay, PagePerformance, PrivacyManager, Provider 4.0.3, Proxy, Referrers, Resolution, SEO, ScheduledReports, SegmentEditor, SitesManager, Transitions, UserCountry, UserCountryMap, UserId, UserLanguage, UsersManager, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable
    *Plugins Deactivated:
    Feedback, IntranetMeasurable, MobileAppMeasurable, MobileMessaging, ProfessionalServices, RssWidget, TagManager, Tour, TwoFactorAuth, Widgetize
  • Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0

Any advices?

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions