Visitar URL original
cannot manage running services with `bin/ocis run|ps|kill` · Issue #77 · owncloud/ocis · GitHub
Skip to content

cannot manage running services with bin/ocis run|ps|kill #77

Closed

Description

@butonic
✗ bin/ocis ps 
2020-01-06T14:52:14+01:00 INF Continue without config service=ocis
2020-01-06T14:52:14+01:00 FTL {"id":"go.micro.client","code":500,"detail":"service go.micro.runtime: not found","status":"Internal Server Error"} service=ocis
✗ bin/ocis kill service --name com.owncloud.phoenix
2020-01-06T14:54:41+01:00 INF Continue without config service=ocis
2020-01-06T14:54:41+01:00 FTL {"id":"go.micro.client","code":500,"detail":"service go.micro.runtime: not found","status":"Internal Server Error"} service=ocis

Activity

  1. changed the title [-]cannot list running services with `bin/ocis ps`[/-] [+]cannot manage running services with `bin/ocis ps|kill`[/+] on Jan 6, 2020
  2. PVince81 commented on Mar 19, 2020

    @PVince81
    Contributor

    The help is confusing, it looks like one must run ocis run service_name but running ocis service_name already works.

    I suggest we make this consistent and only allow ocis run service_name.

    Also: ocis run xx will not show an error even though the service does not exist.

  3. refs commented on Mar 19, 2020

    @refs
    Contributor

    The issue is run is part of the micro runtime, and services to be ran by micro work on a way I'm not fond of; run command requires a folder with go source files, micro runtime will then build them and run it on its own process tree. We bypass this by adding our own commands, and instead of controlling the process lifecycle with micro runtime, we do create a runtime but run out own ocis service_name commands.

    I imagine a solution more aligned to building our own process tree and control its lifecycle with it instead.

  4. refs commented on Mar 19, 2020

    @refs
    Contributor
  5. changed the title [-]cannot manage running services with `bin/ocis ps|kill`[/-] [+]cannot manage running services with `bin/ocis run|ps|kill`[/+] on Mar 20, 2020
  6. added 3 commits that reference this issue on Sep 18, 2020
  7. refs commented on Jan 12, 2021

    @refs
    Contributor

    For this we have refs/pman. We don't use go-micro runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions