By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Installation of ERPNext in EC2 Ubuntu

0

Hello, I am new to AWS. I want to try it out with ERPNext. I am battling to install ERPNExt in EC2, I kept getting stuck when executing bench init at "yarn install v1.22.22" Here is the message received: yarn install v1.22.22 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... warning " > @frappe/esbuild-plugin-postcss2@0.1.3" has unmet peer dependency "less@^4.x". warning " > @frappe/esbuild-plugin-postcss2@0.1.3" has unmet peer dependency "stylus@^0.x". warning " > @vue/component-compiler@4.2.4" has unmet peer dependency "vue-template-compiler@*". [5/5] Building fresh packages... Done in 17.25s. Found existing apps updating states... WARN: restart failed: Couldn't find supervisorctl in PATH $ bench build Assets for Release v15.45.0 don't exist

Any idea, how getting stuck, and how to resolve it?

asked 12 days ago30 views
1 Answer
0

It seems you're encountering some issues while installing ERPNext on an EC2 Ubuntu instance. Let's break down the problem and provide some potential solutions:

  1. The yarn installation appears to have completed successfully, despite some warnings about unmet peer dependencies. These warnings are not necessarily critical errors.

  2. The main issue seems to be with the supervisor and the bench build process. Here are some steps you can try to resolve this:

    a. Install supervisor if it's not already installed: sudo apt-get update sudo apt-get install supervisor

    b. Ensure that the supervisor service is running: sudo systemctl start supervisor sudo systemctl enable supervisor

    c. After installing supervisor, try running the bench init command again.

  3. If you're still encountering issues with the bench build process, you might need to manually build the assets: bench build

  4. If the assets for the specific release (v15.45.0) don't exist, you might need to update your ERPNext installation to the latest version: bench update

  5. Make sure you have all the necessary dependencies installed for ERPNext. This includes Node.js, yarn, Python, and various system libraries.

  6. If you continue to face issues, you might want to consider using a pre-configured ERPNext AMI from the AWS Marketplace, which could save you the trouble of manual installation.

Remember to check your EC2 instance's security group settings to ensure that the necessary ports are open for ERPNext to function properly.

If these steps don't resolve your issue, you may need to review the ERPNext installation documentation specific to Ubuntu and EC2, or seek assistance from the ERPNext community forums for more targeted help.

Sources
Install EC2 Instance Connect on your EC2 instances - Amazon Elastic Compute Cloud
Troubleshoot Amazon EC2 instance stop issues - Amazon Elastic Compute Cloud
Troubleshoot EC2 instance profile errors for IAM roles | AWS re:Post

profile picture
answered 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions