Version upgrade from V13 to V14 -- A detailed video and article explaining the procedures and the concept

Version upgrade from Version 13 to version 14 – A detailed video and article explaining the procedures and the concept

Video link here
Article link here

8 Likes

We have another document to prepare Ubuntu 20+ for ERPNext or Frappe version 14 installation here
Please follow that document to install ERPNext version 14 if you are unable or unwilling to upgrade Ubuntu to 22+

1 Like

Great stuff. However, you should modify this command in your document:

bench switch-to-branch version-14

As this command will fail if the site has custom apps installed because the command will try to switch the apps to version-14 as well. so the command should be:

bench switch-to-branch frappe erpnext version-14

This ensures that the switch-to-branch command only affects frappe and erpnext and ignores any other installed app.

2 Likes

Thanks. We will update the document. Appreciate your comment

pls help geting the following error
fatal: couldn’t find remote ref master
ERROR:

with bench update --reset

i do have custom apps… if i delete all custom apps from the apps folder n just keep frappe n erpnext apps… the bench update goes throgh…

log

HEAD is now at 29bb873347 chore(release): Bumped to Version 14.11.0
$ git reflog expire --all
$ git gc --prune=all
Enumerating objects: 489793, done.
Counting objects: 100% (489793/489793), done.
Delta compression using up to 4 threads
Compressing objects: 100% (98845/98845), done.
Writing objects: 100% (489793/489793), done.
Total 489793 (delta 388710), reused 488453 (delta 387370)
Checking connectivity: 489793, done.
$ find . -name “*.pyc” -delete
Skipping pull for app library_management, since remote doesn’t exist, and adding it to excluded apps
$ git fetch --depth=1 --no-tags upstream main
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - tridz-dev/erpnext_fcm: Firebase Cloud Messaging integration for sending notification created in ERPNext/Frappe to users as push notification.

  • branch main → FETCH_HEAD
    $ git reset --hard upstream/main
    HEAD is now at 2180ec5 fix:html tags removed
    $ git reflog expire --all
    $ git gc --prune=all
    Enumerating objects: 31, done.
    Counting objects: 100% (31/31), done.
    Delta compression using up to 4 threads
    Compressing objects: 100% (22/22), done.
    Writing objects: 100% (31/31), done.
    Total 31 (delta 4), reused 31 (delta 4)
    $ find . -name “*.pyc” -delete
    $ git fetch --depth=1 --no-tags upstream master
    fatal: couldn’t find remote ref master
    ERROR:
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 8, in
    sys.exit(cli())
    File “/usr/local/lib/python3.10/dist-packages/bench/cli.py”, line 127, in cli
    bench_command()
    File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1130, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1055, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python3.10/dist-packages/click/core.py”, line 760, in invoke
    return __callback(*args, **kwargs)
    File “/usr/local/lib/python3.10/dist-packages/bench/commands/update.py”, line 59, in update
    update(
    File “/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py”, line 436, in update
    pull_apps(apps=apps, bench_path=bench_path, reset=reset)
    File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 658, in pull_apps
    bench.run(f"git fetch --depth=1 --no-tags {remote} {branch}", cwd=app_dir)
    File “/usr/local/lib/python3.10/dist-packages/bench/bench.py”, line 48, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
    File “/usr/local/lib/python3.10/dist-packages/bench/utils/init.py”, line 158, in exec_cmd
    raise CommandFailedError
    bench.exceptions.CommandFailedError

pls help