nextcloud / nextcloud/server

If credentials are not saved for external storage it shows server is in maintenance mode

Open
#24,337 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 26-feedback bug client: 💻 desktop client: 🤖🍏 mobile feature: authentication feature: external storage pending documentation
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Actual behaviour

When accessing an external storage from the android app that doesn't have the credentials saved it shows that the server is in maintenance mode. If I go from a browser, access the external storage, enter the credentials (to be saved) I can afterwards access the folder from the android app as well.

Expected behaviour

The android app should ask for the credentials if they are not saved.

Steps to reproduce
  1. Add an external storage to Nextcloud, SMB type in my case and authentication "user entered, stored in database"
  2. Access the external storage from the android app first.
Environment data

Android version: OxygenOS 9.0.4 (based on android 9)

Device model: OnePlus 6

Stock or customized system: Stock

Nextcloud app version: 3.5.1

Nextcloud server version: 15.0.5

PS: not sure if this is present on the ios app as I don't have an iphone to test.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by configuring Nextcloud external storage with SMB and stored user-entered credentials, then accessing it first from the Android app. No server files or tests are named; done means the app requests missing credentials instead of displaying a maintenance-mode error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, php
Domain
backend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.