Skip to content

Cannot restart workspace (cannot restore backup: permission denied tar) #16660

Closed as not planned
@WVerlaek

Description

@WVerlaek

Bug description

Workspace fails to restart after being stopped.
Full error is:

cannot restore backup:
    github.com/gitpod-io/gitpod/content-service/pkg/initializer.InitializeWorkspace
        github.com/gitpod-io/gitpod/[email protected]/pkg/initializer/initializer.go:473
  - tar /dst: tar /dst: exit status 2;tar: xyz: Cannot mkdir: Permission denied
    tar: xyz: Cannot mkdir: Permission denied
    ...
    tar: Exiting with failure status due to previous errors:
    github.com/gitpod-io/gitpod/ws-daemon/pkg/content.(*remoteContentStorage).Download
        github.com/gitpod-io/gitpod/ws-daemon/pkg/content/initializer.go:426

Link to log: https://cloudlogging.app.goo.gl/hi4BctLqwXXiuiVt7

Happened twice in the past 30 days.

Previously investigated and closed in: #11183

Steps to reproduce

Unknown

Workspace affected

5125c48a-50d1-4596-92c0-92b1044814a4

Expected behavior

Workspace restarts and restores from backup successfully

Example repository

No response

Anything else?

Slack link: https://gitpod.slack.com/archives/C0201TXMV54/p1677836073098199

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions