Frappe-bench

Latest version: v5.23.0

Safety actively analyzes 688649 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 13

4.0

Improvements for frappe/erpnext v7 release

3.1

Compatibility fixes between Celery and RQ configurations

3.0

Deprecated Celery and moved to using Python RQ

If you have a Frappé app with background jobs that are NOT called via scheduler, you need to read [Celery to Python RQ](https://github.com/frappe/frappe/wiki/Celery-to-Python-RQ)

2.1

- Fixes dev installer for Mac OS X
- Permissive sudoers
- Improved release script

2.0

Hi everyone,

We have **merged** bench `v2` into master. Things can break. So, if you want to continue without disruption, you can change the bench branch to `v1.x`.

> Troubleshooting help at: https://discuss.erpnext.com/t/important-bench-version-2-see-this-before-you-run-bench-update/11352

---

What's new?
1. `frappe-bench/config.json` deprecated and merged into `frappe-bench/sites/common_site_config.json`. This will be done automatically on `bench update`
2. Some keys in `site_config.json` / `common_site_config.json` have changed, which will be changed automatically on `bench update`.
- `celery_broker` --> `redis_queue` with default as `redis://localhost:6379`
- `async_redis_server` --> `redis_socketio` with default as `redis://localhost:12311`
- `cache_redis_server` --> `redis_cache` with default as `redis://localhost:11311`
3. File names in `frappe-bench/config` have changed. If you get any error about config, run:


bench setup redis
bench setup procfile

if production setup
bench setup supervisor
bench setup nginx

4. Multi-bench setup
- Assumes all benches are installed in parallel, i.e. `some-folder/frappe-bench-1`, `some-folder/frappe-bench-2`, etc.
- On `bench init`, loops through all benches' configuration and sets unique ports for `webserver`, `socketio` and various `redis-server`
- `bench setup production` creates symlinks of nginx and supervisor with the bench's name
5. Other improvements
- A new installer using ansible (WIP) - for now creates development setup
(production setup yet to be implemented)
- Test cases for bench and refactored code
- Nginx `https` config auto-redirects `http://` to `https://`

1.0

This release marks the end of version 1 of bench. This version supports single bench per machine. The next version support multiple benches per machine.

> This is the recommended release to use when migrating from older versions of frappe i.e. frappe version < 7.

Page 12 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.