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

oc integrity check on oc 9.0.3 failed - missing files #238

Closed
chriseqipe opened this Issue Jul 5, 2016 · 9 comments

Comments

Projects
None yet
2 participants
@chriseqipe

chriseqipe commented Jul 5, 2016

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
=======
- Application to check
    - EXCEPTION
        - Exception
        - App not found
- qownnotesapi
    - FILE_MISSING
        - .gitignore
        - .travis.yml
        - Makefile
        - build/artifacts/appstore/qownnotesapi.tar.gz
        - phpunit.coverage.xml
        - phpunit.integration.xml
        - phpunit.xml
        - tests/integration/AppTest.php
        - tests/travis/php.ini
        - tests/unit/controller/NoteApiControllerTest.php

Raw output
==========
Array
(
    [Application to check] => Array
        (
            [EXCEPTION] => Array
                (
                    [class] => Exception
                    [message] => App not found
                )

        )

    [qownnotesapi] => Array
        (
            [FILE_MISSING] => Array
                (
                    [.gitignore] => Array
                        (
                            [expected] => d5cc0283d4eb9d4adb7b11ef526d933fafc81e4a3c7191d2331ce6965170a7a1e7117aab69b730e4b25cf5354222230a72adb8a87fe60006929948217218537a
                            [current] => 
                        )

                    [.travis.yml] => Array
                        (
                            [expected] => e54c3c0cef4f1508b6d07fab2da159a136f2380cb62c5b93234b05dc20532e1b79a677b4287659833067d86c3d7f4fdfffdef2d5cd4cdfd9b9aa4520d9db9db5
                            [current] => 
                        )

                    [Makefile] => Array
                        (
                            [expected] => d2f61de81d762aaee5a5876798e702d513eb2ad80cd5e9a62ff256f4b88fb2f7da8876bd74ed7d20f2b95843d1de7c6eba155aaf1f9509029e3ec15b3256999a
                            [current] => 
                        )

                    [build/artifacts/appstore/qownnotesapi.tar.gz] => Array
                        (
                            [expected] => 609e55b65b3f683ebe4f2cfc3b36daf61e65105a7f839f8d049c8a77399defbed1d08bc549e06cb3139428d36c9fd5d6367a616a37fed016f7d80fb3be25d1eb
                            [current] => 
                        )

                    [phpunit.coverage.xml] => Array
                        (
                            [expected] => 21686e83eada96dd35b0187b5f9e5f4df15e9ab0faf36c54c8cc1f0631f739f56bbccb1a0668002ebb13104d7e28ecfec9b277ca665641b3abab4330a12dddca
                            [current] => 
                        )

                    [phpunit.integration.xml] => Array
                        (
                            [expected] => d477d2d4e122ea372352b7e3c96e6973ad6c82b04c3adeb1edf02029f1cff62240ac188b99e063c7423e7603098dd7ab89c8f146c5382d8c8a9e0a9117f70da3
                            [current] => 
                        )

                    [phpunit.xml] => Array
                        (
                            [expected] => c4b7fe8203adf562ae2aa01090b46d0a1337df7766285b97d5fe27be19636f5385deb08f19101305536423006deed50eb22f3cc7f6ebf5c1d2fc4fe009c961bc
                            [current] => 
                        )

                    [tests/integration/AppTest.php] => Array
                        (
                            [expected] => 6ab2b514e3abcdd947f10bdd53e548581bfdaf9cb13fc622860c23907cbeaa999ba472bb243c0812e98766ab8025c2447d5a2ddfaf4a7573483691b8a34ea478
                            [current] => 
                        )

                    [tests/travis/php.ini] => Array
                        (
                            [expected] => 42ae4f728eb4e0cec696ae48c61d58e50e836b0f291cf74fdc0d7229c565c2bf3c076ac150ce7250dde2e4600804f17404a09555e1978d7e79bb84d39e2c78e1
                            [current] => 
                        )

                    [tests/unit/controller/NoteApiControllerTest.php] => Array
                        (
                            [expected] => 08fba9788ace46accf2fb8e1a422294551782b093c8d0d6a87300172cf1b983e859f6786a1891a2ad6d5dc17fd008a674f43357e16f5126812ce261243110a46
                            [current] => 
                        )

                )

        )

)

@chriseqipe chriseqipe changed the title from oc Inegritry check on oc 9.0.3 failed - missing files to oc integrity check on oc 9.0.3 failed - missing files Jul 5, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Jul 5, 2016

How and where did you get that output?

@chriseqipe

This comment has been minimized.

chriseqipe commented Jul 5, 2016

We have installed oc version 9.0.3.

php occ status
  - installed: true
  - version: 9.0.3.2
  - versionstring: 9.0.3
  - edition: 

on cli we got:

php occ  integrity:check-app qownnotesapi
  - FILE_MISSING:
    - .gitignore:
      - expected: d5cc0283d4eb9d4adb7b11ef526d933fafc81e4a3c7191d2331ce6965170a7a1e7117aab69b730e4b25cf5354222230a72adb8a87fe60006929948217218537a
      - current: 
    - .travis.yml:
      - expected: e54c3c0cef4f1508b6d07fab2da159a136f2380cb62c5b93234b05dc20532e1b79a677b4287659833067d86c3d7f4fdfffdef2d5cd4cdfd9b9aa4520d9db9db5
      - current: 
    - Makefile:
      - expected: d2f61de81d762aaee5a5876798e702d513eb2ad80cd5e9a62ff256f4b88fb2f7da8876bd74ed7d20f2b95843d1de7c6eba155aaf1f9509029e3ec15b3256999a
      - current: 
    - build/artifacts/appstore/qownnotesapi.tar.gz:
      - expected: 609e55b65b3f683ebe4f2cfc3b36daf61e65105a7f839f8d049c8a77399defbed1d08bc549e06cb3139428d36c9fd5d6367a616a37fed016f7d80fb3be25d1eb
      - current: 
    - phpunit.coverage.xml:
      - expected: 21686e83eada96dd35b0187b5f9e5f4df15e9ab0faf36c54c8cc1f0631f739f56bbccb1a0668002ebb13104d7e28ecfec9b277ca665641b3abab4330a12dddca
      - current: 
    - phpunit.integration.xml:
      - expected: d477d2d4e122ea372352b7e3c96e6973ad6c82b04c3adeb1edf02029f1cff62240ac188b99e063c7423e7603098dd7ab89c8f146c5382d8c8a9e0a9117f70da3
      - current: 
    - phpunit.xml:
      - expected: c4b7fe8203adf562ae2aa01090b46d0a1337df7766285b97d5fe27be19636f5385deb08f19101305536423006deed50eb22f3cc7f6ebf5c1d2fc4fe009c961bc
      - current: 
    - tests/integration/AppTest.php:
      - expected: 6ab2b514e3abcdd947f10bdd53e548581bfdaf9cb13fc622860c23907cbeaa999ba472bb243c0812e98766ab8025c2447d5a2ddfaf4a7573483691b8a34ea478
      - current: 
    - tests/travis/php.ini:
      - expected: 42ae4f728eb4e0cec696ae48c61d58e50e836b0f291cf74fdc0d7229c565c2bf3c076ac150ce7250dde2e4600804f17404a09555e1978d7e79bb84d39e2c78e1
      - current: 
    - tests/unit/controller/NoteApiControllerTest.php:
      - expected: 08fba9788ace46accf2fb8e1a422294551782b093c8d0d6a87300172cf1b983e859f6786a1891a2ad6d5dc17fd008a674f43357e16f5126812ce261243110a46
      - current: 

app:list shows:

Enabled:
  - activity: 2.2.1
  - announcementcenter: 1.1.2
  - calendar: 1.2.2
  - comments: 0.2
  - contacts: 1.3.1.0
  - dav: 0.1.6
  - external: 1.2
  - federatedfilesharing: 0.1.0
  - federation: 0.0.4
  - files: 1.4.4
  - files_external: 0.5.2
  - files_mv: 0.8.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.9.1
  - files_texteditor: 2.1
  - files_trashbin: 0.8.0
  - files_versions: 1.2.0
  - files_videoplayer: 0.9.8
  - gallery: 14.5.0
  - notifications: 0.2.3
  - provisioning_api: 0.4.1
  - qownnotesapi: true
  - systemtags: 0.2
  - templateeditor: 0.1
Disabled:
  - documents
  - encryption
  - files_antivirus
  - firstrunwizard
  - updatenotification
  - user_external
  - user_ldap
@chriseqipe

This comment has been minimized.

chriseqipe commented Jul 5, 2016

info.xml

<?xml version="1.0"?>
<info>
    <!-- metadata -->
    <id>qownnotesapi</id>
    <name>QOwnNotesAPI</name>
    <description>QOwnNotesAPI is the ownCloud API for QOwnNotes, the open source (GPL) notepad for Linux, Mac OS X and Windows, that works together with the notes application of ownCloud.</description>
    <licence>AGPL</licence>
    <author>Patrizio Bekerle</author>
    <version>0.4.4</version>
    <namespace>QOwnNotesAPI</namespace>
    <ocsid>173817</ocsid>
    <category>tools</category>

    <!-- documentation -->
    <documentation>
        <admin>https://github.com/pbek/qownnotesapi</admin>
    </documentation>

    <!-- resources -->
    <website>https://github.com/pbek/qownnotesapi</website>
    <bugs>https://github.com/pbek/qownnotesapi/issues</bugs>
    <repository type="git">https://github.com/pbek/qownnotesapi.git</repository>

    <!-- dependencies -->
    <dependencies>
        <owncloud min-version="8.1" max-version="9.1" />
        <php min-version="5.4" />
    </dependencies>
</info>

signature.json:

{
    "hashes": {
        ".codeclimate.yml": "44305278cdce56e606693da0d3940fd26fd95465a26b1fb149c9510c3e66bdc6d16af3765cf3c6f8ca8dd867f8f4c9bfa6f26674b6912b979926a72eb6ab86f7",
        ".editorconfig": "3f6603e83dd948fb07946fd9fee11673c1196a3e3710a6b5dfd2f8861a3cfd49a8abca1273f9678f529d0c2edca9fd3f6d51adc07bcd071f9aa0716075f7e048",
        ".gitignore": "d5cc0283d4eb9d4adb7b11ef526d933fafc81e4a3c7191d2331ce6965170a7a1e7117aab69b730e4b25cf5354222230a72adb8a87fe60006929948217218537a",
        ".travis.yml": "e54c3c0cef4f1508b6d07fab2da159a136f2380cb62c5b93234b05dc20532e1b79a677b4287659833067d86c3d7f4fdfffdef2d5cd4cdfd9b9aa4520d9db9db5",
        "3rdparty\/finediff\/finediff.php": "328d63a5a24fe36118dfb3c3acd01f7f88c6e89eef1d045270d4edfd3d048b70cb034888494c3cc435863034d72c71b0d6719932e902d962a71f51c376eb1bbd",
        "AUTHORS.md": "471173dfd8ee079c988b04ea7b12a7cab1d82bcc1491f8075b805ead2718fa3578fce4afb334244fb464bbc28b38f5a2b9c1d6403ee6866237832bdf7aca2e17",
        "CHANGELOG.md": "606af7d436fa3aaefd8d9e11ac9aed3a51eb53af0d157c76b7f5c23bb0f12e97588c9217135dcb3c2870d2dbf7f468e5c775ae5d78e39a9946b949dd1f2a7be2",
        "COPYING": "6e90d46be391aa645bcf4dfaa67f452cb15a73749f1895633789c7763b43cc0b65d391e5e95652c9a9a2063c956e0e8099a4e1ce4b70b0636629f9eac39c1080",
        "Makefile": "d2f61de81d762aaee5a5876798e702d513eb2ad80cd5e9a62ff256f4b88fb2f7da8876bd74ed7d20f2b95843d1de7c6eba155aaf1f9509029e3ec15b3256999a",
        "README.md": "1a96bbe4c6c8633fe2ead83e204d87a3b48b557eb5de47306cf4d59bea4a43999df6c57568dfd6fb0ed1f185da989937d665b0d899e40c5b3bde84f4b09d6eea",
        "appinfo\/app.php": "3dad69fab4e6b4e44ff49b9d20f06ec974e40cd1132b43817e62555737a972b5d95f29b7c59a07c202135da4e273a814f4b70eda4525a51f3609919a1b72711c",
        "appinfo\/application.php": "827097b1ad8f7075534333582d0c8696098a59c26f09219cf0d03194e1559376fa5e210588e80678a2bf9081b918763502ed36757309568abb198cee5a30c1e1",
        "appinfo\/info.xml": "95a3ad1796beb641a36525195cfa4b645bd64fbedc3d1fd20a72b26f3039e960a3bf303ef7dba4e7483bdf3722218a144646a32fdf2556e1f2faa807dcbffaad",
        "appinfo\/routes.php": "fd68b2f22cd76805e12502a36edcfd1532592df821ff0b582af9bb94d1974cacfe962226d34376285f5b9ad7c61ffaf283e02cdc8aa72b49845f61ecf7cd09fb",
        "build\/artifacts\/appstore\/qownnotesapi.tar.gz": "609e55b65b3f683ebe4f2cfc3b36daf61e65105a7f839f8d049c8a77399defbed1d08bc549e06cb3139428d36c9fd5d6367a616a37fed016f7d80fb3be25d1eb",
        "controller\/noteapicontroller.php": "44a2579a06eb78565321395b452f265c3fe227b45db7ac6dcd4fd03fa463e5c871d058dfc18ba6c2029ea4d0c7c7129d46674694447d4d43c4b6905373aeead6",
        "img\/app.svg": "3518a23d17ef9ff18ea73c96e0f382bb439436ca15383495926563d821e293eec44ce90d397a508b21fde12e40db72022081ffc954e5cd34ed992d3cbeb04171",
        "lib\/capabilities.php": "e1bf7d12d324f9378e317435da9fa646d7d565b84f4236491cb2cd5549abcc7e226f4f49bfdfb5ec7bf112a67a6adafae588c32692447fb9e9f837eae1b06b43",
        "phpunit.coverage.xml": "21686e83eada96dd35b0187b5f9e5f4df15e9ab0faf36c54c8cc1f0631f739f56bbccb1a0668002ebb13104d7e28ecfec9b277ca665641b3abab4330a12dddca",
        "phpunit.integration.xml": "d477d2d4e122ea372352b7e3c96e6973ad6c82b04c3adeb1edf02029f1cff62240ac188b99e063c7423e7603098dd7ab89c8f146c5382d8c8a9e0a9117f70da3",
        "phpunit.xml": "c4b7fe8203adf562ae2aa01090b46d0a1337df7766285b97d5fe27be19636f5385deb08f19101305536423006deed50eb22f3cc7f6ebf5c1d2fc4fe009c961bc",
        "tests\/integration\/AppTest.php": "6ab2b514e3abcdd947f10bdd53e548581bfdaf9cb13fc622860c23907cbeaa999ba472bb243c0812e98766ab8025c2447d5a2ddfaf4a7573483691b8a34ea478",
        "tests\/travis\/php.ini": "42ae4f728eb4e0cec696ae48c61d58e50e836b0f291cf74fdc0d7229c565c2bf3c076ac150ce7250dde2e4600804f17404a09555e1978d7e79bb84d39e2c78e1",
        "tests\/unit\/controller\/NoteApiControllerTest.php": "08fba9788ace46accf2fb8e1a422294551782b093c8d0d6a87300172cf1b983e859f6786a1891a2ad6d5dc17fd008a674f43357e16f5126812ce261243110a46"
    },
    "signature": "uaa97G0aiD9javpa3\/m\/NHAWz0+MWiD1Zj6gpTxiR3UcfZnb6DCKreQxu9XFtTHkLXSQnRKctWiHns2YP01k8g3Pf3qJwDljWwsKRheOd1UrhKvPMMzhWeqYuPSY2NdIhgP+cciBooKWHQgTVFEmOvylDqxgR+m3IUIGWRcVTPBIr30LvN+YV+IF\/n6xxx8MQOyC2WfyrJjFVmQ+\/yQ+5rzMXM\/JBS13j63L9RrGLrdO5QfMfXIODks3PaEIQjDHeIoyYsgFCh0G3y8gvTtGe1e49P2fHdQgolJyTgo2KNDL5ayGQ\/NuVl+YJvGru+AGYtv5boEyL\/CUIVFMKVIwuQ==",
    "certificate": "-----BEGIN CERTIFICATE-----\r\nMIID+TCCAeECAhAJMA0GCSqGSIb3DQEBCwUAMG0xCzAJBgNVBAYTAlVTMQ8wDQYD\r\nVQQIDAZCb3N0b24xFjAUBgNVBAoMDW93bkNsb3VkIEluYy4xNTAzBgNVBAMMLG93\r\nbkNsb3VkIENvZGUgU2lnbmluZyBJbnRlcm1lZGlhdGUgQXV0aG9yaXR5MB4XDTE2\r\nMDYwODE2MDgwM1oXDTI2MDYwNjE2MDgwM1owFzEVMBMGA1UEAwwMcW93bm5v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NBh3hHinNUx4apuSrX9pRB1knKW6Gok\r\nM\/+snzqZ5EpRD7VwFm5oxSV+Jw\/krjXZm06P13sUkCPcQIa\/aS1r3xwPNhK39iNV\r\nfBfTytCoI\/Dp7H7tPw==\r\n-----END CERTIFICATE-----"
}
@chriseqipe

This comment has been minimized.

chriseqipe commented Jul 5, 2016

I think .gitignore, build/artifacts/appstore/qownnotesapi.tar.gz and others should not be listeed inside signature.json.

@pbek

This comment has been minimized.

Owner

pbek commented Jul 5, 2016

the package on apps.owncloud.com was created with make appstore_package, it looks like that the command doesn't update the info.xml accordingly so it works right with signed packages...

will be the same problem as in #237
I will take care of that
thank you for reporting!

@chriseqipe

This comment has been minimized.

chriseqipe commented Jul 5, 2016

thx to to you!

@pbek

This comment has been minimized.

Owner

pbek commented Jul 6, 2016

@chriseqipe I now re-did the app signing, can you please test again

@chriseqipe

This comment has been minimized.

chriseqipe commented Jul 6, 2016

Fixed! Thank you

@chriseqipe chriseqipe closed this Jul 6, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Jul 6, 2016

Great! Thanks again for the report! I hope QOwnNotesAPI gets approved again by ownCloud... this usually takes weeks... :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment