We are trialling activepieces on self-hosted deployments, and are coming across the same issues on both a docker-compose install (remote, vm), and a docker-run install on my own local system.
When creating a fresh flow, or from template, no pieces show when loading.
When I attempt to manually add a piece by name (eg @activepieces/http) it says “Success” “Piece installed”, (ie no visible error is shown) but it still does not show in UI.
I have noticed in the dev console, that there are only HTTP 400 “Bad Request” errors when it is attempting to load individual pieces.
Things I have tried:
Updating to latest image
Running with specific pieces (docker run -d -p 8080:80 -v ~/.activepieces:/root/.activepieces -e AP_QUEUE_MODE=MEMORY -e AP_DB_TYPE=SQLITE3 -e AP_FRONTEND_URL="http://localhost:8080" -e AP_PIECES_SOURCE=FILE -e AP_DEV_PIECES=google-sheets,cal-com,slack,http activepieces/activepieces:latest)
Running without AP_DEV_PIECES
Running via docker compose, and docker run
Different browsers (no script blocking)
Any insight into this issue is greatly appreciated.
Running with the command below worked to get pieces showing: docker run -d -p 8080:80 -v ~/.activepieces:/root/.activepieces -e AP_QUEUE_MODE=MEMORY -e AP_DB_TYPE=SQLITE3 -e AP_FRONTEND_URL="http://localhost:8080" -e AP_PIECES_SOURCE=DB -e AP_PIECES_SYNC_MODE=OFFICIAL_AUTO activepieces/activepieces:latest
It was likely to be -e AP_PIECES_SOURCE=DB that rectified the problem, though I did not run with FILE to begin with - it was an attempt itself to fix the issue.
It would be good to know the technicalities behind why FILE doesn’t work, but it is good to know one way to fix the issue.
I think it would be a good idea to propagate sync/download errors on the server-side to the client, so that there isn’t a silent failure.
An addendum to this, for completeness:
The docker-compose instance had connectivity issues (firewall restrictions) when pulling piece data, so that issue was on our end.
In other words, both of our instance had issues that presented with the same symptom, but different causes.