No Log file rotation even when set, logs excessive size crashed server

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Server configuration detail

Operating system: Linux 5.15.0-181-generic #191-Ubuntu SMP Fri May 22 19:09:02 UTC 2026 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 8.4.9

PHP version: 8.3.31

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gmp, json, iconv, intl, SPL, ldap, mbstring, pcntl, session, standard, PDO, mysqlnd, pdo_mysql, pdo_sqlite, Phar, posix, random, Reflection, exif, SimpleXML, sodium, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, cgi-fcgi, apcu, redis, Zend OPcache

Nextcloud version: 33.0.5 - 33.0.5.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: Ubuntu 24.04 ISO

Signing status

[]

List of activated apps
Enabled:
 - activity: 6.0.0
 - app_api: 33.0.0
 - bruteforcesettings: 6.0.0
 - circles: 33.0.0
 - comments: 1.23.0
 - contactsinteraction: 1.14.1
 - dashboard: 7.13.0
 - federation: 1.23.0
 - files_downloadlimit: 5.1.0
 - files_pdfviewer: 6.0.0
 - files_reminders: 1.6.0
 - files_sharing: 1.25.2
 - files_trashbin: 1.23.0
 - files_versions: 1.26.0
 - firstrunwizard: 6.0.0
 - logreader: 6.0.0
 - nextcloud_announcements: 5.0.0
 - notifications: 6.0.0
 - password_policy: 5.0.0
 - photos: 6.0.0
 - privacy: 5.0.0
 - recommendations: 6.0.0
 - related_resources: 4.0.0
 - serverinfo: 5.0.0
 - sharebymail: 1.23.0
 - support: 5.0.0
 - survey_client: 5.0.0
 - systemtags: 1.23.0
 - text: 7.0.1
 - twofactor_totp: 15.0.0
 - user_status: 1.13.0
 - weather_status: 1.13.0
 - webhook_listeners: 1.5.0
Disabled:
 - admin_audit
 - encryption
 - files_external
 - suspicious_login
 - twofactor_nextcloud_notification
 - user_ldap

Configuration (config/config.php)
{
    "apps_paths": [
        {
            "path": "\/snap\/nextcloud\/current\/htdocs\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
            "url": "\/extra-apps",
            "writable": true
        }
    ],
    "supportedDatabases": [
        "mysql"
    ],
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0
    },
    "log_type": "file",
    "logfile": "\/var\/snap\/nextcloud\/current\/logs\/nextcloud.log",
    "logfilemode": 416,
    "maintenance_window_start": 1,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "192.168.0.110",
        "cloudserver",
        "cloudserver.pc-networkservices.net"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "33.0.5.1",
    "overwrite.cli.url": "http:\/\/192.168.0.110",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauth": true,
    "mail_smtpport": "25",
    "mail_sendmailmode": "smtp",
    "mail_smtpstreamoptions": {
        "ssl": {
            "allow_self_signed": false,
            "verify_peer": true,
            "verify_peer_name": true
        }
    },
    "forbidden_filename_basenames": [
        "con",
        "prn",
        "aux",
        "nul",
        "com0",
        "com1",
        "com2",
        "com3",
        "com4",
        "com5",
        "com6",
        "com7",
        "com8",
        "com9",
        "com\u00b9",
        "com\u00b2",
        "com\u00b3",
        "lpt0",
        "lpt1",
        "lpt2",
        "lpt3",
        "lpt4",
        "lpt5",
        "lpt6",
        "lpt7",
        "lpt8",
        "lpt9",
        "lpt\u00b9",
        "lpt\u00b2",
        "lpt\u00b3"
    ],
    "forbidden_filename_characters": [
        "<",
        ">",
        ":",
        "\"",
        "|",
        "?",
        "*",
        "\\",
        "\/"
    ],
    "forbidden_filename_extensions": [
        " ",
        ".",
        ".filepart",
        ".part"
    ],
    "maintenance": false
}

Cron Configuration:

Mode: cron
Last: 2026-06-21T03:04:07+00:00 (206 seconds ago)

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database

Subscription:

  • No valid subscription key set

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0

Sharing configuration

Privacy settings for sharing
+----------------------------------------------------------------+---------+
| Key                                                            | Value   |
+----------------------------------------------------------------+---------+
| shareapi_allow_share_dialog_user_enumeration                   | not set |
| shareapi_restrict_user_enumeration_to_group                    | not set |
| shareapi_restrict_user_enumeration_to_phone                    | not set |
| shareapi_restrict_user_enumeration_full_match                  | not set |
| shareapi_restrict_user_enumeration_full_match_user_id          | not set |
| shareapi_restrict_user_enumeration_full_match_displayname      | not set |
| shareapi_restrict_user_enumeration_full_match_email            | not set |
| shareapi_restrict_user_enumeration_full_match_ignore_second_dn | not set |
+----------------------------------------------------------------+---------+

Setup checks

system
  • AppAPI deploy daemon: AppAPI default deploy daemon is not set. Please register a default deploy daemon in the settings to install External Apps (Ex-Apps).
security
  • Second factor configuration: Second factor providers are available but two-factor authentication is not enforced.
config
  • Default phone region: Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add “default_phone_region” with the respective ISO 3166-1 code of the region to your config file.

  • Configuration server ID: Server identifier isn’t configured. It is recommended if your Nextcloud instance is running on several PHP servers. Add a server ID in your configuration.

php
  • PHP Imagick module: The PHP module “imagick” is not enabled although the theming app is. For favicon generation to work correctly, you need to install and enable this module.

AppAPI

AppAPI configuration

ExApps

  • no ExApps installed

Deploy daemons

Config

  • Default daemon config (default_daemon_config):

  • Init timeout (init_timeout): 40

  • Container restart policy (container_restart_policy): unless-stopped

Phpinfo

apcu
{
    "APCu Support": "Enabled",
    "Version": "5.1.28",
    "APCu Debugging": "Disabled",
    "MMAP Support": "Enabled",
    "MMAP File Mask": "no value",
    "Serialization Support": "php",
    "Build Date": "Jun 13 2026 09:42:29",
    "apc.coredump_unmap": {
        "local": "Off",
        "master": "Off"
    },
    "apc.enable_cli": {
        "local": "Off",
        "master": "Off"
    },
    "apc.enabled": {
        "local": "On",
        "master": "On"
    },
    "apc.entries_hint": {
        "local": "0",
        "master": "0"
    },
    "apc.gc_ttl": {
        "local": "3600",
        "master": "3600"
    },
    "apc.mmap_file_mask": {
        "local": "no value",
        "master": "no value"
    },
    "apc.mmap_hugepage_size": {
        "local": "0",
        "master": "0"
    },
    "apc.preload_path": {
        "local": "no value",
        "master": "no value"
    },
    "apc.serializer": {
        "local": "php",
        "master": "php"
    },
    "apc.shm_size": {
        "local": "32M",
        "master": "32M"
    },
    "apc.slam_defense": {
        "local": "Off",
        "master": "Off"
    },
    "apc.smart": {
        "local": "0",
        "master": "0"
    },
    "apc.ttl": {
        "local": "0",
        "master": "0"
    },
    "apc.use_request_time": {
        "local": "Off",
        "master": "Off"
    }
}
bcmath
{
    "BCMath support": "enabled",
    "bcmath.scale": {
        "local": "0",
        "master": "0"
    }
}
bz2
{
    "BZip2 Support": "Enabled",
    "Stream Wrapper support": "compress.bzip2://",
    "Stream Filter support": "bzip2.decompress, bzip2.compress",
    "BZip2 Version": "1.0.8, 13-Jul-2019"
}
cgi-fcgi
{
    "php-fpm": "active",
    "cgi.discard_path": {
        "local": "Off",
        "master": "Off"
    },
    "cgi.fix_pathinfo": {
        "local": "On",
        "master": "On"
    },
    "cgi.force_redirect": {
        "local": "On",
        "master": "On"
    },
    "cgi.nph": {
        "local": "Off",
        "master": "Off"
    },
    "cgi.redirect_status_env": {
        "local": "no value",
        "master": "no value"
    },
    "cgi.rfc2616_headers": {
        "local": "Off",
        "master": "Off"
    },
    "fastcgi.error_header": {
        "local": "no value",
        "master": "no value"
    },
    "fastcgi.logging": {
        "local": "On",
        "master": "On"
    },
    "fpm.config": {
        "local": "no value",
        "master": "no value"
    }
}
Core
{
    "PHP Version": "8.3.31",
    "allow_url_fopen": {
        "local": "On",
        "master": "On"
    },
    "allow_url_include": {
        "local": "Off",
        "master": "Off"
    },
    "arg_separator.input": {
        "local": "&",
        "master": "&"
    },
    "arg_separator.output": {
        "local": "&",
        "master": "&"
    },
    "auto_append_file": {
        "local": "no value",
        "master": "no value"
    },
    "auto_globals_jit": {
        "local": "On",
        "master": "On"
    },
    "auto_prepend_file": {
        "local": "no value",
        "master": "no value"
    },
    "browscap": {
        "local": "no value",
        "master": "no value"
    },
    "default_charset": {
        "local": "UTF-8",
        "master": "UTF-8"
    },
    "default_mimetype": {
        "local": "text/html",
        "master": "text/html"
    },
    "disable_classes": {
        "local": "no value",
        "master": "no value"
    },
    "disable_functions": {
        "local": "no value",
        "master": "no value"
    },
    "display_errors": {
        "local": "Off",
        "master": "Off"
    },
    "display_startup_errors": {
        "local": "Off",
        "master": "Off"
    },
    "doc_root": {
        "local": "no value",
        "master": "no value"
    },
    "docref_ext": {
        "local": "no value",
        "master": "no value"
    },
    "docref_root": {
        "local": "no value",
        "master": "no value"
    },
    "enable_dl": {
        "local": "Off",
        "master": "Off"
    },
    "enable_post_data_reading": {
        "local": "On",
        "master": "On"
    },
    "error_append_string": {
        "local": "no value",
        "master": "no value"
    },
    "error_log": {
        "local": "/var/snap/nextcloud/53545/logs/php_errors.log",
        "master": "/var/snap/nextcloud/53545/logs/php_errors.log"
    },
    "error_log_mode": {
        "local": "0644",
        "master": "0644"
    },
    "error_prepend_string": {
        "local": "no value",
        "master": "no value"
    },
    "error_reporting": {
        "local": "22527",
        "master": "22527"
    },
    "expose_php": {
        "local": "Off",
        "master": "Off"
    },
    "extension_dir": {
        "local": "/snap/nextcloud/53545/lib/php/extensions/no-debug-non-zts-20230831",
        "master": "/snap/nextcloud/53545/lib/php/extensions/no-debug-non-zts-20230831"
    },
    "fiber.stack_size": {
        "local": "no value",
        "master": "no value"
    },
    "file_uploads": {
        "local": "On",
        "master": "On"
    },
    "hard_timeout": {
        "local": "2",
        "master": "2"
    },
    "highlight.comment": {
        "local": "#FF8000",
        "master": "#FF8000"
    },
    "highlight.default": {
        "local": "#0000BB",
        "master": "#0000BB"
    },
    "highlight.html": {
        "local": "#000000",
        "master": "#000000"
    },
    "highlight.keyword": {
        "local": "#007700",
        "master": "#007700"
    },
    "highlight.string": {
        "local": "#DD0000",
        "master": "#DD0000"
    },
    "html_errors": {
        "local": "On",
        "master": "On"
    },
    "ignore_repeated_errors": {
        "local": "Off",
        "master": "Off"
    },
    "ignore_repeated_source": {
        "local": "Off",
        "master": "Off"
    },
    "ignore_user_abort": {
        "local": "Off",
        "master": "Off"
    },
    "implicit_flush": {
        "local": "Off",
        "master": "Off"
    },
    "include_path": {
        "local": "/snap/nextcloud/53545/htdocs/3rdparty/pear/archive_tar:/snap/nextcloud/53545/htdocs/3rdparty/pear/console_getopt:/snap/nextcloud/53545/htdocs/3rdparty/pear/pear-core-minimal/src:/snap/nextcloud/53545/htdocs/3rdparty/pear/pear_exception:/snap/nextcloud/current/htdocs/apps:/var/snap/nextcloud/current/nextcloud/extra-apps",
        "master": ".:"
    },
    "input_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "internal_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "log_errors": {
        "local": "On",
        "master": "On"
    },
    "mail.add_x_header": {
        "local": "Off",
        "master": "Off"
    },
    "mail.force_extra_parameters": {
        "local": "no value",
        "master": "no value"
    },
    "mail.log": {
        "local": "no value",
        "master": "no value"
    },
    "mail.mixed_lf_and_crlf": {
        "local": "Off",
        "master": "Off"
    },
    "max_execution_time": {
        "local": "3600",
        "master": "3600"
    },
    "max_file_uploads": {
        "local": "20",
        "master": "20"
    },
    "max_input_nesting_level": {
        "local": "64",
        "master": "64"
    },
    "max_input_time": {
        "local": "3600",
        "master": "3600"
    },
    "max_input_vars": {
        "local": "1000",
        "master": "1000"
    },
    "max_multipart_body_parts": {
        "local": "-1",
        "master": "-1"
    },
    "memory_limit": {
        "local": "512M",
        "master": "512M"
    },
    "open_basedir": {
        "local": "no value",
        "master": "no value"
    },
    "output_buffering": {
        "local": "no value",
        "master": "no value"
    },
    "output_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "output_handler": {
        "local": "no value",
        "master": "no value"
    },
    "post_max_size": {
        "local": "16G",
        "master": "16G"
    },
    "precision": {
        "local": "14",
        "master": "14"
    },
    "realpath_cache_size": {
        "local": "4096K",
        "master": "4096K"
    },
    "realpath_cache_ttl": {
        "local": "120",
        "master": "120"
    },
    "register_argc_argv": {
        "local": "Off",
        "master": "Off"
    },
    "report_memleaks": {
        "local": "On",
        "master": "On"
    },
    "report_zend_debug": {
        "local": "Off",
        "master": "Off"
    },
    "request_order": {
        "local": "GP",
        "master": "GP"
    },
    "sendmail_from": {
        "local": "no value",
        "master": "no value"
    },
    "sendmail_path": {
        "local": "/usr/sbin/sendmail -t -i",
        "master": "/usr/sbin/sendmail -t -i"
    },
    "serialize_precision": {
        "local": "-1",
        "master": "-1"
    },
    "short_open_tag": {
        "local": "Off",
        "master": "Off"
    },
    "SMTP": {
        "local": "localhost",
        "master": "localhost"
    },
    "smtp_port": {
        "local": "25",
        "master": "25"
    },
    "sys_temp_dir": {
        "local": "no value",
        "master": "no value"
    },
    "syslog.facility": {
        "local": "LOG_USER",
        "master": "LOG_USER"
    },
    "syslog.filter": {
        "local": "no-ctrl",
        "master": "no-ctrl"
    },
    "syslog.ident": {
        "local": "php",
        "master": "php"
    },
    "unserialize_callback_func": {
        "local": "no value",
        "master": "no value"
    },
    "upload_max_filesize": {
        "local": "16G",
        "master": "16G"
    },
    "upload_tmp_dir": {
        "local": "/var/snap/nextcloud/common/nextcloud/tmp",
        "master": "/var/snap/nextcloud/common/nextcloud/tmp"
    },
    "user_dir": {
        "local": "no value",
        "master": "no value"
    },
    "user_ini.cache_ttl": {
        "local": "300",
        "master": "300"
    },
    "user_ini.filename": {
        "local": "no value",
        "master": "no value"
    },
    "variables_order": {
        "local": "GPCS",
        "master": "GPCS"
    },
    "xmlrpc_error_number": {
        "local": "0",
        "master": "0"
    },
    "xmlrpc_errors": {
        "local": "Off",
        "master": "Off"
    },
    "zend.assertions": {
        "local": "-1",
        "master": "-1"
    },
    "zend.detect_unicode": {
        "local": "On",
        "master": "On"
    },
    "zend.enable_gc": {
        "local": "On",
        "master": "On"
    },
    "zend.exception_ignore_args": {
        "local": "On",
        "master": "On"
    },
    "zend.exception_string_param_max_len": {
        "local": "0",
        "master": "0"
    },
    "zend.max_allowed_stack_size": {
        "local": "0",
        "master": "0"
    },
    "zend.multibyte": {
        "local": "Off",
        "master": "Off"
    },
    "zend.reserved_stack_size": {
        "local": "0",
        "master": "0"
    },
    "zend.script_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "zend.signal_check": {
        "local": "Off",
        "master": "Off"
    }
}
ctype
{
    "ctype functions": "enabled"
}
curl
{
    "cURL support": "enabled",
    "cURL Information": "7.68.0",
    "Age": "5",
    "AsynchDNS": "Yes",
    "CharConv": "No",
    "Debug": "No",
    "GSS-Negotiate": "No",
    "IDN": "Yes",
    "IPv6": "Yes",
    "krb4": "No",
    "Largefile": "Yes",
    "libz": "Yes",
    "NTLM": "Yes",
    "NTLMWB": "Yes",
    "SPNEGO": "Yes",
    "SSL": "Yes",
    "SSPI": "No",
    "TLS-SRP": "Yes",
    "HTTP2": "Yes",
    "GSSAPI": "Yes",
    "KERBEROS5": "Yes",
    "UNIX_SOCKETS": "Yes",
    "PSL": "Yes",
    "HTTPS_PROXY": "Yes",
    "MULTI_SSL": "No",
    "BROTLI": "Yes",
    "ALTSVC": "No",
    "HTTP3": "No",
    "Protocols": "dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp",
    "Host": "x86_64-pc-linux-gnu",
    "SSL Version": "OpenSSL/1.1.1f",
    "ZLib Version": "1.2.11",
    "libSSH Version": "libssh/0.9.3/openssl/zlib",
    "curl.cainfo": {
        "local": "no value",
        "master": "no value"
    }
}
date
{
    "date/time support": "enabled",
    "timelib version": "2022.14",
    "\"Olson\" Timezone Database Version": "2026.1",
    "Timezone Database": "internal",
    "Default timezone": "UTC",
    "date.default_latitude": {
        "local": "31.7667",
        "master": "31.7667"
    },
    "date.default_longitude": {
        "local": "35.2333",
        "master": "35.2333"
    },
    "date.sunrise_zenith": {
        "local": "90.833333",
        "master": "90.833333"
    },
    "date.sunset_zenith": {
        "local": "90.833333",
        "master": "90.833333"
    },
    "date.timezone": {
        "local": "UTC",
        "master": "UTC"
    }
}
dom
{
    "DOM/XML": "enabled",
    "DOM/XML API Version": "20031129",
    "libxml Version": "2.9.10",
    "HTML Support": "enabled",
    "XPath Support": "enabled",
    "XPointer Support": "enabled",
    "Schema Support": "enabled",
    "RelaxNG Support": "enabled"
}
exif
{
    "EXIF Support": "enabled",
    "Supported EXIF Version": "0220",
    "Supported filetypes": "JPEG, TIFF",
    "Multibyte decoding support using mbstring": "enabled",
    "Extended EXIF tag formats": "Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson",
    "exif.decode_jis_intel": {
        "local": "JIS",
        "master": "JIS"
    },
    "exif.decode_jis_motorola": {
        "local": "JIS",
        "master": "JIS"
    },
    "exif.decode_unicode_intel": {
        "local": "UCS-2LE",
        "master": "UCS-2LE"
    },
    "exif.decode_unicode_motorola": {
        "local": "UCS-2BE",
        "master": "UCS-2BE"
    },
    "exif.encode_jis": {
        "local": "no value",
        "master": "no value"
    },
    "exif.encode_unicode": {
        "local": "ISO-8859-15",
        "master": "ISO-8859-15"
    }
}
fileinfo
{
    "fileinfo support": "enabled",
    "libmagic": "543"
}
filter
{
    "Input Validation and Filtering": "enabled",
    "filter.default": {
        "local": "unsafe_raw",
        "master": "unsafe_raw"
    },
    "filter.default_flags": {
        "local": "no value",
        "master": "no value"
    }
}
ftp
{
    "FTP support": "enabled",
    "FTPS support": "enabled"
}
gd
{
    "GD Support": "enabled",
    "GD Version": "bundled (2.1.0 compatible)",
    "FreeType Support": "enabled",
    "FreeType Linkage": "with freetype",
    "FreeType Version": "2.10.1",
    "GIF Read Support": "enabled",
    "GIF Create Support": "enabled",
    "JPEG Support": "enabled",
    "libJPEG Version": "8",
    "PNG Support": "enabled",
    "libPNG Version": "1.6.37",
    "WBMP Support": "enabled",
    "XBM Support": "enabled",
    "BMP Support": "enabled",
    "TGA Read Support": "enabled",
    "gd.jpeg_ignore_warning": {
        "local": "On",
        "master": "On"
    }
}
gmp
{
    "gmp support": "enabled",
    "GMP version": "6.2.0"
}
hash
{
    "hash support": "enabled",
    "Hashing Engines": "md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat murmur3a murmur3c murmur3f xxh32 xxh64 xxh3 xxh128 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5"
}
iconv
{
    "iconv support": "enabled",
    "iconv implementation": "glibc",
    "iconv library version": "2.31",
    "iconv.input_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "iconv.internal_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "iconv.output_encoding": {
        "local": "no value",
        "master": "no value"
    }
}
intl
{
    "Internationalization support": "enabled",
    "ICU version": "66.1",
    "ICU Data version": "66.1",
    "ICU TZData version": "2019c",
    "ICU Unicode version": "13.0",
    "intl.default_locale": {
        "local": "no value",
        "master": "no value"
    },
    "intl.error_level": {
        "local": "0",
        "master": "0"
    },
    "intl.use_exceptions": {
        "local": "Off",
        "master": "Off"
    }
}
json
{
    "json support": "enabled"
}
ldap
{
    "LDAP Support": "enabled",
    "Total Links": "0/unlimited",
    "API Version": "3001",
    "Vendor Name": "OpenLDAP",
    "Vendor Version": "20449",
    "ldap.max_links": {
        "local": "Unlimited",
        "master": "Unlimited"
    }
}
libxml
{
    "libXML support": "active",
    "libXML Compiled Version": "2.9.10",
    "libXML Loaded Version": "20910",
    "libXML streams": "enabled"
}
mbstring
{
    "Multibyte Support": "enabled",
    "Multibyte string engine": "libmbfl",
    "HTTP input encoding translation": "disabled",
    "libmbfl version": "1.3.2",
    "Multibyte (japanese) regex support": "enabled",
    "Multibyte regex (oniguruma) version": "6.9.4",
    "mbstring.detect_order": {
        "local": "no value",
        "master": "no value"
    },
    "mbstring.encoding_translation": {
        "local": "Off",
        "master": "Off"
    },
    "mbstring.http_input": {
        "local": "no value",
        "master": "no value"
    },
    "mbstring.http_output": {
        "local": "no value",
        "master": "no value"
    },
    "mbstring.http_output_conv_mimetypes": {
        "local": "^(text/|application/xhtml\\+xml)",
        "master": "^(text/|application/xhtml\\+xml)"
    },
    "mbstring.internal_encoding": {
        "local": "no value",
        "master": "no value"
    },
    "mbstring.language": {
        "local": "neutral",
        "master": "neutral"
    },
    "mbstring.regex_retry_limit": {
        "local": "1000000",
        "master": "1000000"
    },
    "mbstring.regex_stack_limit": {
        "local": "100000",
        "master": "100000"
    },
    "mbstring.strict_detection": {
        "local": "Off",
        "master": "Off"
    },
    "mbstring.substitute_character": {
        "local": "no value",
        "master": "no value"
    }
}
mysqlnd
{
    "mysqlnd": "enabled",
    "Version": "mysqlnd 8.3.31",
    "Compression": "supported",
    "core SSL": "supported",
    "extended SSL": "supported",
    "Command buffer size": "4096",
    "Read buffer size": "32768",
    "Read timeout": "86400",
    "Collecting statistics": "Yes",
    "Collecting memory statistics": "No",
    "Tracing": "n/a",
    "Loaded plugins": "mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password",
    "API Extensions": "pdo_mysql"
}
openssl
{
    "OpenSSL support": "enabled",
    "OpenSSL Library Version": "OpenSSL 1.1.1f  31 Mar 2020",
    "OpenSSL Header Version": "OpenSSL 1.1.1f  31 Mar 2020",
    "Openssl default config": "/usr/lib/ssl/openssl.cnf",
    "openssl.cafile": {
        "local": "no value",
        "master": "no value"
    },
    "openssl.capath": {
        "local": "no value",
        "master": "no value"
    }
}
pcntl
{
    "pcntl support": "enabled"
}
pcre
{
    "PCRE (Perl Compatible Regular Expressions) Support": "enabled",
    "PCRE Library Version": "10.42 2022-12-12",
    "PCRE Unicode Version": "14.0.0",
    "PCRE JIT Support": "enabled",
    "PCRE JIT Target": "x86 64bit (little endian + unaligned)",
    "pcre.backtrack_limit": {
        "local": "1000000",
        "master": "1000000"
    },
    "pcre.jit": {
        "local": "On",
        "master": "On"
    },
    "pcre.recursion_limit": {
        "local": "100000",
        "master": "100000"
    }
}
PDO
{
    "PDO support": "enabled",
    "PDO drivers": "mysql, sqlite"
}
pdo_mysql
{
    "PDO Driver for MySQL": "enabled",
    "Client API version": "mysqlnd 8.3.31",
    "pdo_mysql.default_socket": {
        "local": "/tmp/mysql.sock",
        "master": "/tmp/mysql.sock"
    }
}
pdo_sqlite
{
    "PDO Driver for SQLite 3.x": "enabled",
    "SQLite Library": "3.31.1"
}
Phar
{
    "Phar: PHP Archive support": "enabled",
    "Phar API version": "1.1.1",
    "Phar-based phar archives": "enabled",
    "Tar-based phar archives": "enabled",
    "ZIP-based phar archives": "enabled",
    "gzip compression": "enabled",
    "bzip2 compression": "enabled",
    "Native OpenSSL support": "enabled",
    "phar.cache_list": {
        "local": "no value",
        "master": "no value"
    },
    "phar.readonly": {
        "local": "On",
        "master": "On"
    },
    "phar.require_hash": {
        "local": "On",
        "master": "On"
    }
}
posix
{
    "POSIX support": "enabled"
}
random
{
    "Version": "8.3.31"
}
redis
{
    "Redis Version": "6.3.0",
    "Redis Sentinel Version": "1.0",
    "Available serializers": "php, json",
    "redis.arrays.algorithm": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.auth": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.autorehash": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.connecttimeout": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.consistent": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.distributor": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.functions": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.hosts": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.index": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.lazyconnect": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.names": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.pconnect": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.previous": {
        "local": "no value",
        "master": "no value"
    },
    "redis.arrays.readtimeout": {
        "local": "0",
        "master": "0"
    },
    "redis.arrays.retryinterval": {
        "local": "0",
        "master": "0"
    },
    "redis.clusters.auth": {
        "local": "no value",
        "master": "no value"
    },
    "redis.clusters.cache_slots": {
        "local": "0",
        "master": "0"
    },
    "redis.clusters.persistent": {
        "local": "0",
        "master": "0"
    },
    "redis.clusters.read_timeout": {
        "local": "0",
        "master": "0"
    },
    "redis.clusters.seeds": {
        "local": "no value",
        "master": "no value"
    },
    "redis.clusters.timeout": {
        "local": "0",
        "master": "0"
    },
    "redis.pconnect.connection_limit": {
        "local": "0",
        "master": "0"
    },
    "redis.pconnect.echo_check_liveness": {
        "local": "1",
        "master": "1"
    },
    "redis.pconnect.pool_detect_dirty": {
        "local": "0",
        "master": "0"
    },
    "redis.pconnect.pool_pattern": {
        "local": "no value",
        "master": "no value"
    },
    "redis.pconnect.pool_poll_timeout": {
        "local": "0",
        "master": "0"
    },
    "redis.pconnect.pooling_enabled": {
        "local": "1",
        "master": "1"
    },
    "redis.session.compression": {
        "local": "none",
        "master": "none"
    },
    "redis.session.compression_level": {
        "local": "3",
        "master": "3"
    },
    "redis.session.early_refresh": {
        "local": "0",
        "master": "0"
    },
    "redis.session.lock_expire": {
        "local": "0",
        "master": "0"
    },
    "redis.session.lock_failure_readonly": {
        "local": "0",
        "master": "0"
    },
    "redis.session.lock_retries": {
        "local": "100",
        "master": "100"
    },
    "redis.session.lock_wait_time": {
        "local": "20000",
        "master": "20000"
    },
    "redis.session.locking_enabled": {
        "local": "0",
        "master": "0"
    }
}
Reflection
{
    "Reflection": "enabled"
}
session
{
    "Session Support": "enabled",
    "Registered save handlers": "files user redis rediscluster",
    "Registered serializer handlers": "php_serialize php php_binary",
    "session.auto_start": {
        "local": "Off",
        "master": "Off"
    },
    "session.cache_expire": {
        "local": "180",
        "master": "180"
    },
    "session.cache_limiter": {
        "local": "no value",
        "master": "nocache"
    },
    "session.cookie_domain": {
        "local": "no value",
        "master": "no value"
    },
    "session.cookie_httponly": {
        "local": "On",
        "master": "Off"
    },
    "session.cookie_lifetime": {
        "local": "0",
        "master": "0"
    },
    "session.cookie_path": {
        "local": "/",
        "master": "/"
    },
    "session.cookie_samesite": {
        "local": "Lax",
        "master": "no value"
    },
    "session.cookie_secure": {
        "local": "On",
        "master": "Off"
    },
    "session.gc_divisor": {
        "local": "1000",
        "master": "1000"
    },
    "session.gc_maxlifetime": {
        "local": "1440",
        "master": "1440"
    },
    "session.gc_probability": {
        "local": "1",
        "master": "1"
    },
    "session.lazy_write": {
        "local": "On",
        "master": "On"
    },
    "session.name": {
        "local": "ocuzr943dcgw",
        "master": "PHPSESSID"
    },
    "session.referer_check": {
        "local": "no value",
        "master": "no value"
    },
    "session.save_handler": {
        "local": "files",
        "master": "files"
    },
    "session.save_path": {
        "local": "no value",
        "master": "no value"
    },
    "session.serialize_handler": {
        "local": "php",
        "master": "php"
    },
    "session.sid_bits_per_character": {
        "local": "5",
        "master": "5"
    },
    "session.sid_length": {
        "local": "26",
        "master": "26"
    },
    "session.upload_progress.cleanup": {
        "local": "On",
        "master": "On"
    },
    "session.upload_progress.enabled": {
        "local": "On",
        "master": "On"
    },
    "session.upload_progress.freq": {
        "local": "1%",
        "master": "1%"
    },
    "session.upload_progress.min_freq": {
        "local": "1",
        "master": "1"
    },
    "session.upload_progress.name": {
        "local": "PHP_SESSION_UPLOAD_PROGRESS",
        "master": "PHP_SESSION_UPLOAD_PROGRESS"
    },
    "session.upload_progress.prefix": {
        "local": "upload_progress_",
        "master": "upload_progress_"
    },
    "session.use_cookies": {
        "local": "On",
        "master": "On"
    },
    "session.use_only_cookies": {
        "local": "On",
        "master": "On"
    },
    "session.use_strict_mode": {
        "local": "Off",
        "master": "Off"
    },
    "session.use_trans_sid": {
        "local": "Off",
        "master": "Off"
    }
}
SimpleXML
{
    "SimpleXML support": "enabled",
    "Schema support": "enabled"
}
sodium
{
    "sodium support": "enabled",
    "libsodium headers version": "1.0.18",
    "libsodium library version": "1.0.18"
}
SPL
{
    "SPL support": "enabled",
    "Interfaces": "OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject",
    "Classes": "AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException"
}
sqlite3
{
    "SQLite3 support": "enabled",
    "SQLite Library": "3.31.1",
    "sqlite3.defensive": {
        "local": "On",
        "master": "On"
    },
    "sqlite3.extension_dir": {
        "local": "no value",
        "master": "no value"
    }
}
standard
{
    "Dynamic Library Support": "enabled",
    "Path to sendmail": "/usr/sbin/sendmail -t -i",
    "assert.active": {
        "local": "On",
        "master": "On"
    },
    "assert.bail": {
        "local": "Off",
        "master": "Off"
    },
    "assert.callback": {
        "local": "no value",
        "master": "no value"
    },
    "assert.exception": {
        "local": "On",
        "master": "On"
    },
    "assert.warning": {
        "local": "On",
        "master": "On"
    },
    "auto_detect_line_endings": {
        "local": "Off",
        "master": "Off"
    },
    "default_socket_timeout": {
        "local": "60",
        "master": "60"
    },
    "from": {
        "local": "no value",
        "master": "no value"
    },
    "session.trans_sid_hosts": {
        "local": "no value",
        "master": "no value"
    },
    "session.trans_sid_tags": {
        "local": "a=href,area=href,frame=src,form=",
        "master": "a=href,area=href,frame=src,form="
    },
    "unserialize_max_depth": {
        "local": "4096",
        "master": "4096"
    },
    "url_rewriter.hosts": {
        "local": "no value",
        "master": "no value"
    },
    "url_rewriter.tags": {
        "local": "form=",
        "master": "form="
    },
    "user_agent": {
        "local": "no value",
        "master": "no value"
    }
}
sysvsem
{
    "sysvsem support": "enabled"
}
tokenizer
{
    "Tokenizer Support": "enabled"
}
xml
{
    "XML Support": "active",
    "XML Namespace Support": "active",
    "libxml2 Version": "2.9.10"
}
xmlreader
{
    "XMLReader": "enabled"
}
xmlwriter
{
    "XMLWriter": "enabled"
}
Zend OPcache
{
    "Opcode Caching": "Up and Running",
    "Optimization": "Enabled",
    "SHM Cache": "Enabled",
    "File Cache": "Disabled",
    "JIT": "Disabled",
    "Startup": "OK",
    "Shared memory model": "mmap",
    "Cache hits": "4492042",
    "Cache misses": "2914",
    "Used memory": "82734792",
    "Free memory": "51478304",
    "Wasted memory": "4632",
    "Interned Strings Used memory": "17455296",
    "Interned Strings Free memory": "16099136",
    "Cached scripts": "2795",
    "Cached keys": "5506",
    "Max keys": "16229",
    "OOM restarts": "0",
    "Hash keys restarts": "0",
    "Manual restarts": "0",
    "Start time": "2026-06-20T22:26:27+0000",
    "Last restart time": "none",
    "Last force restart time": "none",
    "opcache.blacklist_filename": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.dups_fix": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.enable": {
        "local": "On",
        "master": "On"
    },
    "opcache.enable_cli": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.enable_file_override": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.error_log": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.file_cache": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.file_cache_consistency_checks": {
        "local": "On",
        "master": "On"
    },
    "opcache.file_cache_only": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.file_update_protection": {
        "local": "2",
        "master": "2"
    },
    "opcache.force_restart_timeout": {
        "local": "180",
        "master": "180"
    },
    "opcache.huge_code_pages": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.interned_strings_buffer": {
        "local": "32",
        "master": "32"
    },
    "opcache.jit": {
        "local": "tracing",
        "master": "tracing"
    },
    "opcache.jit_bisect_limit": {
        "local": "0",
        "master": "0"
    },
    "opcache.jit_blacklist_root_trace": {
        "local": "16",
        "master": "16"
    },
    "opcache.jit_blacklist_side_trace": {
        "local": "8",
        "master": "8"
    },
    "opcache.jit_buffer_size": {
        "local": "0",
        "master": "0"
    },
    "opcache.jit_debug": {
        "local": "0",
        "master": "0"
    },
    "opcache.jit_hot_func": {
        "local": "127",
        "master": "127"
    },
    "opcache.jit_hot_loop": {
        "local": "64",
        "master": "64"
    },
    "opcache.jit_hot_return": {
        "local": "8",
        "master": "8"
    },
    "opcache.jit_hot_side_exit": {
        "local": "8",
        "master": "8"
    },
    "opcache.jit_max_exit_counters": {
        "local": "8192",
        "master": "8192"
    },
    "opcache.jit_max_loop_unrolls": {
        "local": "8",
        "master": "8"
    },
    "opcache.jit_max_polymorphic_calls": {
        "local": "2",
        "master": "2"
    },
    "opcache.jit_max_recursive_calls": {
        "local": "2",
        "master": "2"
    },
    "opcache.jit_max_recursive_returns": {
        "local": "2",
        "master": "2"
    },
    "opcache.jit_max_root_traces": {
        "local": "1024",
        "master": "1024"
    },
    "opcache.jit_max_side_traces": {
        "local": "128",
        "master": "128"
    },
    "opcache.jit_max_trace_length": {
        "local": "1024",
        "master": "1024"
    },
    "opcache.jit_prof_threshold": {
        "local": "0.005",
        "master": "0.005"
    },
    "opcache.lockfile_path": {
        "local": "/tmp",
        "master": "/tmp"
    },
    "opcache.log_verbosity_level": {
        "local": "1",
        "master": "1"
    },
    "opcache.max_accelerated_files": {
        "local": "10000",
        "master": "10000"
    },
    "opcache.max_file_size": {
        "local": "0",
        "master": "0"
    },
    "opcache.max_wasted_percentage": {
        "local": "5",
        "master": "5"
    },
    "opcache.memory_consumption": {
        "local": "128",
        "master": "128"
    },
    "opcache.opt_debug_level": {
        "local": "0",
        "master": "0"
    },
    "opcache.optimization_level": {
        "local": "0x7FFEBFFF",
        "master": "0x7FFEBFFF"
    },
    "opcache.preferred_memory_model": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.preload": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.preload_user": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.protect_memory": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.record_warnings": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.restrict_api": {
        "local": "no value",
        "master": "no value"
    },
    "opcache.revalidate_freq": {
        "local": "2",
        "master": "2"
    },
    "opcache.revalidate_path": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.save_comments": {
        "local": "On",
        "master": "On"
    },
    "opcache.use_cwd": {
        "local": "On",
        "master": "On"
    },
    "opcache.validate_permission": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.validate_root": {
        "local": "Off",
        "master": "Off"
    },
    "opcache.validate_timestamps": {
        "local": "On",
        "master": "On"
    }
}
zip
{
    "Zip": "enabled",
    "Zip version": "1.22.3",
    "Libzip version": "1.5.1"
}
zlib
{
    "ZLib Support": "enabled",
    "Stream Wrapper": "compress.zlib://",
    "Stream Filter": "zlib.inflate, zlib.deflate",
    "Compiled Version": "1.2.11",
    "Linked Version": "1.2.11",
    "zlib.output_compression": {
        "local": "Off",
        "master": "Off"
    },
    "zlib.output_compression_level": {
        "local": "-1",
        "master": "-1"
    },
    "zlib.output_handler": {
        "local": "no value",
        "master": "no value"
    }
}
Additional Modules
[]

I set the command in the config file to rotate the logs, but did not understand that it just keeps adding logs by just adding a (log.1, log.2 …etc) that is good for low traffic use, in my instance is just filled up my storage drive and crashed the server.

Please add some type of option in the Admin-WebUI to clear the logs. Most other distros do that why can nextcloud.

Now I have too open up ssh and ssh to my server and delete the log files at least once a week as all rotation does is fill-up my drive.

This is a fresh install, not going to restore until I can get the log file issue resolve, I have installed FileCloud as an alternative for now, if I cannot resolve the log file issue going to switch to FileCloud as FileCloud allow you to clear the logs from the WebUI.

Same to loose customers for a simple thing as be able to clear your logs

Robert

Hey @Rbruce259, welcome to the Nextcloud community and thanks for supporting Nextcloud snap :handshake:

Sorry to hear you are having issues with your Nextcloud snap installation. If you’ve come this far, you’re on the right track! There is a good chance someone in the community has had a similar issue and knows how to resolve it.

Below are some links to how-to’s answering frequently asked questions and may help you help yourself;

pay special attention to Managing logs · nextcloud-snap/nextcloud-snap Wiki · GitHub

This is a fresh install, not going to restore until I can get the log file issue resolve, I have installed FileCloud as an alternative for now, if I cannot resolve the log file issue going to switch to FileCloud as FileCloud allow you to clear the logs from the WebUI.

so why don’t you simply install the app you need?

if you believe this is a snap issue rather than a configuration issue, consider creating a request on Nextcloud snap Github so that the snap team can have a closer look. remember the snap team is responsible for packaging :package: only

@Rbruce259

for posterity, it is unclear whether you have changed the default data directory. see Change data directory

if this is true, the logs are located there instead of the default data directory. thus you’d need to set the path in config "logfile": "\/var\/snap\/nextcloud\/current\/logs\/nextcloud.log", to where that log file is located for the built-in Nextcloud log rotation to work as expected.

note also, permissions must be set correctly to enable log rotation. list permissions for your log file:
ls -al /var/snap/nextcloud/current/logs/nextcloud.log or non-default path…
it should look like this;
image

alternatively create a cronjob for log rotation or run a script:

#!/bin/bash

## system-wide logs ##
sudo journalctl --rotate && ## log rotation ##
sudo journalctl --vacuum-time=2days &&  ## retention in days ##
## nextcloud-snap logs default directory ##
sudo truncate -s 0 /var/snap/nextcloud/current/logs/nextcloud.log &&  ## truncate to clear ##
exit

Thank you !!!

Did not know this was available, installed from the App Store and it worked instantly, Was able to clear the log file without have to ssh to the server and run truncate commands.

Just to clarify as this is not a Snap issue as the rotation works, but what it does not do is delete the old rotated file which fills up the drive if you do not watch that directory constantly. I understand the logic as you need the logs to investigate issues or errors, but there should be an option to delete file(s) older than xxx than just simply rotating the logs when they reach a certain size as all that does is fill up your hard disk.