On Tuesday, August 20, 2019 at 8:13:16 PM UTC-7, Valdeck Rowe wrote:
>
> Hi,
>
> This had been a working installation running a few separate apps under a
> single web2py instance.
>
> First I clicked the upgrade button from within the admin interface hoping
> it would go as smoothly as it usually does on my local PC and restarted the
> server.
>
> Instantly started getting Internal Server Error whenever I try to access
> any application running on the web2py instance.
>
> I then tried manually overwriting the web2py folder with files from the
> latest stable version. No change.
>
> Then I tried renaming the routes.py file and the apps become accessible.
> If I change the name back, even if the contents are fully commented out,
> the Internal Server Error remains.
>
> The only issue with this is that the main app on that server is set as the
> default in the routes.py file and therefore does not run properly due to
> URL configuration used.
>
> Here are the contents of the routes.py file:
> routers = dict(
> BASE = dict(
> default_application='mainapp',
> domains = {
> 'mainapp.me': 'mainapp',
> 'www.mainapp.me': 'mainapp',
> '45.45.45.45/other': 'other',
> '45.45.45.45/another': 'another',
> },
> ),
> )
>
> Any help is appreciated as its been a couple of days and I've made little
> progress.
>
> Thanks in advance.
>
> Valdeck
>
Are there tickets (in mainapp/errors)? Or log entries? A stack trace from
somewhere would be nice, but if you're not using Rocket as the front end
there might not be any console messages, and I know from personal
experience that uwsgi doesn't log any details.
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/a47bc0fe-be0d-4d4d-85b9-fcd44ab04d3e%40googlegroups.com.