-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Couldn't install custom apps after custom image build #1515
Comments
EDIT: |
I don't use docker for deployment. |
mm, I am not 100% sure but maybe SELinux is causing an issue with the building process, there is a message pop-up when I start the docker build command. It was working fine last week though without a problem. But gladly since Podman worked for me now I think I should shift to Podman or Kubernetes. |
Try following command from backend container.
After that try install app again. |
I executed Then I tried installing hrms ( |
It means you don't have hrms in the image. |
The problem is that it doesn't include HRMS while building a custom image. As I attached a video while building the image, it will show an error and skip HRMS and the helpdesk. |
Description of the issue
Greetings
I recently tried to build a custom image to install custom apps (HRMS, helpdesk) everything worked fine. I was experiencing docker on Fedora 41 KDE since I had problems with Podman. The first time I tried a week ago, things were fine and I could install both hrms and helpdesk after starting the containers.
But starting from recent changes to this git or maybe frappe repo, I am getting an error while building the image, although the build process ended fine I couldn't install hrms and helpdesk while installing erpnext just works fine.
Context information (for bug reports)
I am on Fedora Workstation 41
using Docker version 27.3.1, build ce12230
Steps to reproduce the issue
Then generated base64 string
export APPS_JSON_BASE64=$(base64 -w 0 apps.json)
4. Building the image
cp example.env .env
and I edited the following parametersCreated new compose file
Starting the containers
docker compose --project-name testerp-f ./docker-compose.yml up -d
Creating site
sudo docker compose --project-name testerp exec backend bench new-site erp --mariadb-root-password 123 --admin-password 123123
Installing apps
sudo docker compose -f ./docker-compose.yml --project-name testerp exec backend bench --site erp install-app erpnext
sudo docker compose -f ./docker-compose.yml --project-name testerp exec backend bench --site erp install-app hrms
sudo docker compose -f ./docker-compose.yml --project-name testerp exec backend bench --site erp install-app helpdesk
Observed result
erpnext installed fine
helpdesk and hrms didn't installed
Expected result
both hrms and helpdesk applications should have installed without problem
Stacktrace / full error message if available
Additional resources on errors
Screencast_20241117_184934.mp4
The text was updated successfully, but these errors were encountered: