Upgrading to a higher version of web2py through the admin interface

65 views
Skip to first unread message

mostwanted

unread,
Jan 12, 2022, 3:30:31 AM1/12/22
to web2py-users
Hi guys, is it safe to upgrade my version of web2py through the admin interface? Has anyone tried it & did it work?

I have an opp developed in an older version of web2py, some functions are not working on it like callback=URL() but in my research it says the functionality works well in newer versions, when I try to upgrade there is a disclaimer that I should do it at my own risk!!!. My app is already online & being utilised so i dont wanna risk anything thats go mess it up.

Regards;Screenshot (81).png

DaneW

unread,
Jan 18, 2022, 1:27:45 AM1/18/22
to web2py-users
I've been using Web2py on PythonAnywhere for several years and I have always upgraded via the admin interface without any problems. I'm currently on version 2.21.1.

jonatha...@whatho.net

unread,
Jan 18, 2022, 3:48:49 PM1/18/22
to web2py-users
"My app is already online & being utilised so i dont wanna risk anything thats go mess it up."

Then test it very carefully in a test environment before you do it to your live system, and have a backup of the live environment before you start, that you know works, so that when it all goes pear-shaped, you have a method to go back to where you were.

On Wednesday, 12 January 2022 at 08:30:31 UTC mostwanted wrote:

Maurice Waka

unread,
Jan 19, 2022, 12:38:46 AM1/19/22
to web...@googlegroups.com
I also use pythonannywhere and regularly upgrade with no issues. If being cautious, just backup then upgrade. 

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/5d61e276-7d68-44b2-8ed0-249ab7cfd6f9n%40googlegroups.com.

mostwanted

unread,
Jan 19, 2022, 2:32:32 AM1/19/22
to web2py-users
Thank you guys, I was able to upgrade to version 2.21 & there were no issues (smiles)...but i'm still experiencing the problem with my callback function
it is still redirecting  to the url page, what am I doing wrong??!!!

{{=A("view codes", callback=URL('ppadb_codes.load', args=company.id), target="content", _class="show_codes")}}
<div class="codes">
    <div id="content">

    </div>
    </div>
Reply all
Reply to author
Forward
0 new messages