Skip to content

[Bug]: JS MAP on production server #59613

@KarelWintersky

Description

@KarelWintersky

⚠️ This issue respects the following points: ⚠️

Bug description

During planned update I recieved message:

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_markdown
	- FILE_MISSING
		- build/191.editor.js.map
		- build/509.editor.js.map
		- build/657.editor.js.map
		- build/661.editor.js.map
		- build/779.editor.js.map
		- build/8.editor.js.map
		- build/919.editor.js.map
		- build/editor.js.map
- mail
	- FILE_MISSING
		- js/autoredirect.js.map
		- js/htmlresponse.js.map
		- js/mail.103.d9160d9ae2c340b99e4b.js.map
		- js/mail.165.de65e4ce3c20dff5a59c.js.map
		- js/mail.352.f45f21294b7eda953d55.js.map
		- js/mail.393.40f4c1804ec38227d4d1.js.map
		- js/mail.398.13d1509724428890e113.js.map
		- js/mail.516.529573d60f37aeba9485.js.map
		- js/mail.552.d45d556a7e142df6c270.js.map
		- js/mail.568.d0a40ca414f078b0b370.js.map
		- js/mail.607.7628d9db41a891f2add2.js.map
		- js/mail.628.e01d18877519ee9a7178.js.map
		- js/mail.66.0deda3fa19f7f2503a5a.js.map
		- js/mail.690.d3c143d673566bb149fc.js.map
		- js/mail.708.7073509c114935df90d0.js.map
		- js/mail.8.f2a664ed779de2ba231e.js.map
		- js/mail.862.856324fd144da45d0628.js.map
		- js/mail.896.ccdc0f774cce15649ee9.js.map
		- js/mail.975.e546b839d662713948e4.js.map
		- js/mail.account-settings.cf41833fa873f5fd029a.js.map
		- js/mail.js.map
		- js/mail.new-message-modal.cdd8855818354e900762.js.map
		- js/oauthpopup.js.map
		- js/settings.js.map
		-

Yes, I know they're missing.

Yes, I did delete them. I don't understand the point of keeping debug files... on a production server (they take up, on average, three times more space than the scripts themselves).

I believe they should be removed from the production installation and used only for actual debugging and development.

Steps to reproduce

Expected behavior

no JS-MAP files

Nextcloud Server version

32

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions