Skip to content

Conversation

@PVince81
Copy link
Member

@PVince81 PVince81 commented Nov 13, 2020

Fixes #24099

The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.

This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...

  • check if this happens on stable20

@PVince81
Copy link
Member Author

it doesn't happen on stable20 but I'd still recommend a backport, just as a measure of precaution...

The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.

This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81 PVince81 force-pushed the bugfix/24099/setup-fs-before-query-storage-in-settings branch from a9938aa to 2143f2b Compare November 13, 2020 16:08
@ChristophWurst ChristophWurst merged commit d0f738f into master Nov 16, 2020
@ChristophWurst ChristophWurst deleted the bugfix/24099/setup-fs-before-query-storage-in-settings branch November 16, 2020 10:46
@PVince81
Copy link
Member Author

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call to a member function getFileInfo() on null on /settings/user page

4 participants