| 14 | | Thats all you need to do to renaming the App |
| | 15 | - Check the uwsgi error log file (tail -f -n 45 /var/log/uwsgi/prod.log). Check if the app name is hardcoded (which should not be), I got the message as: |
| | 16 | |
| | 17 | |
| | 18 | {{{ |
| | 19 | EOFError: EOF when reading a line |
| | 20 | OOOPS mule 1 (pid: 12241) crippled...trying respawn... |
| | 21 | spawned uWSGI mule 1 (pid: 12243) |
| | 22 | application eden does not exist, create (y/n)?Traceback (most recent call last): |
| | 23 | File "run_scheduler.py", line 16, in <module> |
| | 24 | run('eden',True,True,None,False,"from gluon import current; |
| | 25 | current._scheduler.loop()") |
| | 26 | File "/home/web2py/gluon/shell.py", line 208, in run |
| | 27 | 'application %s does not exist, create (y/n)?' % a) |
| | 28 | }}} |
| | 29 | |
| | 30 | For this error, use: |
| | 31 | |
| | 32 | cat /home/web2py/run_scheduler.py [[br]] |
| | 33 | -CUT- [[br]] |
| | 34 | # Start Web2py Scheduler -- Note the app name is hardcoded! [[br]] |
| | 35 | |
| | 36 | {{{ |
| | 37 | if __name__ == '__main__': |
| | 38 | run('eden',True,True,None,False,"from gluon import current; |
| | 39 | current._scheduler.loop()") |
| | 40 | }}} |