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

Installation of new official or custom apps #24

Open
Ahmadshoh opened this issue Nov 30, 2024 · 1 comment
Open

Installation of new official or custom apps #24

Ahmadshoh opened this issue Nov 30, 2024 · 1 comment

Comments

@Ahmadshoh
Copy link

Hi,

I followed your documentation to install Frappe using Docker Swarm and Traefik, and everything is working fine. However, after initializing the bench and creating sites, I’m unable to install new apps. I’m encountering an error: "Module {app_name} not found."

Could you please provide some guidance on how to correctly install apps in this setup?

Thank you in advance.

@revant
Copy link
Contributor

revant commented Dec 4, 2024

Create a stack like configure-erpnext.yml with following lines:

command:
- >
bench set-config -g db_host $$DB_HOST;
bench set-config -gp db_port $$DB_PORT;
bench set-config -g redis_cache "redis://$$REDIS_CACHE";
bench set-config -g redis_queue "redis://$$REDIS_QUEUE";
bench set-config -g redis_socketio "redis://$$REDIS_SOCKETIO";
bench set-config -gp socketio_port $$SOCKETIO_PORT;

changed to:

    command:
      - >
        ls -1 apps > sites/apps.txt

Run any bench command or general command using this pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants