Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

## Bench setup production fails due to outdated Ansible keywords (Ubuntu 22.04, Bench 5.26) #1562

Open
Zawala opened this issue May 27, 2024 · 0 comments
Labels

Comments

@Zawala
Copy link
Contributor

Zawala commented May 27, 2024

Description

When running sudo bench setup production [frappe_user] on Ubuntu server 22.04 with Bench version 5.26, the command fails due to outdated keywords used in the Ansible playbooks.

To Reproduce

  1. Install Ubuntu server 22.04.
  2. Install Bench version 5.26. (Instructions on how to install Bench can be found on the Frappe Framework documentation https://frappeframework.com/docs/user/en/installation)
  3. Run the command: sudo bench setup production [frappe_user] (Replace [frappe_user] with your desired username)

Expected behavior

The bench setup production command should successfully configure the production environment for your Frappe application.

OS

  • Linux: Ubuntu 22.04

Version Information

  • Bench Branch: 5.X
  • Frappe Version: 14
  • ERPNext Version: 14

Additional context

The outdated keywords in the Ansible playbooks are likely causing the command to fail. The affected changes can be seen in the attached screenshots.

Possible Solution

Updating the Ansible keywords in the relevant playbooks to be compatible with Ubuntu 22.04 might resolve the issue.
image

@Zawala Zawala added the bug label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant