nextcloud / nextcloud/server

[Bug]: Background image for the setup page is not loaded if installed in a subdirectory (28)

Open
#40,252 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 28-feedback bug feature: install and update feature: theming
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

image

Git checkout: https://github.com/nextcloud/server/commit/e54724728159e96e7f2c24d77a5a22d081f80aac

Steps to reproduce
  1. Try to install Nextcloud in a subdirectory (e.g. example.com/cloud)
  2. Realize the background is missing 😞
  3. See a failing xhr request for https://example.com/apps/theming/img/background/kamil-porembinski-clouds.jpg (initiated by core/css/guest.css)
Expected behavior

Background should be there ;)

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

Start with core/css/guest.css and reproduce the setup page from a Nextcloud installation under a subdirectory such as /cloud. Inspect how the background image URL is formed and verify the background loads from the subdirectory path without a failing XHR request.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.