erpnext@zafar-virtual-machine:~$ bench switch-to-branch version-13 frappe erpnext --upgrade
WARN: Command not being executed in bench directory
ERROR: frappe does not exist!
ERROR: erpnext does not exist!
erpnext@zafar-virtual-machine:~$ cd /opt/bench/erpnext
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench switch-to-branch version-13 frappe erpnext --upgrade
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
INFO: Fetching upstream unshallow for frappe
$ git remote set-branches upstream ‘*’
$ git fetch --all --unshallow --quiet
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- branch version-13 → FETCH_HEAD
Switching for frappe
$ git checkout -f version-13
Already on ‘version-13’
Your branch is up to date with ‘upstream/version-13’.
INFO: Fetching upstream unshallow for erpnext
$ git remote set-branches upstream ‘*’
$ git fetch --all --unshallow --quiet
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) - branch version-13 → FETCH_HEAD
Switching for erpnext
$ git checkout -f version-13
Already on ‘version-13’
Your branch is up to date with ‘upstream/version-13’.
SUCCESS: Successfully switched branches for: frappe, erpnext
Please runbench update --patch
to be safe from any differences in database schema
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo service nginx restart
[sudo] password for erpnext:
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo supervisorctl reload
Restarted supervisord
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench update --patch
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Bench command cache doesn’t exist in this folder!
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- branch version-13 → FETCH_HEAD
WARN: shallow_clone is set in your bench config.
However without passing the --reset flag, your repositories will be unshallowed.
To avoid this, cancel this operation and runbench update --reset
.
Consider the consequences of git reset --hard
on your apps before you run that.
To avoid seeing this warning, set shallow_clone to false in your common_site_config.json
Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo systemctl start supervisor
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo systemctl enable supervisor
Synchronizing state of supervisor.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable supervisor
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo bench setup production -erpnext-
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench setup production [OPTIONS] USER
Try “bench setup production --help” for help.
Error: no such option: -e
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo bench setup production -your-user-
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench setup production [OPTIONS] USER
Try “bench setup production --help” for help.
Error: no such option: -y
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo bench setup production -your-user-
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench setup production [OPTIONS] USER
Try “bench setup production --help” for help.
Error: no such option: -y
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo bench setup production erpnext update
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench setup production [OPTIONS] USER
Try “bench setup production --help” for help.
Error: Got unexpected extra argument (update)
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench update
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Bench command cache doesn’t exist in this folder!
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- branch version-13 → FETCH_HEAD
WARN: shallow_clone is set in your bench config.
However without passing the --reset flag, your repositories will be unshallowed.
To avoid this, cancel this operation and runbench update --reset
.
Consider the consequences of git reset --hard
on your apps before you run that.
To avoid seeing this warning, set shallow_clone to false in your common_site_config.json
Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo bench update
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Bench command cache doesn’t exist in this folder!
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- branch version-13 → FETCH_HEAD
WARN: shallow_clone is set in your bench config.
However without passing the --reset flag, your repositories will be unshallowed.
To avoid this, cancel this operation and runbench update --reset
.
Consider the consequences of git reset --hard
on your apps before you run that.
To avoid seeing this warning, set shallow_clone to false in your common_site_config.json
Will continue execution in 8 seconds…
Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench build
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: No such command “build”.
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ ls
Procfile apps config env logs patches.txt sites
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ cd /apps
-bash: cd: /apps: No such file or directory
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo /apps
sudo: /apps: command not found
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ cd apps
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps$ ls
erpnext frappe posawesome
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps$ cd frappe
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe$ ls
CODEOWNERS Makefile pycache cypress frappe.egg-info node_modules requirements.txt sider.yml
CODE_OF_CONDUCT.md README.md attributions.md cypress.json generate_bootstrap_theme.js node_utils.js rollup socketio.js
LICENSE SECURITY.md bandit.yml frappe hooks.md package.json setup.py yarn.lock
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe$ bench build
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: No such command “build”.
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe$ bench --build
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: no such option: --build
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe$ cd frappe
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe/frappe$ ls
init.py boot.py config data_migration event_streaming installer.py modules.txt permissions.py realtime.py templates utils
pycache build.py contacts database exceptions.py integrations monitor.py printing recorder.py test_runner.py website
api.py cache_manager.py core defaults.py frappeclient.py middlewares.py oauth.py public search tests workflow
app.py change_log coverage.py deferred_insert.py geo migrate.py parallel_test_runner.py pythonrc.py sessions.py translate.py www
auth.py client.py custom desk handler.py model patches query_builder share.py translations
automation commands data email hooks.py modules patches.txt rate_limiter.py social twofactor.py
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe/frappe$ bench --build
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: no such option: --build
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe/frappe$ bench build
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: No such command “build”.
erpnext@zafar-virtual-machine:/opt/bench/erpnext/apps/frappe/frappe$ cd
erpnext@zafar-virtual-machine:~$ cd /opt/bench/erpnext
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench switch-to-branch version-13 frappe erpnext --upgrade
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
INFO: Fetching upstream unshallow for frappe
$ git remote set-branches upstream ‘*’
$ git fetch --all --unshallow --quiet
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- branch version-13 → FETCH_HEAD
Switching for frappe
$ git checkout -f version-13
Already on ‘version-13’
Your branch is up to date with ‘upstream/version-13’.
INFO: Fetching upstream unshallow for erpnext
$ git remote set-branches upstream ‘*’
$ git fetch --all --unshallow --quiet
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 3), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (4/4), 345 bytes | 69.00 KiB/s, done.
From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) - branch version-13 → FETCH_HEAD
- c2911998a1…04a25b0e19 version-13 → upstream/version-13 (forced update)
Switching for erpnext
$ git checkout -f version-13
Already on ‘version-13’
Your branch and ‘upstream/version-13’ have diverged,
and have 1 and 1 different commits each, respectively.
(use “git pull” to merge the remote branch into yours)
SUCCESS: Successfully switched branches for: frappe, erpnext
Please runbench update --patch
to be safe from any differences in database schema
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench update --patch
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
Bench command cache doesn’t exist in this folder!
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
- branch version-13 → FETCH_HEAD
WARN: shallow_clone is set in your bench config.
However without passing the --reset flag, your repositories will be unshallowed.
To avoid this, cancel this operation and runbench update --reset
.
Consider the consequences of git reset --hard
on your apps before you run that.
To avoid seeing this warning, set shallow_clone to false in your common_site_config.json
Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench --site site-name migrate
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench --site erpnext.shahzadtex.com migrate
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ cd
erpnext@zafar-virtual-machine:~$ cd /opt/bench
erpnext@zafar-virtual-machine:/opt/bench$ bench --site erpnext.shahzadtex.com migrate
WARN: Command not being executed in bench directory
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.
Error: no such option: --site
erpnext@zafar-virtual-machine:/opt/bench$ ls
erpnext
erpnext@zafar-virtual-machine:/opt/bench$ cd erpnext
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench --site erpnext.shahzadtex.com migrate
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo supervisorctl restart all
erpnext-web:erpnext-node-socketio: stopped
erpnext-workers:erpnext-frappe-schedule: stopped
erpnext-workers:erpnext-frappe-long-worker-0: stopped
erpnext-web:erpnext-frappe-web: stopped
erpnext-workers:erpnext-frappe-default-worker-0: stopped
erpnext-redis:erpnext-redis-cache: stopped
erpnext-redis:erpnext-redis-queue: stopped
erpnext-redis:erpnext-redis-socketio: stopped
erpnext-workers:erpnext-frappe-short-worker-0: stopped
erpnext-redis:erpnext-redis-cache: started
erpnext-redis:erpnext-redis-queue: started
erpnext-redis:erpnext-redis-socketio: started
erpnext-web:erpnext-frappe-web: started
erpnext-web:erpnext-node-socketio: started
erpnext-workers:erpnext-frappe-schedule: started
erpnext-workers:erpnext-frappe-default-worker-0: started
erpnext-workers:erpnext-frappe-short-worker-0: started
erpnext-workers:erpnext-frappe-long-worker-0: started
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ sudo service nginx restart
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench --site erpnext.shahzadtex.com migrate
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench --site erpnext.shahzadtex.com set-maintenance-mode off
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ ls
Procfile apps config env logs patches.txt sites
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ cd sites
erpnext@zafar-virtual-machine:/opt/bench/erpnext/sites$ ls
apps.txt assets common_site_config.json currentsite.txt erpnext.shahzadtex.com
erpnext@zafar-virtual-machine:/opt/bench/erpnext/sites$ bench --site erpnext.shahzadtex.com set-maintenance-mode off
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext/sites$ cd
erpnext@zafar-virtual-machine:~$ cd /opt/bench/erpnext
erpnext@zafar-virtual-machine:/opt/bench/erpnext$ bench --site erpnext.shahzadtex.com scheduler resume
Traceback (most recent call last):
File “/usr/lib/python3.8/runpy.py”, line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.8/runpy.py”, line 111, in _get_module_details
import(pkg_name)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 25, in
from past.builtins import cmp
ModuleNotFoundError: No module named ‘past’
erpnext@zafar-virtual-machine:/opt/bench/erpnext$