⚠️ This issue respects the following points: ⚠️
Bug description
After a required manual upgrade of my NextCloud instance, I discovered that several files were reported as missing - probably due to an incomplete upload. While this was easy to fix, I noticed that not all missing files are reported with their exact location (path + filename) which made it more difficult than necessary to track down the missing files and re-upload them. Example report:
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
=======
- twofactor_totp
- FILE_MISSING
- js/twofactor_totp-main-login-setup.js.map.license
- js/twofactor_totp-main-settings.js.map.license
- related_resources
- FILE_MISSING
- js/related_resources.js.map.license
- js/vendors-node_modules_nextcloud_vue_dist_Components_NcRelatedResourcesPanel_js.related_resources.js.license
- dav
- FILE_MISSING
- lib/CalDAV/Search/Xml/Filter/CompFilter.php
- recommendations
- FILE_MISSING
- js/recommendations-dashboard.js.map.license
- js/recommendations-main.js.map.license
- js/recommendations-vendors-node_modules_rehype-highlight_index_js.js.map.license
- lookup_server_connector
- FILE_MISSING
- composer/composer.json
- files_pdfviewer
- FILE_MISSING
- js/files_pdfviewer-admin.js.map.license
- js/files_pdfviewer-main.js.map.license
- js/files_pdfviewer-node_modules_nextcloud_dialogs_dist_chunks_PublicAuthPrompt-7_GNN76e_mjs.js.map.license
- js/files_pdfviewer-vendors-node_modules_mdi_js_mdi_js-node_modules_nextcloud_dialogs_dist_chunks_preview-BIbJGxX-8a4549.js.map.license
- js/files_pdfviewer-vendors-node_modules_nextcloud_dialogs_dist_chunks_ConflictPicker-CWBf0soh_mjs.js.map.license
- js/files_pdfviewer-vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-C1yRZfLt_mjs.js.map.license
- js/files_pdfviewer-vendors-node_modules_nextcloud_dialogs_dist_chunks__plugin-vue_export-helper-1tPrXgE0_mjs-nod-88e649.js.map.license
- js/files_pdfviewer-vendors-node_modules_nextcloud_dialogs_node_modules_nextcloud_vue_dist_components_NcColorPick-2135ac.js.map.license
- js/files_pdfviewer-vendors-node_modules_nextcloud_dialogs_node_modules_nextcloud_vue_dist_components_NcDateTimeP-55190c.js.map.license
- js/files_pdfviewer-vendors-node_modules_nextcloud_dialogs_node_modules_nextcloud_vue_dist_components_NcTextField-759f92.js.map.license
- js/files_pdfviewer-vendors-node_modules_rehype-highlight_index_js.js.map.license
- js/files_pdfviewer-workersrc.js.map.license
For instance, the first entry should actually be reported as apps/twofactor_totp/js/main-login-setup.js.map.license - which is the file that's missing.
I noticed that some other files (not in the /apps/ directory) were reported with the correct path, but I propose to align this across all files to make it easier to fix.
Steps to reproduce
- Install NextCloud
- Delete some files in any of the
apps/xyz/js directories
- Run the integrity scanner
- View the resulting report
Expected behavior
I would like the correct path to be shown in clear text.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
After a required manual upgrade of my NextCloud instance, I discovered that several files were reported as missing - probably due to an incomplete upload. While this was easy to fix, I noticed that not all missing files are reported with their exact location (path + filename) which made it more difficult than necessary to track down the missing files and re-upload them. Example report:
For instance, the first entry should actually be reported as
apps/twofactor_totp/js/main-login-setup.js.map.license- which is the file that's missing.I noticed that some other files (not in the
/apps/directory) were reported with the correct path, but I propose to align this across all files to make it easier to fix.Steps to reproduce
apps/xyz/jsdirectoriesExpected behavior
I would like the correct path to be shown in clear text.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response