Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrity check failed on Nextcloud 16.0.1 #15681

Closed
pixel8383 opened this issue May 22, 2019 · 7 comments
Closed

Integrity check failed on Nextcloud 16.0.1 #15681

pixel8383 opened this issue May 22, 2019 · 7 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@pixel8383
Copy link

Steps to reproduce

  1. Update freeBSD installation to 16.0.1 using pkg upgrade
  2. Check for file integrity using "occ integrity:check-app accessibility"

Expected behaviour

No integrity fails

Actual behaviour

  • FILE_MISSING:
    • l10n/mk.js:
      • expected: a2e44f768bc467705616e73de781c611c290a9aa58f8d48d1076cb2e4403894c68a6c613a7cd67ce39016213307171f02afd8a4206cd308c002a14ee1f8f9ad4
      • current:
    • l10n/mk.json:
      • expected: d291395d459185fa98398792a5598f1b27c1cfb5d227b6999f88caefde4455acd2785a23b8e80a7e430be38eba7556545b24b59bff72f053189a560f9564f476
      • current:

Server configuration

Web server: FreeBSD 11.2-RELEASE-p9

Database: mysql 5.6.44

PHP version: 7.1.28

Nextcloud version: 16.0.1.1

Updated from an older Nextcloud/ownCloud or fresh install: updated from 16.0

Where did you install Nextcloud from: pkg

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

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
=======
- accessibility
	- FILE_MISSING
		- l10n/mk.js
		- l10n/mk.json

Raw output
==========
Array
(
    [accessibility] => Array
        (
            [FILE_MISSING] => Array
                (
                    [l10n/mk.js] => Array
                        (
                            [expected] => a2e44f768bc467705616e73de781c611c290a9aa58f8d48d1076cb2e4403894c68a6c613a7cd67ce39016213307171f02afd8a4206cd308c002a14ee1f8f9ad4
                            [current] => 
                        )

                    [l10n/mk.json] => Array
                        (
                            [expected] => d291395d459185fa98398792a5598f1b27c1cfb5d227b6999f88caefde4455acd2785a23b8e80a7e430be38eba7556545b24b59bff72f053189a560f9564f476
                            [current] => 
                        )

                )

        )

)

List of activated apps:

App list
Enabled:
  - accessibility: 1.2.0
  - activity: 2.9.1
  - cloud_federation_api: 0.2.0
  - comments: 1.6.0
  - dav: 1.9.2
  - federatedfilesharing: 1.6.0
  - federation: 1.6.0
  - files: 1.11.0
  - files_pdfviewer: 1.5.0
  - files_rightclick: 0.13.0
  - files_sharing: 1.8.0
  - files_texteditor: 2.8.0
  - files_trashbin: 1.6.0
  - files_versions: 1.9.0
  - files_videoplayer: 1.5.0
  - firstrunwizard: 2.5.0
  - gallery: 18.3.0
  - logreader: 2.1.0
  - lookup_server_connector: 1.4.0
  - metadata: 0.9.0
  - nextcloud_announcements: 1.5.0
  - notifications: 2.4.1
  - oauth2: 1.4.2
  - password_policy: 1.6.0
  - privacy: 1.0.0
  - provisioning_api: 1.6.0
  - recommendations: 0.4.0
  - serverinfo: 1.6.0
  - sharebymail: 1.6.0
  - survey_client: 1.4.0
  - systemtags: 1.6.0
  - theming: 1.7.0
  - twofactor_backupcodes: 1.5.0
  - updatenotification: 1.6.0
  - viewer: 1.0.0
  - workflowengine: 1.6.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - support
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "apps_paths": [
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            },
            {
                "path": "\/usr\/local\/www\/nextcloud\/apps-pkg",
                "url": "\/apps-pkg",
                "writable": true
            }
        ],
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.1.100",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "16.0.1.1",
        "overwrite.cli.url": "http:\/\/192.168.1.100",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "mysql.utf8mb4": true
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@pixel8383 pixel8383 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 22, 2019
@pixel8383
Copy link
Author

I added those files manually (actually the entire l10n folder was missing under /apps/accessibility/) and run a new integrity check but it failed anyway.

@deprecated7
Copy link

I can confirm this issue on FreeBSD 11.2-STABLE (FreeNAS custom jail). Installing the files manually and setting permissions didn't help.

@salsugair
Copy link

i encountered the same issue following the same steps

@CarterJimmy
Copy link

Same issue on FreeNas11.2-U4.1 (FreeBSD 11.2-STABLE).
I installed Nextcloud via official plugins manager.

@pixel8383
Copy link
Author

Any news on it? Seems like the scan is expecting something more thant what actually exists.

@skjnldsv skjnldsv closed this as completed Aug 7, 2019
@skjnldsv
Copy link
Member

skjnldsv commented Aug 7, 2019

As I cannot reproduce the original issue anymore, I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.

@pixel8383
Copy link
Author

I do confirm, seems like it is OK with the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

5 participants