[Bug]: Background image for the setup page is not loaded if installed in a subdirectory (28)
Open
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: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Git checkout: https://github.com/nextcloud/server/commit/e54724728159e96e7f2c24d77a5a22d081f80aac
Steps to reproduce
- Try to install Nextcloud in a subdirectory (e.g.
example.com/cloud) - Realize the background is missing 😞
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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