frappe / bench

CLI to manage Multi-tenant deployments for Frappe apps
https://frappeframework.com/docs/user/en/bench
GNU General Public License v3.0
1.41k stars 1.21k forks source link

Any 3rd party app installed shows "Internal Server Error" when installed on my own production server. #1483

Open anandfursule opened 1 year ago

anandfursule commented 1 year ago

Issue: When I install any other apps except Frappe or ERPNext the website shows "Internal Server Error"

Distro Information (Required) Linux frappe-t1 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS" PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" easy-install.log

SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy

Command Run (Required) Used this command to install "sudo python3 easy-install.py --prod -s [sitename] --email [my email id]" Then used "bench get-app https://github.com/shridarpatil/frappe_whatsapp" and "bench --site [sitename] install-app frappe_whatsapp" to install the app.

Additional context The app installs fine. No errors, nothing. I even created my custom app on my development machine and installed them on the production server using github but I got same results. "Internal Server Error"

ankush commented 1 year ago

Did you try bench restart?

anandfursule commented 1 year ago

Yes. It shows this warning. "WARN: restart failed: Couldn't find supervisorctl in PATH"

This warning is also shown when I use bench build. And if I stop and start the docker containers, it just shows error 404.