Open kkjinping opened 4 days ago
I found a similar issue related to the "operation not permitted" error in Dify, which might be relevant to your situation. The issue was discussed in this thread, where users encountered workflow errors in a self-hosted Docker environment. The suggested solution involves checking Docker and Docker Compose versions, setting proper permissions, and reviewing Docker Compose configurations [1].
Here are some steps you can try to resolve the issue:
Check Docker and Docker Compose Versions: Ensure you have Docker 19.03 or later and Docker Compose 1.25.1 or later installed.
docker --version
docker-compose --version
Set Proper Permissions: Make sure your user has the necessary permissions to run Docker commands.
sudo usermod -aG docker $USER
Review and Modify Docker Compose Configuration: Ensure the docker-compose.yaml
file is correctly configured, especially the volume mounts and network settings.
Check Container Status: Verify that all containers are running successfully.
docker compose ps
Review Docker Logs: Check the Docker container logs for any additional insights into the permission issue.
docker logs <container_name>
SELinux/AppArmor Policies: If SELinux or AppArmor is active, adjust the policies to allow the needed operations.
Docker Security Options: Consider Docker's security options like --cap-add
or --privileged
to grant additional permissions, but use them cautiously.
These steps should help address the "operation not permitted" error. If the issue persists, further investigation into the specific error messages or logs generated by the Template Transform node might be necessary.
To continue talking to Dosu, mention @dosu.
Thanks for reporting this issue, we will take a look at this later.
Self Checks
Dify version
0.11.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
no error
❌ Actual Behavior
No response