Skip to content

opencloud still doesn't shutdown cleanly #2746

Closed

Description

@rhafer

Describe the bug

Shutting down opencloud (using Ctrl+C) takes 15 seconds. And logs this:

{"level":"error","error":"unknown edition channel ''","time":"2026-05-12T13:56:14.110315471Z","caller":"/work/opencloud/pkg/version/version.go:55","message":"falling back to dev"}
^C{"level":"error","service":"opencloud","event":"opencloud: Failed service 'activitylog' (1.000000 failures of 5.000000), restarting: true, error: %!s(<nil>)","service":"activitylog","supervisor":"opencloud","restarting":true,"failures":1,"threshold":5,"error":null,"time":"2026-05-12T13:56:18Z","message":"service terminated"}
{"level":"error","service":"activitylog","error":"Stream did not exist and adding a stream failed: context deadline exceeded","transport":"http","time":"2026-05-12T13:56:33Z","message":"Failed to initialize server"}
Error: Stream did not exist and adding a stream failed: context deadline exceeded
Usage:
  activitylog server [flags]

Flags:
  -h, --help   help for server

Something is still borked with the graceful shutdown. And the 15 second shutdown cause some tests to run into their 60min timeout. (like mentioned here e.g.: opencloud-eu/qa#83)

Expected behavior

A quick and error less shutdown procedure.

Activity

  1. self-assigned this
    on May 12, 2026
  2. moved this from Qualification to In Progress in OpenCloud Team Boardon May 12, 2026
  3. added a commit that references this issue on May 12, 2026
    9747698
  4. tbsbdr commented on May 12, 2026

    @tbsbdr
    Member

    @rhafer I'd like to know how serious this issue is. is it just a cosmetic problem that might make an admin feel uneasy?

  5. added a commit that references this issue on May 13, 2026
    005c91a
  6. rhafer commented on May 13, 2026

    @rhafer
    MemberAuthor

    @tbsbdr It's anonying, produces weird error messages at shutdown and cause our test suite to be slow. But the fix got merged a few seconds ago: #2748

  7. added a commit that references this issue on Oct 13, 2026
    c3becfa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions