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
Auto Archiving errors out with "You can't access this resource as it requires an 'view' access for the website id = 1" #11767
Comments
Hi @Victorsueca |
@mattab SSH to a production server with a person I do not know sounds a bit of an overkill. I propose hanging on some IRC (or other chat of your preference) to follow your instructions on debugging this. |
would it maybe help if you just temporary access to only piwik to me at matt at piwik.org ? |
Sounds more reasonable, is FTP ok instead of SSH? |
unfortunately ssh is needed as we need to run the command and see what happens |
The thing is I have never used SSH before since I access all my servers physically, that's why I wanted to avoid using it, because i'd like to not use a feature that allows remote access to my server before fully understanding it. So at the moment it's easier for me to follow a set of instructions and provide the output as necessary. |
Hey. I am experiencing the same error, when I try to start archiveing with Web Cron (there is no Cron Jobs/SSH available at my shared hosting). As far as I know I did not do any updates. It was a fresh installation of Piwik 3.0.4, that run for a few weeks before i tried to activate Web Cron. Has anyone an idea?
|
Having the same issue:
|
I saw the same error, but I was able to login as soon as I logged in to the site for which I use the Piwik/Matomo install. |
I have this issue too! I have made a user with read access to the sites, I've tried making superadmin, if I make it a super admin I get this:
This is really bad, archiving can't happen. |
Are you using the console to run archiving? If not maybe switch to |
I am already using the latest version. I am using the web based Cron method. I cannot use the SSH Cron because the system I am running on is using PHP 5.4 - an error about upgrading is shown. But the website itself for Matomo is using PHP + 7. |
The latest Matomo version shouldn't run with PHP 5.4 AFAIK (Matomo 3.X) |
I don't think you're actually reading my response properly. The Cron on the system (Plesk) is running on 5.4, but the web Cron (API) is using PHP 7. Using superuser generates no permission to view site error. |
Thank you for the report 👍 To likely fix the issue, could you upgrade to the latest Matomo version? if you still experience this issue afterwards, please re-open this and post a comment. Thanks! |
Recently updated to Piwik 3.0.4 on Windows. I have a programmed task to execute the following at regular intervals:
C:\xampp\php\php.exe "C:\xampp\htdocs\stats\console" core:archive --url=https://myurl.com/piwik/
This has been working until now, but it recently started giving the following error:
Other than updating piwik, the only change I made recently was removing some files that the piwik system check said where unnecesary and should be removed to prevent errors.
Any clues on what's going on?
The text was updated successfully, but these errors were encountered: