Blank log page + stucking update on extra log file

Nextcloud version (eg, 26.0.1): 28.0.1.1
Operating system and version (eg, Ubuntu 22.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0 (fpm-fcgi)
PHP version (eg, 8.1): 8.1.2
Database (sqlite or MariaDB or Postgres) mysql 10.6.16
Docker (compose) -
Snap
Is this the first time you’ve seen this error? yes

The issue you are facing:

  • Steps to replicate it:
  1. I Had installed Ubuntu, Nextcloud
  2. Got blank log page, but log file not empty (Bug: Nextcloud Hub 7 (NC28) logs page blank - #2 by SysKeeper)
  3. When update arrived - tried to install it and got updater error:

*** ## Check for expected files**
The following extra files have been found:
** * log**

  • The output of your Nextcloud log in Admin > Logging:
nothing in log
  • The output of your config.php file in /path/to/nextcloud**
    (use https://.../settings/admin/support which auto-removes identifying information!):
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.MYDOMAIN.kg"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "28.0.1.1",
    "overwrite.cli.url": "https:\/\/cloud.MYDOMAIN.kg",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "loglevel": 2,
    "logfile": "\/var\/www\/nextcloud\/log\/nextcloud.log",
    "maintenance": false,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_smtpauth": 1,
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}
  • for Docker/Podman list environment variables ( run “docker inspect {container name}”)**
PASTE HERE
  • The output of your Apache/nginx/system log in /var/log/____:
  • For Docker/Podman post STDOUT of the container (run docker logs {container name})
PASTE HERE
  • errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors.
PASTE HERE
1 Like

The blank log page is a configuration matter with your Nginx web config (check the Admin Manual at https://docs.nextcloud.com and make sure you have the .mjs lines). The bug you linked to is not applicable to the version of Nextcloud you’re using; that was an earlier release.

The extra files are files that aren’t part of Nextcloud, but that the updater sees in Nextcloud’s installation folder. You need to review what files are shown as being unexpected and move them.

1 Like

Thanks a lot. Indeed you were right.

  1. After checking nextcloud.conf (I just copied everything from example conf except “server” and “root dir” lines) my log started to appear in the admin page.
  2. I had deleted the directory “/www/nextcloud/log” created by me and an update succeded
1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.