System failure. NEED HELP URGENTLY

Looks like a permissions problem.
In the ~ or $HOME subdir, there is normally a “frappe-bench” subdir. This should have ownership of the user that was used to install ERPNext. So, for example, if the user is (as it seems in the screen shots)…ubuntu, then this might work…

sudo chown -R ubuntu:ubuntu ~/frappe-bench

It also looks like you may need to do an OS update with

sudo apt update && sudo apt upgrade -y

erp3

From the screenshot, you have insufficient disk space

Guys, still we can’t handle the problem. Who is able to help? We r ready to pay this champion.

@KonstantinG looking at everything you tried, I can’t even see where you installed frappe and hence erpnext.

Very important, the bench commands everyone here mentioned must be issued from the frappe-bench folder. However, you are retracting the path in every screenshot so we can’t tell …

First step, go to the folder where you installed everything. Also, important, don’t use the root user, you should have a separate dedicated user, basically follow the installation guidelines.

the problem is that i totally don’t understand anything in this issues. i just need someone who is able to tune up everything. My programmer is not a specialist in this system and another guy, who has dealt with it is unreachable now.
So I’m looking for someone who can fix this.

This is a Bitnami ERPNext virtual server on Amazon EC2

I understand. Like I said, the trick is to issue the commands from within the frappe-bench folder with the correct user. Read my private message.

sudo ls
install.py patches.txt

that’s all there is in the home directory

From the point I am looking at thing right now I can’t tell what you’ve done and how it was done.

If I am not mistaken, it doesn’t sound like you don’t have anything important stored in that erpnext instance, do you ? try a reinstall then … like a previous user here said, you should have a frappe-bench folder. Just restarting the server cannot delete files.

Trace back what happened or who did what.

@KonstantinG - Have you managed to resolve the issue?

Not really. What we’ve got:
Apparently there was an automatic update of the ERP, which led to its fall. We have a copy of the system (instance) on Amazon, but unfortunately it was made to save the database after the crash. We are currently trying to download the instance to a computer in order to physically extract the databases. After that, install a new system on Amazon and build the existing base into it.
If you have other ideas, we will be happy, because the situation is critical for the company.

@KonstantinG-

At least the mystery was solved. That helps formulate the next steps .

Do you have a snapshot of the environment before the crash? I’m unclear by what you mean by “it was made to save the database after the crash”

I’m sure I don’t need to mention this but I would think its in your interest to engage an experienced resource to manage you ERP environment.

Anyway, wish you all the best with the recovery exercise.

instance which is a copy of the one we used. this is not working as well

snapshot we’ve made immediately after falure

The experienced resource is a problem. if u r the one - let’s discuss the conditions.

Generally if mysql fails to restart or has some integrity issues after a crash, below post will help get the database up.

Can check error related logs from frappe-bench/logs folder for a clue on whats going on.

Hi,

From all the conversations so far, You have bitnami EC2 instance. Please execute the below commands

cd /opt/bitnami/apps/erpnext/htdocs/frappe-bench
bench build
bench restart

thank u, guys. u have saved my life.the volume was the issue. now everything is working.

Thanks, dude
:pray::pray::pray::pray:

just to be clear, the problem was the low
disc space

1 Like