Upgrade from Lilac to Maple throws TypeError: upgrade() got an unexpected keyword argument 'from_version'

This is the second time that I am attempting this upgrade and have run into the same issue twice. This is on my primary development laptop which has been running tutor since version 3. I’ve gone through all of the other upgrades without any major issues, but this one seems to be causing some problems.

First, I ran the following:

tutor local stop
tutor dev stop
docker system prune

After upgrading the tutor binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v13.1.5/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

I ran:

$ tutor local quickstart
===============================================
        Upgrading from an older release
===============================================
You are about to upgrade your Open edX platform from Lilac to Maple

It is strongly recommended to make a backup before upgrading. To do so, run:

    tutor local stop
    sudo rsync -avr "$(tutor config printroot)"/ /tmp/tutor-backup/

In case of problem, to restore your backup you will then have to run: sudo rsync -avr /tmp/tutor-backup/ "$(tutor config printroot)"/

Are you sure you want to continue? [Y/n]  
Traceback (most recent call last):
  File "main.py", line 25, in <module>
  File "tutor/commands/cli.py", line 27, in main
  File "click/core.py", line 1128, in __call__
  File "click/core.py", line 1053, in main
  File "click/core.py", line 1659, in invoke
  File "click/core.py", line 1659, in invoke
  File "click/core.py", line 1395, in invoke
  File "click/core.py", line 754, in invoke
  File "click/decorators.py", line 26, in new_func
  File "tutor/commands/local.py", line 83, in quickstart
  File "click/core.py", line 754, in invoke
  File "click/decorators.py", line 26, in new_func
TypeError: upgrade() got an unexpected keyword argument 'from_version'
[18841] Failed to execute script 'main' due to unhandled exception!

Any help would be appreciated.

This was already reported and a fix is in progress here: fix: "unexpected keyword argument" during quickstart upgrade by regisb · Pull Request #607 · overhangio/tutor · GitHub
In the meantime, you can run:

tutor local upgrade --from=lilac
tutor config save
tutor local quickstart

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.