Please advise when we have Pyhton 2.7 then what should be the method from upgrading from ERPNext: v12.19.0 (version-12), Frappe Framework: v12.16.3 (version-12)
Thanks, it is working fine but do I need to repeat above installation steps?
There is not a must to use this or other programs.
There is a must to contribute to make it better.
The complain at least must be equal with contribution.
Not all reported bugs means real failure, but people always relay to it, try to get immediate attention as getting used to it on differ platforms.
Better to understand how this program builds up + understand the environment around it, then search a little bit and then find the solution, it moves things forward.
Not only the program works the environment must work around it.
Hope it gives a little clarification.
npm yarn version , issue i resolved
Bench in editable mode warning is discussed here, but without clear solution
Got rid of custom_script fixtures in the custom app. I could update to v13.
Solved: if you are running multi sites, we need to bench --site sitename console and run above commands.
No resolution for this yet.
sudo bench --site sitename console
frappe.reload_doc(âwebsiteâ, âdoctypeâ, âwebsite_themeâ, force=True)
frappe.db.commit()
then run sudo bench update --patch
frappe.exceptions.ValidationError: City/Town is an invalid Data field.
Only Options allowed for Data field are:
- Name
- Phone</ul
I could remember i have enabled some default options for City in the address doctype. However this did not work. I forgot to remove them from the customisation. Looks like this customisation is causing trouble during the upgrade.
Is there a fix for this.
Thanks @nabinhait
It works with the:
frappe.db.commit()
Strangly - did not need the âcommitâ for the previous errors! Just did the âreloadâ command.
But - everything works fine and I can access the desk and many functionalities. Not finding issues internally.
Additional Feedback:
Now, I receive the below after running:
bench build
The errors/warnings:
Building erpnext assets...
â Built js/erpnext-web.min.js
UNRESOLVED_IMPORT : 'vue/dist/vue.js' is imported by ../erpnext/erpnext/public/js/hub/marketplace.js, but could not be resolved â treating it as an external dependency
Cannot find some dependencies. You may have to run "bench setup requirements" to install them.
UNRESOLVED_IMPORT : 'vue/dist/vue.js' is imported by ../erpnext/erpnext/public/js/hub/vue-plugins.js, but could not be resolved â treating it as an external dependency
Cannot find some dependencies. You may have to run "bench setup requirements" to install them.
MISSING_GLOBAL_NAME : No name was provided for external module 'vue/dist/vue.js' in output.globals â guessing 'Vue'
Are these warnings/errors serious?
How to fix it?
Worth noting that âbench versionâ output:
erpnext 13.0.0
frappe 13.0.1
New update attempt:
ERPNext: v12.19.0 (version-12)
Frappe Framework: v12.16.3 (version-12)
Upgrade the system
sudo apt update
sudo apt upgrade
Update node-npm-yarn
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
Upgrade frappe-bench
sudo -H pip3 install --upgrade frappe-bench
Installation directory
cd /opt/erpnext/erpnext
Update
bench setup requirements
bench update
New version
bench switch-to-branch version-13 frappe erpnext --upgrade
Error
AttributeError: âWebsiteThemeâ object has no attribute âignored_appsâ
Fix error
bench --site site1.local console
frappe.reload_doc(âwebsiteâ, âdoctypeâ, âwebsite_themeâ, force=True)
frappe.db.commit()
exit()
Update
bench update --patch
Warnings
UNRESOLVED_IMPORT : âvue/dist/vue.jsâ is imported by âŚ/erpnext/erpnext/public/js/hub/marketplace.js, but could not be resolved â treating it as an external dependency
Cannot find some dependencies. You may have to run âbench setup requirementsâ to install them.UNRESOLVED_IMPORT : âvue/dist/vue.jsâ is imported by âŚ/erpnext/erpnext/public/js/hub/vue-plugins.js, but could not be resolved â treating it as an external dependency
Cannot find some dependencies. You may have to run âbench setup requirementsâ to install them.MISSING_GLOBAL_NAME : No name was provided for external module âvue/dist/vue.jsâ in output.globals â guessing âVueâ
New Error
$ supervisorctl restart frappe:
error: <class âsocket.errorâ>, [Errno 13] Permission denied: file: /usr/lib/python2.7/socket.py line: 228
Update
bench update
bench build
sudo reboot
The application is working but with those warnings and that error
ERPNext: v13.0.0 (version-13)
Frappe Framework: v13.0.1 (version-13)
UPDATE
Fix last error
Hi all, thanks for the good work, really impressive so far.
I seem to have come across a bug, the drop down menu in Item Variant Settings comes up empty, there are no fields available for selection:
Thank you. Is there any way to skip the message keeping chart of accounts error free?
Hi gsarunk,
Many thanks for your reply!
I was able to proceed with your advice and finally install v13.
It looks very nice.
What is the best way to report from issues I am having, this
thread, or Issure report on GitHub?
Thank you very much and kind regards from Spain,
Alb
Getting the below error on couple of my sites.
frappe.exceptions.ValidationError: Default value for naming_series must be in the list of options.
Could you please help fix this.
I have two instances. One the live instance and another one(VM-V13) spun from the snapshot of live instance. Trying to upgrade the VM-V13. Got the above error.
- made the adjustments in the live system. ie. removed the default values in the address doctype. 2. Took a backup
- restored the site in VM-V13 with the new backup from file
- ran the update with patch
This fixed this error.
But running into another errorâŚ
Appreciate support for below issue;
Hi Nabin,
I donât agree it is predominantly the communityâs problem when you have a large paid team. These problems affect the reputation of ERPNext very badly, and that affects the product, your team and the community. They are avoidable.
I would suggest that you do not spend a couple of days making a token effort. I recommend you pledge that v13.1.0 is the best release youâve ever done, and every release after that, with the following fixed:
- 668 open ERPNext bugs resolved: Issues ¡ frappe/erpnext ¡ GitHub
- 181 open frappe bugs resolved: Issues ¡ frappe/frappe ¡ GitHub
- Test cases covering migrations
- CI working reliably
- more than 90% testing code coverage (JS & PY)
This may take months, but should ensure that you donât get reviews like these (1st page of Google âERPNext v13â results): https://www.reddit.com/r/selfhosted/comments/jivgm8/erpnext_v13_is_released_open_source_erp_for/
I want to see ERPNext as the most successful ERP software on the planet. Based on my experience with other software, that is easily achievable. I love the product and we all do our bit, but at the moment the testing and release strategy is letting us all down.