2.17.2 breaking scheduler changes

40 views
Skip to first unread message

Jason Solack

unread,
Dec 4, 2018, 11:50:07 AM12/4/18
to web2py-users
Hello,

We've recently updated web2py and now our applications utilizing the scheduler are having errors.

We can see there are significant changes to scheduler.py - but not sure if it's just a matter of adding fields to the our tables to bring it back up and running.

Thanks for any advice!

Jason

Leonel Câmara

unread,
Dec 4, 2018, 1:31:25 PM12/4/18
to web2py-users
What errors are you getting? Did you restart the scheduler after updating web2py?

Jim S

unread,
Dec 4, 2018, 5:48:36 PM12/4/18
to web2py-users
In a recent release, a 'broadcast' field was added to the scheduler_task table.  I had to add it manually to get it to work.

I added it with type varchar(512) and then it started working again.

-Jim

Leonel Câmara

unread,
Dec 4, 2018, 5:51:23 PM12/4/18
to web2py-users
Humm that should be a simple matter of running it with migrate=True.

Jim Steil

unread,
Dec 4, 2018, 5:58:11 PM12/4/18
to web...@googlegroups.com
Yes, it should be, but I believe when I ran it the first time I had fake_migrate = True.

On Tue, Dec 4, 2018 at 4:51 PM Leonel Câmara <leonel...@gmail.com> wrote:
Humm that should be a simple matter of running it with migrate=True.

--
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/qHcYkRA0Pfw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages