Failed To Update 7.0 To 9.1

When getting the below error (the error i mentioned before),

Error
frappe.exceptions.DoesNotExistError: Role Instructor not found

Did to solve
sudo bench --site site1.local mysql

insert into tabRole (name, creation, modified, modified_by, owner, docstatus, parent, parentfield, parenttype, idx, two_factor_auth, _liked_by, desk_access, _comments, _assign, restrict_to_domain, disabled, role_name, _user_tags) values('Instructor', '2017-10-15 23:46:43.813797', '2017-10-16 03:54:04.228414', 'Administrator', 'Administrator', 0, NULL, NULL, NULL, 0, 0, NULL, 1, NULL, NULL, NULL, 1, 'Instructor', NULL);

Then i ran into this error,

Error
AttributeError: 'DocType' object has no attribute 'restrict_to_domain'

Did to solve
as @James_Robertson suggested in link https://discuss.frappe.io/t/v8-to-v9-upgrade-error-domianification/29228

Now I’m getting the error as below that i cannot solve.

Error
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/jinja2/loaders.py”, line 399, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: templates/includes/formats/common_format

This has stopped me. The mentioned location templates/includes/formats/ and the file common_format does not exist on the current installation nor does it exist on a new installation i brought up to compare.

Any leads from the community? This would be highly appreciated.

1 Like