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

Nextcloud errors & warnings on Admin page #2018

Open
JedMeister opened this issue Jan 10, 2025 · 1 comment
Open

Nextcloud errors & warnings on Admin page #2018

JedMeister opened this issue Jan 10, 2025 · 1 comment
Milestone

Comments

@JedMeister
Copy link
Member

JedMeister commented Jan 10, 2025

While trying to recreate an issue that has been reported I noticed that Nextcloud has a couple of errors (1 & 2 below) and a few warnings (3 below onwards) noted on the Admin page: URL/index.php/settings/admin/overview.

Docs on admin page errors & warnings can be found here: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/security_setup_warnings.html

Here are the specific errors/warnings:

  1. Background job not run
  • the cron job is meant to run every 5 mins - although I think that may be a red herring? will confirm later
  1. Some files have not passed the Nextcloud file integrity check
  • This is because we add a (pretty sexy) TurnKey credit to the footer in /var/www/nextcloud/core/templates/layout.guest.php
  • I tried updating the /var/www/nextcloud/core/signature.json file (where the hashes are stored) but it seems like that file is signed by the Nextcloud devs. Updating the hash results in a new Signature could not get verified error.
  1. Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/caldav
  • this should not be occurring because it should be configured in the Nextcloud .htaccess and our Apache config should be allowing that to override default conf. Although obviously something is wrong...
  1. X errors in the logs
  • almost certainly related to the other errors/warnings noted here
  • irrelevant issue...
  1. Server has no maintenance window start time configured.
  • short of asking for timezone to be set on firstboot there likely isn't much we can do about this one

Plus there are also some "info" notes but they relate to user config that is best left to the user...

Error 1 should be an easy fix (if it's even a problem).

Error 2 I'm not completely sure about. Should we just note it somewhere and ignore it? Dig deeper on how we can disable the message for our purposes? Investigate whether we could use a custom theme and sign it ourselves? Remove the credit altogether? Something else?

Warning 3 is a weird one.

Warnings 4 & 5 (and other notices) are probably not worth worrying about...

@JedMeister JedMeister added this to the 18.2 milestone Jan 10, 2025
@OnGle
Copy link
Member

OnGle commented Feb 6, 2025

I couldn't actually re-create issues 1, 3 and 5. However I noticed 3 new issues which I have addressed here turnkeylinux-apps/nextcloud#29

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

No branches or pull requests

2 participants