Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

app engine python gcloud not updating instance

enter image description hereenter image description hereI keep running this command:

gcloud app deploy service_backend.yaml --stop-previous-version --version test-0-5-8

over and over again (increasing the final version digit each time) and each time and go look at the log output from my code it show's me logging from an PRIOR/earlier version of the code but listed under the "test-0-5-8" version

either I'm losing my mind or something very strange is going on I've tried this 30 times over 3 days before posting this embarrassing issue because I assume I must be causing this somehow but I'm at a total loss as to how

like image 635
Dewey Avatar asked May 26 '17 22:05

Dewey


1 Answers

I have had a similar problem before, and I think I solved it by deleting the .pyc files in my repo before deploying. Could you try that?

like image 96
bastien girschig Avatar answered Oct 12 '22 23:10

bastien girschig