Skip to content

[Bug]: Already cached mounts are added over and over #52957

@sorbaugh

Description

@sorbaugh

⚠️ This issue respects the following points: ⚠️

Bug description

A setup of the FS will add some mounts to oc_mounts again even though they are already present.
Found in #50157.

Steps to reproduce

  1. Place debugger at
    $this->connection->beginTransaction();
  2. Observe the home mount being added every time the FS is setup.

Expected behavior

Only fire the events when necessary

Nextcloud Server version

master

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions