redis = ">=4.5.0"
v15.101.0
and
https://github.com/agritheory/beam/releases/tag/v15.6.2
`#10 201.3 $ git clone https://github.com/1060778506/fengjing_app.git --branch develop --depth 1 --origin upstream
#10 201.3 Ignoring dependencies of https://github.com/1060778506/fengjing_app.git. To install dependencies use --resolve-deps
#10 201.3 Installing fengjing_app
#10 201.3 $ uv pip install --upgrade -e /home/frappe/frappe-bench/apps/fengjing_app --python /home/frappe/frappe-bench/env/bin/python
#10 201.3 Getting erpnext_china
#10 201.3 $ git clone https://gitee.com/yuzelin/erpnext_china.git --branch master --depth 1 --origin upstream
#10 201.3 Ignoring dependencies of https://gitee.com/yuzelin/erpnext_china.git. To install dependencies use --resolve-deps
#10 201.3 Installing erpnext_china
#10 201.3 $ uv pip install --upgrade -e /home/frappe/frappe-bench/apps/erpnext_china --python /home/frappe/frappe-bench/env/bin/python
#10 201.3 Getting beam
#10 201.3 $ git clone https://github.com/agritheory/beam --branch version-15 --depth 1 --origin upstream
#10 201.3 Ignoring dependencies of https://github.com/agritheory/beam. To install dependencies use --resolve-deps
#10 201.3 Installing beam
#10 201.3 $ uv pip install --upgrade -e /home/frappe/frappe-bench/apps/beam --python /home/frappe/frappe-bench/env/bin/python
#10 201.3 $ yarn install --check-files --verbose
#10 201.3 yarn install v1.22.22
#10 201.3 verbose 0.153621145 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.npmrc".
#10 201.3 verbose 0.153919212 Checking for configuration file "/home/frappe/.npmrc".
#10 201.3 verbose 0.154073842 Checking for configuration file "/home/frappe/.nvm/versions/node/v20.19.2/etc/npmrc".
#10 201.3 verbose 0.154287078 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.npmrc".
#10 201.3 verbose 0.154429084 Checking for configuration file "/home/frappe/frappe-bench/apps/.npmrc".
#10 201.3 verbose 0.154572954 Checking for configuration file "/home/frappe/frappe-bench/.npmrc".
#10 201.3 verbose 0.1547249 Checking for configuration file "/home/frappe/.npmrc".
#10 201.3 verbose 0.154878658 Checking for configuration file "/home/.npmrc".
#10 201.3 verbose 0.155525549 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.yarnrc".
#10 201.3 verbose 0.155794373 Checking for configuration file "/home/frappe/.yarnrc".
#10 201.3 verbose 0.155963098 Checking for configuration file "/home/frappe/.nvm/versions/node/v20.19.2/etc/yarnrc".
#10 201.3 verbose 0.156123268 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.yarnrc".
#10 201.3 verbose 0.156314937 Checking for configuration file "/home/frappe/frappe-bench/apps/.yarnrc".
#10 201.3 verbose 0.156528957 Checking for configuration file "/home/frappe/frappe-bench/.yarnrc".
#10 201.3 verbose 0.156684078 Checking for configuration file "/home/frappe/.yarnrc".
#10 201.3 verbose 0.156812378 Checking for configuration file "/home/.yarnrc".
#10 201.3 verbose 0.161674479 current time: 2026-02-27T12:20:45.567Z
#10 201.3 [1/4] Resolving packages...
#10 201.3 [2/4] Fetching packages...
#10 201.3 [3/4] Linking dependencies...
#10 201.3 verbose 0.186878577 Creating directory "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js".
#10 201.3 verbose 0.18846142 Creating directory "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.github".
#10 201.3 verbose 0.188596924 Creating directory "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings".
#10 201.3 verbose 0.189344633 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.project" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.project".
#10 201.3 verbose 0.190662851 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/HISTORY.md" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/HISTORY.md".
#10 201.3 verbose 0.191034416 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/LICENSE" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/LICENSE".
#10 201.3 verbose 0.191241424 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/README.md" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/README.md".
#10 201.3 verbose 0.191396764 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/bower.json" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/bower.json".
#10 201.3 verbose 0.191539382 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/index.html" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/index.html".
#10 201.3 verbose 0.191663614 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/onscan.js" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/onscan.js".
#10 201.3 verbose 0.19178412 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/onscan.min.js" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/onscan.min.js".
#10 201.3 verbose 0.191926686 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/package.json" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/package.json".
#10 201.3 verbose 0.192200629 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.github/main.workflow" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.github/main.workflow".
#10 201.3 verbose 0.192390284 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.settings/.jsdtscope" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings/.jsdtscope".
#10 201.3 verbose 0.192635383 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.container" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.container".
#10 201.3 verbose 0.192864642 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.name" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.name".
#10 201.3 [4/4] Building fresh packages...
#10 201.3 Done in 0.09s.
#10 201.3 $ bench build
#10 201.3 subprocess.CalledProcessError: Command 'bench build' returned non-zero exit status 1.
#10 201.3
#10 201.3 The above exception was the direct cause of the following exception:
#10 201.3
#10 201.3 Traceback (most recent call last):
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/commands/make.py", line 75, in init
#10 201.3 init(
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/render.py", line 105, in wrapper_fn
#10 201.3 return fn(args, **kwargs)
#10 201.3 ^^^^^^^^^^^^^^^^^^^
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/system.py", line 112, in init
#10 201.3 build_assets(bench_path=path)
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/bench.py", line 405, in build_assets
#10 201.3 exec_cmd(command, cwd=bench_path, env=env)
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/init.py", line 193, in exec_cmd
#10 201.3 raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
#10 201.3 bench.exceptions.CommandFailedError: bench build
#10 201.3
#10 201.3 ERROR: There was a problem while creating /home/frappe/frappe-bench
#10 201.3 Do you want to rollback these changes? [y/N]:
#10 ERROR: process "/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "/.git" | xargs rm -fr" did not complete successfully: exit code: 1
[builder 3/3] RUN export APP_INSTALL_ARGS="" && if [ -n "W3sidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL2ZyYXBwZS9lcnBuZXh0IiwiYnJhbmNoIjoidjE1Ljk3LjAifSx7InVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9mcmFwcGUvaHJtcyIsImJyYW5jaCI6InYxNS41OC4wIn0seyJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vZnJhcHBlL2NybSIsImJyYW5jaCI6InYxLjU4LjUifSx7InVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9mcmFwcGUvaW5zaWdodHMiLCJicmFuY2giOiJ2Mi4yLjEyIn0seyJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vZnJhcHBlL2J1aWxkZXIiLCJicmFuY2giOiJ2MS4yMi40In0seyJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vZnJhcHBlL3dpa2kiLCJicmFuY2giOiJ2Mi4wLjAifSx7InVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9mcmFwcGUvcHJpbnRfZGVzaWduZXIiLCJicmFuY2giOiJ2MS42LjUifSx7InVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS8xMDYwNzc4NTA2L2ZlbmdqaW5nX2FwcC5naXQiLCJicmFuY2giOiJkZXZlbG9wIn0seyJ1cmwiOiJodHRwczovL2dpdGVlLmNvbS95dXplbGluL2VycG5leHRfY2hpbmEuZ2l0IiwiYnJhbmNoIjoibWFzdGVyIn0seyJ1cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWdyaXRoZW9yeS9iZWFtIiwiYnJhbmNoIjoidmVyc2lvbi0xNSJ9XQ==" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=version-15 --frappe-path=https://github.com/frappe/frappe --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "*/.git" | xargs rm -fr:
201.3 Do you want to rollback these changes? [y/N]:
198.4 init(self.site)
198.4 File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 254, in init
198.4 setup_redis_cache_connection()
198.4 File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 440, in setup_redis_cache_connection
198.4 from frappe.utils.redis_wrapper import setup_cache
198.4 File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py", line 7, in
198.4 from redis.commands.search import Search
198.4 ModuleNotFoundError: No module named 'redis.commands'
199.5 Aborted!
Containerfile:17
16 |
17 | >>> RUN export APP_INSTALL_ARGS="" &&
18 | >>> if [ -n "${APPS_JSON_BASE64}" ]; then
19 | >>> export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json";
20 | >>> fi &&
21 | >>> bench init ${APP_INSTALL_ARGS}
22 | >>> --frappe-branch=${FRAPPE_BRANCH}
23 | >>> --frappe-path=${FRAPPE_PATH}
24 | >>> --no-procfile
25 | >>> --no-backups
26 | >>> --skip-redis-config-generation
27 | >>> --verbose
28 | >>> /home/frappe/frappe-bench &&
29 | >>> cd /home/frappe/frappe-bench &&
30 | >>> echo "{}" > sites/common_site_config.json &&
31 | >>> find apps -mindepth 1 -path "*/.git" | xargs rm -fr
32 |
ERROR: failed to build: failed to solve: process "/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "/.git" | xargs rm -fr" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "/.git" | xargs rm -fr" did not complete successfully: exit code: 1`
redis = ">=4.5.0"
v15.101.0
and
https://github.com/agritheory/beam/releases/tag/v15.6.2
`#10 201.3 $ git clone https://github.com/1060778506/fengjing_app.git --branch develop --depth 1 --origin upstream
#10 201.3 Ignoring dependencies of https://github.com/1060778506/fengjing_app.git. To install dependencies use --resolve-deps
#10 201.3 Installing fengjing_app
#10 201.3 $ uv pip install --upgrade -e /home/frappe/frappe-bench/apps/fengjing_app --python /home/frappe/frappe-bench/env/bin/python
#10 201.3 Getting erpnext_china
#10 201.3 $ git clone https://gitee.com/yuzelin/erpnext_china.git --branch master --depth 1 --origin upstream
#10 201.3 Ignoring dependencies of https://gitee.com/yuzelin/erpnext_china.git. To install dependencies use --resolve-deps
#10 201.3 Installing erpnext_china
#10 201.3 $ uv pip install --upgrade -e /home/frappe/frappe-bench/apps/erpnext_china --python /home/frappe/frappe-bench/env/bin/python
#10 201.3 Getting beam
#10 201.3 $ git clone https://github.com/agritheory/beam --branch version-15 --depth 1 --origin upstream
#10 201.3 Ignoring dependencies of https://github.com/agritheory/beam. To install dependencies use --resolve-deps
#10 201.3 Installing beam
#10 201.3 $ uv pip install --upgrade -e /home/frappe/frappe-bench/apps/beam --python /home/frappe/frappe-bench/env/bin/python
#10 201.3 $ yarn install --check-files --verbose
#10 201.3 yarn install v1.22.22
#10 201.3 verbose 0.153621145 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.npmrc".
#10 201.3 verbose 0.153919212 Checking for configuration file "/home/frappe/.npmrc".
#10 201.3 verbose 0.154073842 Checking for configuration file "/home/frappe/.nvm/versions/node/v20.19.2/etc/npmrc".
#10 201.3 verbose 0.154287078 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.npmrc".
#10 201.3 verbose 0.154429084 Checking for configuration file "/home/frappe/frappe-bench/apps/.npmrc".
#10 201.3 verbose 0.154572954 Checking for configuration file "/home/frappe/frappe-bench/.npmrc".
#10 201.3 verbose 0.1547249 Checking for configuration file "/home/frappe/.npmrc".
#10 201.3 verbose 0.154878658 Checking for configuration file "/home/.npmrc".
#10 201.3 verbose 0.155525549 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.yarnrc".
#10 201.3 verbose 0.155794373 Checking for configuration file "/home/frappe/.yarnrc".
#10 201.3 verbose 0.155963098 Checking for configuration file "/home/frappe/.nvm/versions/node/v20.19.2/etc/yarnrc".
#10 201.3 verbose 0.156123268 Checking for configuration file "/home/frappe/frappe-bench/apps/beam/.yarnrc".
#10 201.3 verbose 0.156314937 Checking for configuration file "/home/frappe/frappe-bench/apps/.yarnrc".
#10 201.3 verbose 0.156528957 Checking for configuration file "/home/frappe/frappe-bench/.yarnrc".
#10 201.3 verbose 0.156684078 Checking for configuration file "/home/frappe/.yarnrc".
#10 201.3 verbose 0.156812378 Checking for configuration file "/home/.yarnrc".
#10 201.3 verbose 0.161674479 current time: 2026-02-27T12:20:45.567Z
#10 201.3 [1/4] Resolving packages...
#10 201.3 [2/4] Fetching packages...
#10 201.3 [3/4] Linking dependencies...
#10 201.3 verbose 0.186878577 Creating directory "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js".
#10 201.3 verbose 0.18846142 Creating directory "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.github".
#10 201.3 verbose 0.188596924 Creating directory "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings".
#10 201.3 verbose 0.189344633 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.project" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.project".
#10 201.3 verbose 0.190662851 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/HISTORY.md" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/HISTORY.md".
#10 201.3 verbose 0.191034416 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/LICENSE" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/LICENSE".
#10 201.3 verbose 0.191241424 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/README.md" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/README.md".
#10 201.3 verbose 0.191396764 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/bower.json" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/bower.json".
#10 201.3 verbose 0.191539382 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/index.html" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/index.html".
#10 201.3 verbose 0.191663614 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/onscan.js" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/onscan.js".
#10 201.3 verbose 0.19178412 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/onscan.min.js" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/onscan.min.js".
#10 201.3 verbose 0.191926686 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/package.json" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/package.json".
#10 201.3 verbose 0.192200629 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.github/main.workflow" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.github/main.workflow".
#10 201.3 verbose 0.192390284 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.settings/.jsdtscope" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings/.jsdtscope".
#10 201.3 verbose 0.192635383 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.container" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.container".
#10 201.3 verbose 0.192864642 Copying "/home/frappe/.cache/yarn/v6/npm-onscan-js-1.5.2-14ed636e5f4c3f0a78bacbf9a505dad3140ee341-integrity/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.name" to "/home/frappe/frappe-bench/apps/beam/node_modules/onscan.js/.settings/org.eclipse.wst.jsdt.ui.superType.name".
#10 201.3 [4/4] Building fresh packages...
#10 201.3 Done in 0.09s.
#10 201.3 $ bench build
#10 201.3 subprocess.CalledProcessError: Command 'bench build' returned non-zero exit status 1.
#10 201.3
#10 201.3 The above exception was the direct cause of the following exception:
#10 201.3
#10 201.3 Traceback (most recent call last):
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/commands/make.py", line 75, in init
#10 201.3 init(
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/render.py", line 105, in wrapper_fn
#10 201.3 return fn(args, **kwargs)
#10 201.3 ^^^^^^^^^^^^^^^^^^^
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/system.py", line 112, in init
#10 201.3 build_assets(bench_path=path)
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/bench.py", line 405, in build_assets
#10 201.3 exec_cmd(command, cwd=bench_path, env=env)
#10 201.3 File "/usr/local/lib/python3.11/site-packages/bench/utils/init.py", line 193, in exec_cmd
#10 201.3 raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
#10 201.3 bench.exceptions.CommandFailedError: bench build
#10 201.3
#10 201.3 ERROR: There was a problem while creating /home/frappe/frappe-bench
#10 201.3 Do you want to rollback these changes? [y/N]:
#10 ERROR: process "/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "/.git" | xargs rm -fr" did not complete successfully: exit code: 1
198.4 init(self.site)
198.4 File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 254, in init
198.4 setup_redis_cache_connection()
198.4 File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 440, in setup_redis_cache_connection
198.4 from frappe.utils.redis_wrapper import setup_cache
198.4 File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py", line 7, in
198.4 from redis.commands.search import Search
198.4 ModuleNotFoundError: No module named 'redis.commands'
199.5 Aborted!
Containerfile:17
16 |
17 | >>> RUN export APP_INSTALL_ARGS="" &&
18 | >>> if [ -n "${APPS_JSON_BASE64}" ]; then
19 | >>> export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json";
20 | >>> fi &&
21 | >>> bench init ${APP_INSTALL_ARGS}
22 | >>> --frappe-branch=${FRAPPE_BRANCH}
23 | >>> --frappe-path=${FRAPPE_PATH}
24 | >>> --no-procfile
25 | >>> --no-backups
26 | >>> --skip-redis-config-generation
27 | >>> --verbose
28 | >>> /home/frappe/frappe-bench &&
29 | >>> cd /home/frappe/frappe-bench &&
30 | >>> echo "{}" > sites/common_site_config.json &&
31 | >>> find apps -mindepth 1 -path "*/.git" | xargs rm -fr
32 |
ERROR: failed to build: failed to solve: process "/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "/.git" | xargs rm -fr" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "/.git" | xargs rm -fr" did not complete successfully: exit code: 1`