Skip to content

Multiple user support - can't acquire lock #245

Open
@gerard-ninnes-cer

Description

@gerard-ninnes-cer

Hello Platformers,

I'm having an issue where multiple users on a server can't use the Platform.SH CLI except whoever was the first user to use it. The lock file is in their name and the platform command fails silently for all subsequent users.

I'm using version: Platform.sh CLI 5.0.23
It was installed via the bash/curl method.
OS: Ubuntu server 24.04

Image

There are 2 issues at play here that I'm hoping to get some help with:

  • the fatal failure of the CLI was hidden behind the debug level. It would have been great for this to be reported to the command line. That would make troubleshooting far easier.
  • the script doesn't appear to support multiple concurrent users with it's current lock-file approach.

I found what appears to be 2 related issues.

Related issues:

Thanks for any help with this.

In the short term I'm going to try what was recommended in #47 and set a different tmp directory per user.

Is there a better recommended approach I should be using instead?

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