Skip to content

Running Multiple Projects to Different Database Collections/ Running Multiple Projects on One Daemon #317

@blaked8619

Description

@blaked8619

I am looking to run multiple jobflows (projects) that point to different collections for storage in mongodb. Since I want to store different jobflows in different collections, defining a single project with two different workers is not sufficient, since both of these workers would point to the same collection. I think one way to solve this would be defining two different projects (different .yaml files) that each have their own workers and collections defined. However, it seems that one daemon isn't able to cover both projects:

(cms) [bd8619@tiger-arrk .jfremote]$ jf -p cms runner status
The selected project is cms from config file /home/bd8619/.jfremote/cms.yaml
Daemon status: running
(cms) [bd8619@tiger-arrk .jfremote]$ jf -p stellar runner status
The selected project is stellar from config file /home/bd8619/.jfremote/stellar.yaml
Daemon status: shut_down
(cms) [bd8619@tiger-arrk .jfremote]$ jf -p stellar runner start
The selected project is stellar from config file /home/bd8619/.jfremote/stellar.yaml
⠋ Starting the daemon...Error while starting the daemon: A daemon runner process may be running on a different machine.
Here is the information retrieved from the database:
- hostname: tiger-arrk
- project_name: cms
- start_time: 2025-07-23 13:32:03.142000
- last_pinged: 2025-07-23 13:32:03.142000
- daemon_dir: /home/bd8619/.jfremote/cms/daemon
- user: bd8619
If no runner is active on that machine clean the DB with `jf runner reset`

Is there perhaps another more practical way to run two different jobflows to two different collections at once?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions