(Solved) Upgrade script failed from 9 to 10 (pro version)

Getting the following error message:

upgrade_9.0_10.0.sh: 34: Syntax error: “(” unexpected

Line 34 looks like this:
function check_python_executable() {

The upgrade manual has an error. It states to run the script as “sh upgrade/upgrade_9.0_10.0.sh”. However the “sh” in front is wrong. Just run without “sh” in front works.

1 Like

jeah same here.

Verified. The command that worked for me was:
bash upgrade seafile_9.0_10.0.sh