Bench Update Error - V13

Hello!
After updating , I’ve got this :

bench update --reset
remote: Enumerating objects: 313, done.
remote: Counting objects: 100% (313/313), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 464 (delta 287), reused 292 (delta 274), pack-reused 151
Receiving objects: 100% (464/464), 62.29 KiB | 0 bytes/s, done.
Resolving deltas: 100% (363/363), completed with 73 local objects.
From https://github.com/frappe/frappe
b7acd31…6b2d622 develop -> upstream/develop
Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.5/runpy.py”, line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.5/runpy.py”, line 109, in _get_module_details
import(pkg_name)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 348
print(f"Message: {repr(out.message).encode(‘utf-8’)}")
^
SyntaxError: invalid syntax

after that, I’ve got the message : Sorry! We will be back soon

I have tried:

:~/frappe-bench$ sudo supervisorctl restart all
frappe-bench-web:frappe-bench-node-socketio: stopped
frappe-bench-redis:frappe-bench-redis-queue: stopped
frappe-bench-redis:frappe-bench-redis-cache: stopped
frappe-bench-redis:frappe-bench-redis-socketio: stopped
frappe-bench-web:frappe-bench-frappe-web: ERROR (spawn error)
frappe-bench-web:frappe-bench-node-socketio: started
frappe-bench-redis:frappe-bench-redis-queue: started
frappe-bench-redis:frappe-bench-redis-cache: started
frappe-bench-redis:frappe-bench-redis-socketio: started
frappe-bench-workers:frappe-bench-frappe-schedule: ERROR (spawn error)
frappe-bench-workers:frappe-bench-frappe-default-worker-0: ERROR (spawn error)
frappe-bench-workers:frappe-bench-frappe-long-worker-0: ERROR (spawn error)
frappe-bench-workers:frappe-bench-frappe-short-worker-0: ERROR (spawn error)

System is on Ubuntu 16.04, develop , V13 beta 1

Thanks

Got similar error.

Checked web.error.log using

tail -f web.error.log 

Found out error in the last line:

PermissionError: [Errno 13] Permission denied: '/home/frappe/frappe-bench/logs/web.log'

Did

sudo chown  frappe.frappe *.log

Site started working. :slight_smile:

It doesn’t work for me. Got this:

tail -f web.error.log
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py”, line 52, in load
return self.load_wsgiapp()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py”, line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/util.py”, line 350, in import_app
import(module)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 348
print(f"Message: {repr(out.message).encode(‘utf-8’)}")
^
SyntaxError: invalid syntax

this is in web.error.log :

Traceback (most recent call last):
File “/home/frappe/frappe-bench/env/bin/gunicorn”, line 8, in
sys.exit(run())
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py”, line 61, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/base.py”, line 223, in run
super(Application, self).run()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/base.py”, line 72, in run
Arbiter(self).run()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/arbiter.py”, line 60, in init
self.setup(app)
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/arbiter.py”, line 120, in setup
self.app.wsgi()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/base.py”, line 67, in wsgi
self.callable = self.load()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py”, line 52, in load
return self.load_wsgiapp()
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/app/wsgiapp.py”, line 41, in load_wsgiapp
return util.import_app(self.app_uri)
File “/home/frappe/frappe-bench/env/lib/python3.5/site-packages/gunicorn/util.py”, line 350, in import_app
import(module)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 348
print(f"Message: {repr(out.message).encode(‘utf-8’)}")
^
SyntaxError: invalid syntax