Right, I think I just need to delete the app on pythonanywhere, install new web2py from their installer and replace routes.py and my apps.... Hopefully this works.
On Wed, Jan 21, 2015 at 2:34 PM, Niphlod <niph...@gmail.com> wrote: > in this case it's not platform-dependency the issue: it's the method > web2py uses for the upgrade-in-place. > We should label it CLEARLY as "things can go wrong if you press this > button" and live with it: there are just too much moving parts around an > upgrade. > Most of the times it works (and it did), but that does not need to imply a > fail-proof process. > Things can change, web2py is (most of the times) backwards compatible with > app-code but not with apps artifacts coming from different versions , e.g. > sessions (or cache) serialization due to speed improvements, and so on... > we simply can't afford to live with years-old choices just for the sake of > a working in-place upgrade. > > Given the build-up of recent-releases crashes/errors/whatnot I dare to say > we'd need: > - a "fail-proof" upgrade process documented in the book > - label the infamous button on admin as "experimental" (proposed in the > past, but never happened) > > It's really damn easy to upgrade web2py knowing its environment... > - stop the webserver (or prepare a new empty folder leaving the old one > running) > - prune existing except of applications/ and/or routes.py-logging.conf-etc > in the root (or copy applications/ and/or routes.py-logging.conf-etc to the > new one) > - unzip new web2py into the root (or the new folder) > - clean sessions/cache folder for every app > - start the webserver (or change the configuration of the webserver to > pick up from the new folder) > > voilĂ . > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/eXIt4HaHF44/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.