Changes between Version 1 and Version 2 of InstallationGuidelines/RenamingTheApp


Ignore:
Timestamp:
08/26/15 17:33:29 (6 years ago)
Author:
Biplov Bhandari
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/RenamingTheApp

    v1 v2  
    11= Renaming the App =
     2
    23How to rename the app from /eden/(default)/(index) to /someName/(default)/(index)
    34
     
    1213- The management scripts [http://eden.sahanafoundation.org/wiki/InstallationGuidelines/Linux/Server] need updating (/usr/local/bin)
    1314
    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{{{
     19EOFError: EOF when reading a line
     20OOOPS mule 1 (pid: 12241) crippled...trying respawn...
     21spawned uWSGI mule 1 (pid: 12243)
     22application 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;
     25current._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
     30For this error, use:
     31
     32cat /home/web2py/run_scheduler.py [[br]]
     33-CUT- [[br]]
     34# Start Web2py Scheduler -- Note the app name is hardcoded! [[br]]
     35
     36{{{
     37if __name__ == '__main__':
     38    run('eden',True,True,None,False,"from gluon import current;
     39current._scheduler.loop()")
     40}}}