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 - files missing #3

Closed
rudo54 opened this issue Jul 19, 2016 · 11 comments
Closed

integrity check - files missing #3

rudo54 opened this issue Jul 19, 2016 · 11 comments

Comments

@rudo54
Copy link

rudo54 commented Jul 19, 2016

with the owncloud integrity check I get the following list of invalid files:

Results

  • 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
(
[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] => 
                    )

            )

    )

)

@pbek
Copy link
Owner

pbek commented Jul 19, 2016

Thank you for reporting, where did you get the qownnotesapi package from?

@rudo54
Copy link
Author

rudo54 commented Jul 19, 2016

I installed it from owncloud - apps

@libgradev
Copy link

Same issue here, same installation method.

@pbek
Copy link
Owner

pbek commented Jul 19, 2016

To test this I just removed the folder apps/qownnotesapi on my server and installed the app from the tools section in ownCloud. I did not get the error. Neither did I get an error when I run php occ integrity:check-app qownnotesapi on my server.

Can you please remove the app from your server and install it again?
The guys from ownCloud seem to just (after several weeks) have approved the app again, maybe this made some troubles...

@libgradev
Copy link

That's fixed the integrity check - thanks :)

QOwnNotes is now reporting the version of QOwnNotesAPI as '0' though, hohum!

@pbek
Copy link
Owner

pbek commented Jul 19, 2016

I have that too, ownCloud set the version number of qownnotesapi in the oc_appconfig table to 0. :(

You can fix this by executing this SQL command in your owncloud database:
UPDATE oc_appconfig SET configvalue = "0.4.4" WHERE appid = "qownnotesapi" AND configkey = "installed_version";

@libgradev
Copy link

Interesting decision by OC!

Yep, that's sorted it thanks and many thanks for all your hard work :)

@pbek
Copy link
Owner

pbek commented Jul 19, 2016

This app signatures, integrity checks and app approval processes are a real pain in the bum...

@pbek pbek closed this as completed Jul 19, 2016
@rudo54
Copy link
Author

rudo54 commented Jul 19, 2016

Thanks a lot

@enoch85
Copy link

enoch85 commented Jul 21, 2016

Solved it by removing SQL enteries, and deleted the app totally, then made a new install. Error gone. Thanks.

@pbek
Copy link
Owner

pbek commented Dec 10, 2016

The "version 0 problem" is now fixed in Nexcloud 11, see nextcloud/server#2572.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants