Hello everyone.
My sequence with the update:
sudo apt update
sudo apt upgrade
curl -fsSL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g npm
sudo npm install -g yarn
cd / opt / erpnext / erpnext
bench setup requirements
bench update
sudo reboot
bench switch-to-branch version-13 frappe erpnext --upgrade
Error:
File “/opt/erpnext/bench-repo/bench/app.py”, line 417, in switch_to_branch
switch_branch (branch, apps = apps, bench_path = bench_path, upgrade = upgrade)
File “/opt/erpnext/bench-repo/bench/app.py”, line 409, in switch_branch
reload_module (utils)
NameError: global name ‘utils’ is not defined
UPDATE
I have followed these steps, but in the file /opt/erpnext/bench-repo/bench/app.py, prior to the update and the error has not appeared in a new update.
However now this appears:
File “/opt/erpnext/erpnext/apps/frappe/frappe/website/doctype/website_theme/website_theme.py”, line 69, in generate_bootstrap_theme
self.theme_scss = content = get_scss (self)
File “/opt/erpnext/erpnext/apps/frappe/frappe/website/doctype/website_theme/website_theme.py”, line 145, in get_scss
apps_to_ignore = tuple ((d.app + ‘/’) for d in website_theme.ignored_apps)
AttributeError: ‘WebsiteTheme’ object has no attribute ‘ignored_apps’