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

Files-external - check-code not compliant #12680

Closed
nscheuner opened this issue Nov 27, 2018 · 4 comments
Closed

Files-external - check-code not compliant #12680

nscheuner opened this issue Nov 27, 2018 · 4 comments

Comments

@nscheuner
Copy link

Hello,
I'm running nextcloud on a CentOS 7 server, having the issue with latest v.13 , v. 14.0.3 and 14.04, PHP 7.0.32 and now PHP 7.2.12
Files_external gives --> Exception: HMAC does not match.
Topic is also open on NC community:

OCC check-code shouts also error for the app, it's fresh files_external got from 14.04 update

Analysing /var/www/cissync/apps/files_external/list.php
 2 errors
    line   24: OCP\User - Static method of deprecated class must not be called
    line   24: OCP\User::checkLoggedIn - Method of deprecated class must not be called
Analysing /var/www/cissync/apps/files_external/ajax/applicable.php
 4 errors
    line   24: OC_JSON - Static method of deprecated class must not be called
    line   25: OC_JSON - Static method of deprecated class must not be called
    line   27: OC_JSON - Static method of deprecated class must not be called
    line   54: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/cissync/apps/files_external/ajax/oauth2.php
 3 errors
    line   25: OC_JSON - Static method of deprecated class must not be called
    line   26: OC_JSON - Static method of deprecated class must not be called
    line   27: OC_JSON - Static method of deprecated class must not be called
Analysing /var/www/cissync/apps/files_external/lib/config.php
 2 errors
    line  232: OCP\User - Static method of deprecated class must not be called
    line  232: OCP\User::getUser - Method of deprecated class must not be called
Analysing /var/www/cissync/apps/files_external/lib/Lib/Storage/SMB.php
 1 errors
    line  566: OC_Helper - Static method of private class must not be called
Analysing /var/www/cissync/apps/files_external/lib/Lib/Storage/SFTP.php
 2 errors
    line  214: OCP\Files - Static method of deprecated class must not be called
    line  214: OCP\Files::getStorage - Method of deprecated class must not be called
App is not compliant

Don't know where to search, if it's a datable issues?

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #2770 (Files External tests failing), #10413 (S3 external storage does not check for changes), #9375 (Code integrity check), #11564 (NC14.0.1 & files_external 1.5.0: "App is not compliant"), and #11563 (NC14.0.1 & files 1.9.0: "App is not compliant").

@ChristophWurst
Copy link
Member

Files_external gives --> Exception: HMAC does not match.

Did you restore a backup or old instance?

Anyway, please fill out the full issue template. Thanks!

@MorrisJobke
Copy link
Member

As there is no report since a while and we can't reproduce the issue I will close this ticket. If this is still happening please feel free to reopen.

@WaaromZoMoeilijk
Copy link
Member

Files_external gives --> Exception: HMAC does not match.

Did you restore a backup or old instance?

Anyway, please fill out the full issue template. Thanks!

I have this on a restored backup on a new server, your specific question makes me believe you know more about this? :P
I will open a current issue but it would be nice if you have a possible fix for a restore.

Thanks

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

No branches or pull requests

6 participants