Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: background image is 404 in maintenance mode #45164

Open
4 of 8 tasks
derbenx opened this issue May 3, 2024 · 0 comments
Open
4 of 8 tasks

[Bug]: background image is 404 in maintenance mode #45164

derbenx opened this issue May 3, 2024 · 0 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug feature: theming

Comments

@derbenx
Copy link

derbenx commented May 3, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

In maintenance mode background comes up as 404 when nextcloud is in a folder. It's been in pretty much every version, since I remember. :P think the updating mode does this too...

it tries to use: https://server.xxx/apps/theming/img/background/kamil-porembinski-clouds.jpg
instead of: https://server.xxx/subdir/apps/theming/img/background/kamil-porembinski-clouds.jpg
It's configured in weblink, under theming with the folder and anywhere else I can think of.

I tried light and dark theme, in case it was one or the other.

Steps to reproduce

  1. use nextcloud in a subdir
  2. upgrade
  3. (or just enable maintenance mode)

Expected behavior

no 404 errors.

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

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

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

\apps\theming\css\default.css
is hard coded to:
--image-background-default: url('/apps/theming/img/background/kamil-porembinski-clouds.jpg');

This seems to fix it:
--image-background-default: url('../../apps/theming/img/background/kamil-porembinski-clouds.jpg');

@derbenx derbenx added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug feature: theming
Projects
None yet
Development

No branches or pull requests

3 participants