Duplicate post: After update I am getting " Sorry! We will be back soon."

Hello,

I ran a bench update, and it went smooth without errors, but then I can’t access my site and I get “Sorry! We will be back soon.”

Here is what i get when I run bench update:

frappe@work:~$ bench update
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 21 (delta 13), reused 19 (delta 11), pack-reused 0
Unpacking objects: 100% (21/21), done.
From https://github.com/frappe/frappe
   3f320db..1ba3d14  develop    -> upstream/develop
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
INFO:bench.app:pulling frappe
INFO:bench.utils:git pull  upstream master
From https://github.com/frappe/frappe
 * branch            master     -> FETCH_HEAD
Already up-to-date.
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git pull  upstream master
From https://github.com/frappe/erpnext
 * branch            master     -> FETCH_HEAD
Already up-to-date.
INFO:bench.utils:find . -name "*.pyc" -delete
Updating Python libraries...
INFO:bench.utils:./env/bin/pip install --upgrade pip
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requ                                                                                                             ests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has                                                                                                              been made, but the SNI (Subject Name Indication) extension to TLS is not availab                                                                                                             le on this platform. This may cause the server to present an incorrect TLS certi                                                                                                             ficate, which can cause validation failures. You can upgrade to a newer version                                                                                                              of Python to solve this. For more information, see https://urllib3.readthedocs.i                                                                                                             o/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requ                                                                                                             ests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLConte                                                                                                             xt object is not available. This prevents urllib3 from configuring SSL appropria                                                                                                             tely and may cause certain SSL connections to fail. You can upgrade to a newer v                                                                                                             ersion of Python to solve this. For more information, see https://urllib3.readth                                                                                                             edocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/frappe/bench-repo/requirement                                                                                                             s.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/ui_customization/requirement                                                                                                             s.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
Updating node libraries...
INFO:bench.utils:npm install
frappe@ /home/frappe/frappe-bench
├── babel-core@6.24.1
├── babel-preset-babili@0.0.12
├── babel-preset-es2015@6.24.1
├── babel-preset-es2016@6.24.1
├── babel-preset-es2017@6.24.1
├── chokidar@1.7.0
├── cookie@0.3.1
├── less@2.7.2
└── socket.io@2.0.1

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.2
npm WARN frappe@ No description
Backing up sites...
Patching sites...
Migrating site1.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
Migrating site2.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
Migrating site3.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
Migrating site4.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
Migrating site5.local
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
Wrote css/frappe-web.css - 64.95 KB
Wrote js/frappe-web.min.js - 138.62 KB
Wrote js/dialog.min.js - 94.68 KB
Wrote css/desk.min.css - 280.95 KB
Wrote css/frappe-rtl.css - 31.78 KB
Wrote js/libs.min.js - 814.29 KB
Wrote js/desk.min.js - 384.08 KB
Wrote js/d3.min.js - 380.17 KB
Wrote css/module.min.css - 2.08 KB
Wrote css/form.min.css - 4.47 KB
Wrote js/form.min.js - 185.93 KB
Wrote css/list.min.css - 15.72 KB
Wrote js/list.min.js - 145.52 KB
Wrote css/report.min.css - 7.77 KB
Wrote js/report.min.js - 255.37 KB
Wrote js/web_form.min.js - 247.45 KB
Wrote css/web_form.css - 24.42 KB
Wrote js/print_format_v3.min.js - 23.3 KB
Wrote css/erpnext.css - 7.87 KB
Wrote js/erpnext-web.min.js - 3.62 KB
Wrote js/erpnext.min.js - 115.87 KB
Wrote js/item-dashboard.min.js - 7.65 KB
INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-node-socketio: stopped
frappe-bench-frappe-web: stopped
frappe-bench-frappe-schedule: started
frappe-bench-frappe-default-worker-0: started
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-frappe-web: started
frappe-bench-node-socketio: started
________________________________________________________________________________
Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
()
frappe@work:~$

And after I ran the update and couldn’t access the site still, I ran sudo supervisorctl restart all

and the result was:

frappe@work:~$ sudo supervisorctl restart all
frappe-bench-frappe-schedule: stopped
frappe-bench-frappe-default-worker-0: stopped
frappe-bench-frappe-long-worker-0: stopped
frappe-bench-frappe-short-worker-0: stopped
frappe-bench-frappe-web: stopped
frappe-bench-node-socketio: stopped
frappe-bench-redis-queue: stopped
frappe-bench-frappe-schedule: started
frappe-bench-frappe-default-worker-0: started
frappe-bench-frappe-long-worker-0: started
frappe-bench-frappe-short-worker-0: started
frappe-bench-frappe-web: started
frappe-bench-node-socketio: started
frappe-bench-redis-queue: started
frappe-bench-redis-cache: ERROR (abnormal termination)
frappe-bench-redis-socketio: ERROR (abnormal termination)
frappe@work:~$

Can somebody help me in getting my system back?

Regards,
Ahmed

1 Like

2 posts were merged into an existing topic: Need help. After update I am getting ” Sorry! We will be back soon.”