hokeycokey Posted April 7, 2014 Report Share Posted April 7, 2014 Hi, Just started looking after these servers and can't find any documentation on configuring the maintenance. Seeing the following warnings: Scheduled maintenance hasn't run in the past hour. This may mean that you have not set it up correctly. Can anyone point me to the documentation or explain how to configure this. any pointers appreciated. Thanks, Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted April 7, 2014 Report Share Posted April 7, 2014 I'm afraid the admin guide is not ready yet. You'd need to add somelike like: 0 * * * * curl -s http://example.com/path/to/revive/maintenance/maintenance.php to your crontab Quote Link to comment Share on other sites More sharing options...
edisjasarevic Posted April 7, 2014 Report Share Posted April 7, 2014 happened to me. In my case it was because RV.php Statistics doesnt work, so you have to change one line giving full path to PEAR.php, not just /lib/pear/PEAR.php After I did this, statistics is working and I am not receiving message about maintance not runing require_once '/COMPLETEPATHTODRECTORY/lib/pear/PEAR.php'; Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted April 7, 2014 Report Share Posted April 7, 2014 Yes, there's a bug in auto-maintenance that is resolved on github and will be fixed in 3.0.4. It is however always a good idea to disable automatic maintenance and set up the cron job. Quote Link to comment Share on other sites More sharing options...
hokeycokey Posted April 8, 2014 Author Report Share Posted April 8, 2014 Cool. Thanks guys. I'll let you know how I go. Thanks again. Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted April 10, 2014 Report Share Posted April 10, 2014 I've created some documentation for this now! http://documentation.revive-adserver.com/display/DOCS/Running+Maintenance HTH. Quote Link to comment Share on other sites More sharing options...
centz Posted April 11, 2014 Report Share Posted April 11, 2014 I've created some documentation for this now! http://documentation.revive-adserver.com/display/DOCS/Running+Maintenance HTH. It's amazing. Thank you. andrewatfornax 1 Quote Link to comment Share on other sites More sharing options...
tkat Posted July 26, 2014 Report Share Posted July 26, 2014 Ever since our upgrade to Revive 3.0.5 a week ago, scheduled maintenance stopped running. So I've reactivated automatic maintenance for now. I checked and made sure the chron job is set up correctly. Is there some issue with the upgrade that could cause scheduled maintenance to stop like this? Quote Link to comment Share on other sites More sharing options...
mlowens Posted September 2, 2014 Report Share Posted September 2, 2014 Ever since our upgrade to Revive 3.0.5 a week ago, scheduled maintenance stopped running. So I've reactivated automatic maintenance for now. I checked and made sure the chron job is set up correctly. Is there some issue with the upgrade that could cause scheduled maintenance to stop like this? I just ran into this issue after upgrading from an earlier version of Revive. You have to pass a hostname as an additional parameter when you're calling the script from the command line. If you have this set up as a cron job, you need to change it there. So, change this: php /path/to/revive/maintenance/maintenance.php To this: php /path/to/revive/maintenance/maintenance.php localhost There was apparently a bug in earlier versions that allowed you to call the script without the hostname parameter, which I didn't realize when I originally set up the cron. It was tricky to track down because there were no errors in debug.log. andrewatfornax 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.