logreader
logreader copied to clipboard
[Bug]: Logging page is not shown after upgrade from 26.0.7 to 27.1.2
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
After major upgrade from 26.0.7 to 27.1.2 I observe that when I try to proceed to the page /settings/admin/logging the page is stuck with updating and nothing is shown.
Steps to reproduce
- Proceed at
/settings/admin/logging - Wait
- Observe that nothing is shown apart of infinitely turning circle
Expected behavior
The page with logs should be shown.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
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
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "local.tld",
"4": "ncoffice.local.tld",
"5": "office.local.tld"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "27.1.2.1",
"overwrite.cli.url": "https:\/\/local.tld\/",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_send_plaintext_only": false,
"default_phone_region": "**",
"default_locale": "**_**",
"default_language": "**",
"allow_user_to_change_display_name": false,
"auth.webauthn.enabled": false,
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 21600,
"session_relaxed_expiry": false,
"session_keepalive": false,
"auto_logout": false,
"skeletondirectory": "\/media\/server\/ncdata\/skeleton",
"maintenance": false,
"sort_groups_by_name": true,
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"memcache.locking": "\\OC\\Memcache\\Redis",
"app_install_overwrite": [
"twofactor_admin",
"files_fulltextsearch",
"fulltextsearch_elasticsearch",
"fulltextsearch",
"files_fulltextsearch_tesseract",
"twofactor_gateway"
],
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"logtype": "file",
"logfile": "\/var\/log\/nextcloud.log",
"loglevel": 0,
"activity_use_cached_mountpoints": true,
"trashbin_retention_obligation": "auto, 30",
"logtimezone": "Europe\/****",
"profile.enabled": false,
"onlyoffice": {
"verify_peer_off": false,
"jwt_secret": "*****",
"jwt_header": "*****"
},
"enable_previews": true,
"preview_max_x": "2048",
"preview_max_y": "2048",
"enabledPreviewProviders": [
"OC\\Preview\\Image"
],
"jpeg_quality": "75",
"preview_concurrency_new": "1",
"twofactor_enforced": true,
"allow_local_remote_servers": true,
"twofactor_enforced_groups": [
"admin"
],
"twofactor_enforced_excluded_groups": [],
"SIGNAL_CLI_DBUS_REST_API_ACCOUNT": "******",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 2.19.0
- bruteforcesettings: 2.7.0
- calendar: 4.5.2
- cloud_federation_api: 1.10.0
- comments: 1.17.0
- contacts: 5.4.2
- dav: 1.27.0
- end_to_end_encryption: 1.13.1
- external: 5.2.1
- extract: 1.3.6
- federatedfilesharing: 1.17.0
- files: 1.22.0
- files_fulltextsearch: 27.0.1
- files_fulltextsearch_tesseract: 27.0.0
- files_linkeditor: 1.1.16
- files_pdfviewer: 2.8.0
- files_reminders: 1.0.0
- files_rightclick: 1.6.0
- files_scripts: 3.0.0
- files_sharing: 1.19.0
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- files_zip: 1.4.0
- firstrunwizard: 2.16.0
- flow_notifications: 1.7.0
- fulltextsearch: 27.0.2
- fulltextsearch_elasticsearch: 27.0.4
- group_everyone: 0.1.13
- groupfolders: 15.3.1
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- notes: 4.8.1
- notifications: 2.15.0
- oauth2: 1.15.1
- onlyoffice: 8.2.0
- password_policy: 1.17.0
- previewgenerator: 5.3.0
- privacy: 1.11.0
- provisioning_api: 1.17.0
- serverinfo: 1.17.0
- settings: 1.9.0
- tasks: 0.15.0
- text: 3.8.0
- theming: 2.2.0
- twofactor_admin: 4.3.0
- twofactor_backupcodes: 1.16.0
- twofactor_gateway: 0.20.0
- twofactor_totp: 9.0.0
- updatenotification: 1.17.0
- viewer: 2.1.0
- workflow_script: 1.12.0
- workflowengine: 2.9.0
Disabled:
- admin_audit: 1.17.0
- circles: 27.0.1 (installed 24.0.0)
- contactsinteraction: 1.8.0 (installed 1.5.0)
- dashboard: 7.7.0 (installed 7.4.0)
- encryption: 2.15.0 (installed 2.14.0)
- event_update_notification: 2.2.0 (installed 2.2.0)
- federation: 1.17.0 (installed 1.14.0)
- files_automatedtagging: 1.17.0 (installed 1.17.0)
- files_confidential: 1.0.4 (installed 1.0.4)
- files_downloadactivity: 1.16.0 (installed 1.16.0)
- files_external: 1.19.0
- files_lock: 27.0.2 (installed 27.0.2)
- files_trackdownloads: 1.11.0 (installed 1.11.0)
- group_default_quota: 0.1.7 (installed 0.1.7)
- holiday_calendars: 0.3.0 (installed 0.3.0)
- mailnotifier: 0.0.3 (installed 0.0.3)
- nextcloud_announcements: 1.16.0 (installed 1.13.0)
- pdf_downloader: 1.1.3 (installed 1.1.3)
- photos: 2.3.0 (installed 2.2.0)
- quota_warning: 1.17.0 (installed 1.17.0)
- ransomware_protection: 1.14.0 (installed 1.14.0)
- recommendations: 1.6.0 (installed 1.5.0)
- related_resources: 1.2.0 (installed 1.0.3)
- richdocuments: 8.2.0 (installed 8.2.0)
- scanner: 0.2.3 (installed 0.2.3)
- secrets: 1.5.2 (installed 1.5.2)
- sharebymail: 1.17.0 (installed 1.14.0)
- side_menu: 3.10.3 (installed 3.10.3)
- support: 1.10.0 (installed 1.7.0)
- survey_client: 1.15.0 (installed 1.12.0)
- suspicious_login: 5.0.0
- systemtags: 1.17.0 (installed 1.17.0)
- twofactor_email: 2.7.3 (installed 2.7.3)
- twofactor_nextcloud_notification: 3.7.0 (installed 3.7.0)
- twofactor_reminder: 1.0.0 (installed 1.0.0)
- twofactor_webauthn: 1.2.0 (installed 1.2.0)
- user_ldap: 1.17.0
- user_status: 1.7.0 (installed 1.4.0)
- weather_status: 1.7.0 (installed 1.4.0)
- workflow_ocr: 1.27.5 (installed 1.26.1)
- workflow_pdf_converter: 1.12.0 (installed 1.12.0)
Nextcloud Signing status
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- files_downloadactivity
- INVALID_HASH
- l10n/uk.js
- l10n/uk.json
- files_fulltextsearch_tesseract
- INVALID_HASH
- templates/settings.admin.php
- EXTRA_FILE
- l10n/uk.js
- l10n/uk.json
- files_scripts
- INVALID_HASH
- l10n/uk.js
- l10n/uk.json
- tasks
- INVALID_HASH
- l10n/uk.js
- l10n/uk.json
- twofactor_gateway
- INVALID_HASH
- l10n/uk.js
- l10n/uk.json
- templates/challenge.php
- lib/Service/Gateway/Signal/Gateway.php
- EXTRA_FILE
- templates/challenge.php.ori
Raw output
==========
Array
(
[files_downloadactivity] => Array
(
[INVALID_HASH] => Array
(
[l10n/uk.js] => Array
(
[expected] => c8a50530cda70d2c3b37aed5578e955bb3b968217d18834e76c112ac23ef2c8f03bfb91ce902b55587bbc2ddc8ce4f7f49c7f54f17dccf4b17ce66d30d33f4d1
[current] => 06e46a21d126c9869cb78fcac392ce0e54ceaf6f7e545db2fd2f28b33b82251da5e5db59881cac352a31bfc898288c7b49d11c1676e86de7321fa45e4b373d26
)
[l10n/uk.json] => Array
(
[expected] => 24f688d4a34c63e1ba79094497e9ce3e06793f0031438d4bb218fbf42aee1810db33c00f0574cb6a48cb2ad1bbc8bb4e2c01a8befb93dbdf1ac3deb9d4bbec6d
[current] => 65e8de450b0a5d13a9c304d3c91c4a8a2246524d0ee43196387103ccbd097615064e877be72269ae221ef89fb1e4c95e924bc98026800001ca7cea312e839e37
)
)
)
[files_fulltextsearch_tesseract] => Array
(
[INVALID_HASH] => Array
(
[templates/settings.admin.php] => Array
(
[expected] => dbc469abb768cf28595b89a29a68380bd3a72f23aede72c8246ace61d7ac46bb2e45c64f90069083036395f6efae3024595b4b4edc175d43777c2877b1cdbd33
[current] => d93d7c672611ff1aa1dd1d8fe08c76a9860b055fc83a1cfd904f54f3f36c453c96cb57861268ff346882f9d404e65b84639426041470a1c52fa3292322a11270
)
)
[EXTRA_FILE] => Array
(
[l10n/uk.js] => Array
(
[expected] =>
[current] => 4221725a1a2dad708ab385cc03a9069dd4c04060dff6b266abff0db59956197657edb5f1de641ce6d62130ed69598142cd7fc68fdc97a7e3b5652d7906923b6a
)
[l10n/uk.json] => Array
(
[expected] =>
[current] => 1e0fe13577ade092c331c3ad846aadc236da5faaa51512c93e43db4ce79cb6f6042633e0bd4939a3c42447ea8b18078937df4bd3abd7c138ac02873890685179
)
)
)
[files_scripts] => Array
(
[INVALID_HASH] => Array
(
[l10n/uk.js] => Array
(
[expected] => b9623ba12af8b4d94ffddd87cafb7415069f9fb99b566ec0746426d50cf06415e4e89ee775d5c73e9a51265c973d6374c4cbce31a158beab0068745c4bb46de4
[current] => 668287df673ff2ad2fa63b55547614a7cf263bed0b0711dedaf1b89ca777ffa9a6038ac890b9432795ebdb9a9172d55738942f302ad6b73afacb36c23d555890
)
[l10n/uk.json] => Array
(
[expected] => a00ae248465f846011e230c8c8950cf9fc6770c35f8a8255983f811b07c4f7c077473aa4ea6e0b20fbd63a7d645d6b83696decf5c6f6c33d1259f4076e8a0bad
[current] => 2edf100d0743d42d0a909b1ddd2d63dddb4b68e98e053c87a1fb0e56fe30b12a086837f72ec962b28884d48a9be0c9b93357b39b006fc8b752ad1dae54e1781c
)
)
)
[tasks] => Array
(
[INVALID_HASH] => Array
(
[l10n/uk.js] => Array
(
[expected] => cf2b53ae6edc36ae98f0bfcf873a41256243ba054edb20092d79e8128aec03e5cf7859367ffb4e131c3c224bafecb1e3a6ed2b337fef186176e817e96b771a91
[current] => 61d74deef15c0aa65c98db4057a35ffa82bcbd23a9b26fc768ff9c4b022877fd53a920123f323eaf50db93a9786d9e00480072a8cc8ecd25a91d6bb9b7f1c7f2
)
[l10n/uk.json] => Array
(
[expected] => 5481dd044b6bc73a21e82a92ea6ea4d0ae3158a38f06420ddae5781596e475c9cbc9e81d3ccbc9e5659b646e187d00406e376afe171fc0bc8f6958ce298b34da
[current] => 826d45f83109eb8e7402ef526df2fffad36c6f7613fc55913aa09dafc14f1cda958cf0be00ef270927a455376900aa32ef90e0ac5558a8d8c8cfaf7517cfe84b
)
)
)
[twofactor_gateway] => Array
(
[INVALID_HASH] => Array
(
[l10n/uk.js] => Array
(
[expected] => 4f6f8a9535c4f0836139487219a4225b1e3f90a7442ca28ad3d9f3cae0e1185ef68a195b6b82f3d7fb27bf4ec5d24e528dd42b4232022499715cee7c19f61ec5
[current] => 19169f72c2571d5fa5d2df9444655d09b0187d376a07cd61e68c61288b0c89dda4856a004507679ef159859ae974eb0478e1d1dcd85dc6ae687cc1471ec886dd
)
[l10n/uk.json] => Array
(
[expected] => 22bfd148d2af9d55dbc213fb1c54d75755be438709abdff73e8c87c1561b4f1b08d902ef4874bec5b79b207ca62f8d39849bca63e6e18025e73ca9720d8c4316
[current] => 6fd9cea61af57d6089699b0a47222a6311cc29ab73d2fa7ac310b67a3a4664432f2c66a6fdf8a604e4b2ae7b79e0f34a1420a422e507379764f2e6290f5a655b
)
[templates/challenge.php] => Array
(
[expected] => 72afed33331bfa8344d987a4bade6b5edd8468207bf53da017cc0275d5d6f9b025dadf0e5cc7748acb6ae73a7626d835e014abcc3604cbd5a35eec84cc7dbb6c
[current] => 87ed664b9b99e8e6ede154b69607978cecabb82b29f7bfec429a279843169ec2a9cd42725a22f431111fb2d43930b705dc1a632fb5940b758f5b43c91d7ec2be
)
[lib/Service/Gateway/Signal/Gateway.php] => Array
(
[expected] => 3127ada11e34a1c33fcc117ffeefc0ab317e1f66312692c21c69c1b6ac82ddc0a5b79aa733eb1d3ad496f746218d1241b1ea9a63e514efe9e0534b8d0529079a
[current] => 6778f8c83737992c704e449c70477b0558e86a28cade55149a807d0840feab775865a675504c008ff0cf9276098ec3c17aaebedbdb059cebaa70b7bdaaf856bd
)
)
[EXTRA_FILE] => Array
(
[templates/challenge.php.ori] => Array
(
[expected] =>
[current] => c20d4ea8d7dfd187472f7798dd698c3d43ca21ba557da238c469d0be4991cfab475d2afa0c1e6e1880c2e3606e7f0e9f94201df95a80bb48811ba62ca3e7987a
)
)
)
)
Nextcloud Logs
{"reqId":"tXNQ88bqdMMkK279giBb","level":1,"time":"2023-10-07T11:22:54+03:00","remoteAddr":"****.****.****.****","user":"username","app":"text","method":"PUT","url":"/apps/text/session/create","message":"Keep previous document of 668548","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","data":{"app":"text"}}
{"reqId":"tXNQ88bqdMMkK279giBb","level":0,"time":"2023-10-07T11:22:54+03:00","remoteAddr":"****.****.****.****","user":"username","app":"text","method":"PUT","url":"/apps/text/session/create","message":"Loading existing session for 668548","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","data":{"app":"text"}}
{"reqId":"tXNQ88bqdMMkK279giBb","level":0,"time":"2023-10-07T11:22:54+03:00","remoteAddr":"***.***.***.***","user":"username","app":"text","method":"PUT","url":"/apps/text/session/create","message":"State file not found for 668548","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","data":{"app":"text"}}
{"reqId":"luPuxbVYJPnUbY4yjMXG","level":0,"time":"2023-10-07T11:22:56+03:00","remoteAddr":"***.***.***.***","user":"username","app":"logreader","method":"GET","url":"/settings/admin/logging","message":"Could not find resource file \"/apps/logreader/css/../js/logreader-main.css\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","data":{"app":"logreader"}}
Additional info
No response
Deleting nextcloud.log and restarting web server helped. Though it shouldn't have happened, as I've lost the previous journal.
Additionally, I see that the import of journals is broken
Deleting nextcloud.log and restarting web server helped. Though it shouldn't have happened, as I've lost the previous journal.
There was no need to delete it outright. You could have renamed it or kept a backup. :)
- Was there anything weird with the file permissions on the prior file maybe?
- If this reoccurs, check the browser logs (both console and network tabs)
Deleting nextcloud.log and restarting web server helped. Though it shouldn't have happened, as I've lost the previous journal.
There was no need to delete it outright. You could have renamed it or kept a backup. :)
Actually, I renamed it, not deleted.
- Was there anything weird with the file permissions on the prior file maybe?
Nothing! I've had an assumption that the structure of the log file might have been changed with the upgrade. Need to examine that.
- If this reoccurs, check the browser logs (both console and network tabs)
True...
Last version of Logreader written in react is Nextcloud 27.1.11 (End of life was at 2024-06-25)
Please reopen this issue if will happen with upgrade to recent versions