WebPagetest Forums
Host AMI running outdated code? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Host AMI running outdated code? (/showthread.php?tid=15553)



Host AMI running outdated code? - xcrouton - 11-17-2018 11:13 AM

Hi, I've been running a private ec2 instance for a few months. Sometime within the last day or two, when rebooting my host instance, it started running old source code. For example, looking at my ec2.inc.php file:

Quote:ubuntu:/var/www/webpagetest/www/ec2$ ll
total 80
drwxr-xr-x 5 www-data www-data 4096 Nov 25 2014 ./
drwxr-xr-x 33 www-data www-data 4096 Nov 17 00:45 ../
-rw-rw-rw- 1 www-data www-data 14552 Nov 25 2014 ec2.inc.php

This results in my test agents returning "The test completed but there were no successful results" and my `/install` page shows "No test agents are configured to render video".

I'm curious why this may be occurring and why the latest code doesn't seem to be getting pulled onto my server.

AMI ID: webpagetest-server-2014-11-25 (ami-d7bde6e7)


RE: Host AMI running outdated code? - xcrouton - 11-20-2018 08:21 AM

I've solved this! It turns out I was making file changes in the EC2 user data which was causing the git pull cron to fail because of unstaged file changes.