Skip to content

Instantly share code, notes, and snippets.

@HORKimhab
Last active December 6, 2021 07:39
Show Gist options
  • Save HORKimhab/8e1c066cf10ecd3ab1831180e3a1ce64 to your computer and use it in GitHub Desktop.
Save HORKimhab/8e1c066cf10ecd3ab1831180e3a1ce64 to your computer and use it in GitHub Desktop.
production-setup

If there no installed git Install or Update to Last Version Git

  • sudo add-apt-repository -y ppa:git-core/ppa

  • sudo apt-get update

  • sudo apt-get install git -y

  • su {user_name}

  • enter password

  • cd {user_name}

  • cd {folder_frappe}

  • cd app

  • cd erpnext

  • git config remote.upstream.fetch +refs/heads/:refs/remotes/upstream/

  • bench switch-to-branch version-12 frappe erpnext --upgrade

  • bench update --patch

  • bench update --build

  • bench setup requirements

  • redis-cli -p 13001 FLUSHALL

  • bench update --reset

ReferenceError: io is not defined

https://discuss.erpnext.com/t/erpnext-version-12-upgrade-issue-solved/53078 https://github.com/frappe/bench/pull/983/commits
https://frappeframework.com/docs/v13/user/en/production-setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment