The documentation for the EC2 Amazon AMI’s states that the server and Agent check for updates hourly and auto update. I have the server version 2.16 set up on the Amazon cloud, i noticed that server 2.18 was released on Monday but my Server instance is still at 2.16. I checked it here - http://<server_ip>/install/
Just wonder if I understood the auto-update feature correctly or if I need to manually do something to get the update?
Thanks for your help!
Did you use one of the pre-configured server AMI’s (these)? Assuming you didn’t change the settings, it should be auto-updating from github hourly. There is a gitUpdate=1 setting in settings.ini that should trigger a “git pull origin master” hourly as part of the cron processing: webpagetest/settings.ini.sample at master · WPO-Foundation/webpagetest · GitHub
You can try hitting http:///cron/hourly.php manually from your browser to trigger it. If it runs and updates then the cron isn’t getting run as scheduled for some reason. If not then there’s a problem with the setting or the updates.
I have only edited settings.ini but not gitupdate setting, it is still - gitUpdate=1
I tried to trigger manually the cron job as you suggested but no joy.
I will try run the “git pull origin master” command manually and see if that gets me anywhere. I presume I will need to restart nginx?
I guess from looking at hourly.php that i need to run the git command in the /var/www/webpagetest/www folder?
Thanks
i could only ssh on to the box as ubuntu. Can you give me the credentials to su - www-data ? I believe I might then be able to do a git pull origin master