Hi. I can't get archiving to work. No matter I try, I get an error message that says:
Error: Empty or invalid response '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /piwik/ on this server.</p> </body></html>' for website id 1, Time elapsed: 0.148s, skipping
The same is true from the command line or by entering the web-cron url in my browser.
I have the --url switch set to the exact url that I use to view piwik.
When I add the - v switch to the command, I get and the following additional info:
Exception trace:
() at /my_path/piwik/core/CronArchive.php:410
Piwik\CronArchive->logFatalError() at /my_path/piwik/core/CronArchive.php:403
Piwik\CronArchive->end() at /my_path/piwik/core/CronArchive.php:262
Piwik\CronArchive->Piwik\{closure}() at /my_path/piwik/core/Access.php:456
Piwik\Access::doAsSuperUser() at /my_path/piwik/core/CronArchive.php:263
Piwik\CronArchive->main() at /my_path/piwik/plugins/CoreConsole/Commands/CoreArchiver.php:27
Piwik\Plugins\CoreConsole\Commands\CoreArchiver->execute() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257
Symfony\Component\Console\Command\Command->run() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php:874
Symfony\Component\Console\Application->doRunCommand() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at n/a:n/a
call_user_func() at /my_path/piwik/core/Console.php:79
Piwik\Console->Piwik\{closure}() at /my_path/piwik/core/Access.php:456
Piwik\Access::doAsSuperUser() at /my_path/piwik/core/Console.php:80
Piwik\Console->doRun() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at /my_path/piwik/console:27
There is nothing related to piwik in in my server's error log. I'm running piwik version 2.14.1 and piwik's system check shows no issues.
Any suggestions on how to solve this? Thank you!
Error: Empty or invalid response '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /piwik/ on this server.</p> </body></html>' for website id 1, Time elapsed: 0.148s, skipping
The same is true from the command line or by entering the web-cron url in my browser.
I have the --url switch set to the exact url that I use to view piwik.
When I add the - v switch to the command, I get and the following additional info:
Exception trace:
() at /my_path/piwik/core/CronArchive.php:410
Piwik\CronArchive->logFatalError() at /my_path/piwik/core/CronArchive.php:403
Piwik\CronArchive->end() at /my_path/piwik/core/CronArchive.php:262
Piwik\CronArchive->Piwik\{closure}() at /my_path/piwik/core/Access.php:456
Piwik\Access::doAsSuperUser() at /my_path/piwik/core/CronArchive.php:263
Piwik\CronArchive->main() at /my_path/piwik/plugins/CoreConsole/Commands/CoreArchiver.php:27
Piwik\Plugins\CoreConsole\Commands\CoreArchiver->execute() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257
Symfony\Component\Console\Command\Command->run() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php:874
Symfony\Component\Console\Application->doRunCommand() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php:195
Symfony\Component\Console\Application->doRun() at n/a:n/a
call_user_func() at /my_path/piwik/core/Console.php:79
Piwik\Console->Piwik\{closure}() at /my_path/piwik/core/Access.php:456
Piwik\Access::doAsSuperUser() at /my_path/piwik/core/Console.php:80
Piwik\Console->doRun() at /my_path/piwik/vendor/symfony/console/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at /my_path/piwik/console:27
There is nothing related to piwik in in my server's error log. I'm running piwik version 2.14.1 and piwik's system check shows no issues.
Any suggestions on how to solve this? Thank you!