Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Check again "Updated the code on the server" - it happens, ran git pull - and did not look at the answer - and there is an error, which thread, for example
faced with caching of .pyc files, respectively, old compiled files are executed - try to delete them:find . -name '*.pyc' -delete
When I update, I use the command
git pull && systemctl restart hrporta.service (change to the name of your service)
Although you just restarted the server .... It's more difficult of course.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question