https://www.activepieces.com logo
Hi all, just cloned the repository and
# 🐢|general
t
Hi all, just cloned the repository and trying a test workflow. The workflow seems to complete but it does not show in 'recent runs' history. Any idea on how I can debug?
a
testing a flow doesn't create a run in the runs list
you can hit test flow at the top of the trigger
or you can publish your flow
and trigger it
and it will show up in the runs list
also welcome to the server 🌟
t
Hi, and thanks for the welcome
I published and tested
it shows succeeded but nothing in the history
a
yeah you tested the flow
you can now call the webhook
from your browser or a third party software
and it should trigger
I will test with a webhook call right now
a
give it a bit
it will show up
t
What can I do if they don't show up? Clone the project again?
a
no, they should show
if they don't let us know
it is probably a bug.
t
I ran some runs yesterday as well and I dont seem them as well
I used AP a couple weeks ago, and there it worked fine. Yesterday I cloned a fresh copy and now it doesnt work anymore.
a
are you running in dev mode ?
if so
can you share your .env with us ?
t
Copy code
## It's advisable to consult the documentation and use the tools/deploy.sh to generate the passwords, keys, instead of manually filling them.

AP_ENGINE_EXECUTABLE_PATH=dist/packages/engine/main.js

## Random Long Password (Optional for community edition)
AP_API_KEY=96d73d323eb7471d5ca924e379d38fd3b9a641419660fa179c673bd968eb8706c37aef5829ea39b53863f7e3cd82452b1a1fc593173d849cfa8cfcff663000ab

## 256 bit encryption key, 32 hex character
AP_ENCRYPTION_KEY=b6c878fda8a3af6397bfc859f8e5c0a2

## JWT Secret
AP_JWT_SECRET=f3c48b43ceb319b65a9fdc0afbc5844ed49ed090126cdece045c44d34ab1e565

AP_ENVIRONMENT=prod
AP_FRONTEND_URL=http://localhost:8082
AP_WEBHOOK_TIMEOUT_SECONDS=30
AP_TRIGGER_DEFAULT_POLL_INTERVAL=5
AP_POSTGRES_DATABASE=activepieces
AP_POSTGRES_HOST=postgres
AP_POSTGRES_PORT=5432
AP_POSTGRES_USERNAME=postgres
AP_POSTGRES_PASSWORD=fb2f409b1a837ddf22bcb1c0d32c49c8d0cf219d0b88d244cc33d01f73ece86e
AP_EXECUTION_MODE=UNSANDBOXED
AP_REDIS_HOST=redis
AP_REDIS_PORT=6379
AP_FLOW_TIMEOUT_SECONDS=600
AP_TELEMETRY_ENABLED=false
AP_TEMPLATES_SOURCE_URL="https://cloud.activepieces.com/api/v1/flow-templates"
This is auto-generated but since AP_ENVIRONMENT=prod I am not running in dev mode?
a
yeah you aren't in dev mode
in dev mode it is different
why don't you run in docker
instead of running in dev mode
if you want prod ?
just docker pull 0.77.2
and run it
t
I want to be able to make changes if necessary so I dont want to use the Docker Image
a
up to you, but you might want to check your redis instance and make sure it is working fine in dev mode
in docker everything is containerized for you and ready
t
Okay, will check my redis
If i change prod to dev I will switch to development?
a
Yes
And you won't have all the pieces
Unless you use the correct pieces sync mode variable value
Check our environment variables docs page
t
Will do
Where can I find the documentation of each piece?
a
No docs for each piece
Only the code
t
a
just leave it as dev
t
Gonna try again. Thanks!
8 Views