Issue: https://github.com/odoo/odoo/issues/3091
I am struggling to make cron/scheduler working in Openerp/ Odoo 8 with mod_wsgi
First I had problem with Odoo css and js were not loading with apache 2.4 and Ubuntu 14.04
http://goo.gl/LLBCAg Later I started working on Ubuntu 12.04 with apahce 2.2 it work for me, still my question on forum is open if any one face same issue and has solution please share.
Now I am struggling with other problem, and its problem from v7 , here is my conf
- Fresh odoo from http://nightly.openerp.com/8.0/nightly/src/
- Ubuntu 12.04
- Apache 2.2
- mod_wsgi
<VirtualHost *:80>
ServerName domain.com
WSGIScriptAlias / /home/swapnil/my_workspace/OpenERP/odoo-workspace/odoo-8.0/openerp-wsgi.py
WSGIDaemonProcess oe user=openerp group=openerp processes=4 python-path=/home/swapnil/my_workspace/OpenERP/odoo-workspace/odoo-8.0display-name=apache-openerp
WSGIProcessGroup oe
<Directory /home/swapnil/my_workspace/OpenERP/odoo-workspace/odoo-8.0 >
#Options FollowSymLinks
#AllowOverride All
Order deny,allow
Allow from all
</Directory>
ErrorLog /home/logs/apache-openerp.log
</VirtualHost>
openerp-wsgi.py conf:
import openerp
#----------------------------------------------------------
# Common
#----------------------------------------------------------
openerp.multi_process = True # Nah!# Equivalent of --load command-line option
openerp.conf.server_wide_modules = ['web']
conf = openerp.tools.config# Path to the OpenERP Addons repository (comma-separated for
# multiple locations)conf['addons_path'] = '/home/swapnil/my_workspace/OpenERP/odoo-workspace/odoo-8.0/openerp/addons,/home/swapnil/my_workspace/OpenERP/odoo-workspace/odoo-8.0/addons' #path from home folder to openerp
# Optional database config if not using local socket
#conf['db_name'] = 'mycompany'
conf['db_host'] = 'localhost'
conf['db_user'] = 'odoo'
conf['db_port'] = 5432
conf['db_password'] = 'password'#----------------------------------------------------------
# Generic WSGI handlers application
#----------------------------------------------------------
application = openerp.service.wsgi_server.application#----------------------------------------------------------
# Gunicorn
#----------------------------------------------------------
# Standard OpenERP XML-RPC port is 8069
bind = '0.0.0.0:8069'
pidfile = '.gunicorn.pid'
workers = 4
timeout = 240
max_requests = 2000
After this everything work fine for me except the crons :(
Any one can help me to solve this issue.