Skip to content

KDSingleApplication: Do not exceed maximum socket name length #291

@PatBlankdeCas

Description

@PatBlankdeCas

Under MacOS (Sequoia) the app cannot start under certain conditions.

Start attempt with:
The following start attempt: OPENCLOUD_HTTP_VERBOSE=1 /Applications/OpenCloud.app/Contents/MacOS/opencloud --logdebug --logfile -

Error message:
QLocalServer::listen: Name error
gui.main: Already running, exiting...
kdsingleapplication.localsocket: Connection timed out

When starting the app with sudo, the app can be started successfully.
The app can also be started as follows:
export TMPDIR=/tmp
/Applications/OpenCloud.app/Contents/MacOS/OpenCloud

Solution approach 1:
New user with a shorter name: successful.

Solution 2:
User directory name shortened. Also successful.

The previous user name had 28 characters. Together with kdsingleapp-username-OpenCloud it is a total of 50 characters. This seems to be the problem.

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