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
core:archive fails with "This user has super user access." error response #17797
Comments
Hey @ulope to try and reproduce this could you send us a copy of your system report see https://matomo.org/faq/troubleshooting/how-do-i-find-and-copy-the-system-check-in-matomo-on-premise/ ? The copied report should be anonymised automatically. |
Sure, here you go: Click to view System CheckMandatory checksPHP version >= 7.2.5:✔ 7.4.21 PDO extension:✔ PDO\MYSQL extension:✔ MYSQLI extension:✔ Other required extensions:✔ zlib ✔ SPL ✔ iconv ✔ json ✔ mbstring ✔ Reflection ✔ filter ✔ hash ✔ session Required functions:✔ debug_backtrace ✔ eval ✔ hash ✔ gzcompress ✔ gzuncompress ✔ pack Required PHP configuration (php.ini):✔ session.auto_start = 0 ✔ max_execution_time = 0 OR >= 30 Directories with write access:✔ $DOC_ROOT/tmp ✔ $DOC_ROOT/tmp/assets ✔ $DOC_ROOT/tmp/cache ✔ $DOC_ROOT/tmp/climulti ✔ $DOC_ROOT/tmp/latest ✔ $DOC_ROOT/tmp/logs ✔ $DOC_ROOT/tmp/sessions ✔ $DOC_ROOT/tmp/tcpdf ✔ $DOC_ROOT/tmp/templates_c Optional checksRequired Private Directories:✔ All private directories are inaccessible from the internet. File integrity:✔ Tracker status:✔ Memory limit:✔ 128M Time zone:✔ Open URL:✔ curl PageSpeed disabled:✔ GD > 2.x + Freetype (graphics):✔ Other extensions:✔ json ✔ libxml ✔ dom ✔ SimpleXML ✔ openssl Other functions:✔ shell_exec ✔ set_time_limit ✔ mail ✔ parse_ini_file ✔ glob ✔ gzopen ✔ md5_file Filesystem:✔ Setup Cron (faster report loading):⚠ Warning: For optimal performance and a speedy Matomo, it is highly recommended to set up a crontab to automatically archive your reports, and to disable browser triggering in the Matomo settings. Learn more. Browser and Auto-archiving enabled:⚠ Warning: It looks like both browser and auto archiving are enabled. Auto archiving last started 2 hours 30 min ago. If auto archiving is enabled, you should disable browser archiving in "General Settings". Setup Cron - Managing processes via CLI:not supported (optional) Database abilities:✔ UTF8mb4 charset ✔ LOAD DATA INFILE ✔ CREATE TEMPORARY TABLES ✔ Changing transaction isolation level Max Packet Size:✔ Forced SSL Connection:⚠ Warning: We recommend using Matomo over secure SSL connections only. To prevent insecure access over http, add Geolocation:✔ geoip2php (continent_code, continent_name, country_code, country_name, region_code, region_name, city_name, postal_code, lat, long) Update over HTTPS:✔ Writable JavaScript Tracker ("/matomo.js"):✔ Informational resultsMatomo Version:4.3.1 Matomo Update History:4.3.1, Matomo Install Version:4.3.1 Latest Available Version:4.3.1 Is Git Deployment:0 PHP_OS:Linux PHP_BINARY:/usr/local/sbin/php-fpm PHP SAPI:fpm-fcgi Timezone Version:2021.1 PHP Timezone:UTC PHP Time:1626730336 PHP Datetime:2021-07-19 21:32:16 PHP INI max_execution_time:30 PHP INI post_max_size:8M PHP INI max_input_vars:1000 PHP INI zlib.output_compression:0 Curl Version:7.64.0, OpenSSL/1.1.1d Suhosin Installed:0 DB Prefix:matomo_ DB Charset:utf8mb4 DB Adapter:PDO\MYSQL MySQL Version:10.6.3-MariaDB-1:10.6.3+maria~focal Num Tables:51 Browser Segment Archiving Enabled:1 Development Mode Enabled:0 Internet Enabled:1 Multi Server Environment:0 Auto Update Enabled:1 Custom User Path:0 Custom Include Path:0 Release Channel:latest_stable Plugins Activated:API, Actions, Annotations, BulkTracking, Contents, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CustomDimensions, CustomJsTracker, Dashboard, DevicePlugins, DevicesDetection, Diagnostics, Ecommerce, Events, Feedback, GeoIp2, Goals, Heartbeat, ImageGraph, Insights, Installation, Intl, IntranetMeasurable, LanguagesManager, Live, Login, Marketplace, MobileMessaging, Monolog, Morpheus, MultiSites, Overlay, PagePerformance, PrivacyManager, ProfessionalServices, Proxy, Referrers, Resolution, RssWidget, SEO, ScheduledReports, SegmentEditor, SitesManager, Tour, Transitions, TwoFactorAuth, UserConsole 4.0.0, UserCountry, UserCountryMap, UserId, UserLanguage, UsersManager, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable, Widgetize Plugins Deactivated:CustomVariables, DBStats, MobileAppMeasurable, Provider, TagManager Plugins Invalid:Server Info:Caddy/v2.4.3 Had visits in last 1 day:0 Had visits in last 3 days:0 Had visits in last 5 days:1 Archive Time Last Started:1626721309 Archive Time Last Finished:1626453560 User Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15 Browser Language:en-us Total Invalidation Count:4 In Progress Invalidation Count:0 Scheduled Invalidation Count:4 Earliest invalidation ts_started:Latest invalidation ts_started:Earliest invalidation ts_invalidated:2021-07-16 16:59:21 Latest invalidation ts_invalidated:2021-07-16 16:59:21 Number of segment invalidations:0 Number of plugin invalidations:0 List of plugins being invalidated:Anonymize Referrer:Do Not Track enabled:1 |
Turns out it was a configuration issue. We're using caddy server and I had configured a redirect from Sorry for the noise. |
Expected Behavior
Running
./console core:archive
to succeed without errorsCurrent Behavior
core:archive
fails with:The matomo log also shows:
Steps to Reproduce (for Bugs)
(Not sure if reproducible)
core:archive
once (worked successfully)Your Environment
matomo:4.3-fpm
The text was updated successfully, but these errors were encountered: