Hi !
First of all, the text is translated online (with some later corrections), since my native language is Spanish. I think it’s fine.
The Basics
- Nextcloud Server version (e.g., 29.x.x):
29.0.10
- Operating system and version (e.g., Ubuntu 24.04):
Debian 12
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.62 Debian
- Reverse proxy and version _(e.g. nginx 1.27.2)
none
- PHP version (e.g, 8.3):
8.2
- Is this the first time you’ve seen this error? (Yes / No):
no
- When did this problem seem to first start?
3 months ago ( 11/2024 )
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Archive
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
Yes - Cloudflare
Summary of the issue you are facing:
The problem I find is the duplicate presentation of the logs, in the administration web interface.
They are not stored in duplicate but are displayed that way.
When accessing Administration Settings
via the web, it shows the number of errors since a certain previous date, for example 6 errors in the logs since 29 Jan 2025 15:25:22
.
When viewing the specific Logging
item, the records are initially displayed correctly (6 in this case), and after approximately 15 seconds, a duplicate of each one appears, except for the last one.
In the nextcloud.log
file there is only one entry for each log, as you would expect since they are initially shown individually, they only show duplicates after a few moments.
Since NC version 25, I have implemented log rotation with logrotate
from the console, but I have never had the problem.
When I noticed it, I disabled logrotate
and emptied the nextcloud.log
file, but the problem persists.
Steps to replicate it :
- Access the log view in system administration.
Administration settings -> Logging
Configuration
Nextcloud
The output of occ config:list system
{
"system": {
"maintenance": false,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"1": "******************"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"dbtype": "mysql",
"version": "29.0.10.1",
"overwrite.cli.url": "*******************",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance_window_start": 1,
"default_phone_region": "AR",
"htaccess.RewriteBase": "\/",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"loglevel": 3,
"theme": "",
"trashbin_retention_obligation": "auto, 180"
}
}
Apps
The output of occ app:list
.
Enabled:
- admin_audit: 1.19.0
- bruteforcesettings: 2.9.0
- cloud_federation_api: 1.12.0
- comments: 1.19.0
- dav: 1.30.1
- federatedfilesharing: 1.19.0
- files: 2.1.1
- files_downloadlimit: 2.0.0
- files_pdfviewer: 2.10.0
- files_trashbin: 1.19.0
- groupfolders: 17.0.8
- logreader: 2.14.0
- lookup_server_connector: 1.17.0
- oauth2: 1.17.1
- password_policy: 1.19.0
- privacy: 1.13.0
- provisioning_api: 1.19.0
- serverinfo: 1.19.0
- settings: 1.12.0
- survey_client: 1.17.0
- systemtags: 1.19.0
- terms_of_service: 4.1.0
- theming: 2.4.0
- twofactor_backupcodes: 1.18.0
- user_status: 1.9.0
- viewer: 2.3.0
- workflowengine: 2.11.0
Disabled:
- activity: 2.21.1 (installed 2.12.0)
- circles: 29.0.0-dev (installed 27.0.1)
- contactsinteraction: 1.10.0 (installed 1.8.0)
- dashboard: 7.9.0 (installed 7.4.0)
- encryption: 2.17.0
- federation: 1.19.0 (installed 1.9.0)
- files_external: 1.21.0
- files_reminders: 1.2.0 (installed 1.0.0)
- files_sharing: 1.21.0 (installed 1.11.0)
- files_versions: 1.22.0 (installed 1.17.0)
- firstrunwizard: 2.18.0 (installed 2.8.0)
- nextcloud_announcements: 1.18.0 (installed 1.14.0)
- notifications: 2.17.0 (installed 2.15.0)
- photos: 2.5.0 (installed 1.1.0)
- quota_warning: 1.18.0 (installed 1.18.0)
- recommendations: 2.1.0 (installed 1.4.0)
- related_resources: 1.4.0 (installed 1.2.0)
- sharebymail: 1.19.0 (installed 1.9.0)
- support: 1.12.0 (installed 1.8.0)
- suspicious_login: 7.0.0
- text: 3.10.1 (installed 3.8.0)
- twofactor_totp: 11.0.0-dev
- updatenotification: 1.19.1 (installed 1.19.1)
- user_ldap: 1.20.0
- weather_status: 1.9.0 (installed 1.4.0)
Images :
Initialy
15 seconds later
I appreciate any suggestions to resolve this.