Hello,
I could finally install ERPNext 12.11.2 in my Python 2.7.5 system, but I think I was “lucky”.
The fact is that a hosting problem occured some weeks ago. That hosting crash caused my ERPNext installation got corrupted. Fortunately, database was kept intact, so, I have reinstalled the last version of version-11 branch from scratch.
That was not an easy process since it seems branch names have changed. One of my attempts took me to get ERPNext version 13 beta, huh? I did not understand what happened, but that gave me the clue if version 13 beta supports Python 2.7.5, version 12 should support it also.
Well, then I downgraded from version 13 beta to last version of 11 branch and finally I have restored the old database into the new created one. That way, version 11 was working as before.
Today I had time to try to update to version 12 again, so I followed the easy instructions in this post:
@cyberdee Hi the steps are easy.Do the following: Step 1. Locate your .git/config file then edit this line from [remote “upstream”] fetch = +refs/heads/master:refs/remotes/upstream/master to become: [remote "upstream"] fetch = +refs/heads/*:refs/remotes/upstream/* Step 2. Also locate this config file : /frappe-bench/apps/erpnext/.git/config then edit the following line to be as follows [remote "upstream"] url = https://github.com/frappe/erpnext f…
After it, I got an error in redis server, but searching the error, I have run this command:
redis-cli -p 13001 FLUSHALL
Finally, after version 12 was successfully installed, all assets were missing, so the final step was to run this command:
bench update --reset
as this site suggested:
Ok so I fixed all that by install yarn/rollup manually. The updates were successful and I am now able to run the following: $bench switch-to-branch version-12 --upgrade $ bench update --patch But the when I try to access the site, it throws the following errors: 404 Not Found : assets/css/frappe-web-b4.css 404 Not Found : /assets/js/bootstrap-4-web.min.js And an error on the console: Uncaught TypeError: $(...).dropdown is not a function at HTMLDocument.<anonymous> (frappe-web.min.js:…
Now, I have this version running in my system:
ERPNext: v12.11.2 (version-12)
Frappe Framework: v12.9.1 (version-12)
Regards
Jaime