Thank you for the scripts its really helpful
All is working fine in normal mode like if i start process with
python gitautodeploy/
On post push request from github automatically deploying as configuration but, If I start the process daemon mode using this command its not working. As I am using this script in Digital ocean server i need to run the process in daemon mode.
python gitautodeploy/ --daemon-mode
Error are given below
---------------------------------------- 2016-04-08 17:59:34,275 [INFO ] 2016-04-08 17:59:34,275 [INFO ] Exception happened during processing of request from 2016-04-08 17:59:34,275 [INFO ] 2016-04-08 17:59:34,276 [INFO ] ('192.30.252.41', 42233) 2016-04-08 17:59:34,276 [INFO ] 2016-04-08 17:59:34,276 [ERROR] Traceback (most recent call last): 2016-04-08 17:59:34,276 [ERROR] File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock 2016-04-08 17:59:34,277 [ERROR] self.process_request(request, client_address) 2016-04-08 17:59:34,277 [ERROR] File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request 2016-04-08 17:59:34,277 [ERROR] self.finish_request(request, client_address) 2016-04-08 17:59:34,277 [ERROR] File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request 2016-04-08 17:59:34,278 [ERROR] self.RequestHandlerClass(request, client_address, self) 2016-04-08 17:59:34,279 [ERROR] File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__ 2016-04-08 17:59:34,280 [ERROR] self.handle() 2016-04-08 17:59:34,280 [ERROR] File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle 2016-04-08 17:59:34,280 [ERROR] self.handle_one_request() 2016-04-08 17:59:34,280 [ERROR] File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request 2016-04-08 17:59:34,280 [ERROR] method() 2016-04-08 17:59:34,280 [ERROR] File "gitautodeploy/httpserver.py", line 28, in do_POST 2016-04-08 17:59:34,281 [ERROR] File "gitautodeploy/httpserver.py", line 72, in figure_out_service_from_request 2016-04-08 17:59:34,281 [ERROR] ImportError: No module named parsers 2016-04-08 17:59:34,281 [INFO ] ----------------------------------------
Please help me out to figure and solve this problem.
Thank you in advance