I tried your method but just in erpnext dir and it failed when building frappe assets. I then repeated it but this time i ran git config remote.upstream.fetch “+refs/heads/ :refs/remotes/upstream/ ” also on the frappe dir and everything worked fine but i got we will be back soon when trying to log in.
I have checked supervisor status using supervisorctl status and everything is running. I also restarted but no luck.
I just checked my web.error.log file and found this error:
Traceback (most recent call last):
File "/home/octo5/frappe-bench/env/bin/gunicorn", line 10, in <module>
sys.exit(run())
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 61, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 223, in run
super(Application, self).run()
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/arbiter.py", line 60, in __init__
self.setup(app)
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/arbiter.py", line 120, in setup
self.app.wsgi()
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
return self.load_wsgiapp()
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgia$
return util.import_app(self.app_uri)
File "/home/octo5/frappe-bench/env/lib/python3.6/site-packages/gunicorn/util.py", line 350, in import_app
__import__(module)
File "/home/octo5/frappe-bench/apps/frappe/frappe/app.py", line 27, in <module>
import frappe.recorder
File "/home/octo5/frappe-bench/apps/frappe/frappe/recorder.py", line 14, in <module>
import sqlparse
ModuleNotFoundError: No module named 'sqlparse'
Actually, I didn’t miss the *s in the command. The forum doesn’t show the *s. So replacing the * with (star) for your comprehension. Here’s the command:
git config remote.upstream.fetch “+refs/heads/(star):refs/remotes/upstream/(star)” from erpnext and then
"Repository Changes
The branches on the ERPNext & Frappe repositories are being renamed as follows:
Old Name New Name
develop version-12
master version-11
hotfix version-11-hotfix
Note: The master branch has been deprecated as of today i.e. 22 July, 2019.
Following are the new branches created:
develop: Version 13
version-12-hotfix: Staging area for version 12 fixes
Please note, all your open PRs have to be rebased to the new branch."
Please also note that there are systems on production.
I think i’m more or less there - but I have been stuck all day yesterday and now today on the rollup build taking forever or not happening at all…
/home/frappe/frappe-bench$ sudo bench update --build
Backing up sites...
INFO:bench.utils:bench build
yarn run v1.17.3
$ FRAPPE_ENV=production node rollup/build.js
Production mode
✔ Built js/moment-bundle.min.js
✔ Built js/libs.min.js
Building frappe assets...
✔ Built js/dialog.min.js
✔ Built js/modules.min.js
✔ Built js/social.min.js
Any ideas on how long this should take or how I can speed it up? Previously on v11 it took a while but would eventually build. Now it’s not going at all…
Hi
v11 running in VM box
Trying to upgrade to V12
when i run this
frappe@ubuntu:~/frappe-bench$ git config remote.upstream.fetch “+refs/heads/:refs/remotes/upstream/”
i get error
fatal : not in a git directory
how to resolve this
regards
Hemanth
Sir
Thanks for the reply
this command
git config remote.upstream.fetch “+refs/heads/:refs/remotes/upstream/”
iam running @ frappe@ubuntu:~/frappe-bench$
should i change the directory to git
if so how
how to execute this command
“What do you see if you go to frappe-bench/apps/erpnext and do a git status?”
should i change the directory from frappe@ubuntu:~/frappe-bench$ to ?
Thanks and regards
Hemanth