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

Incompatibility with ownCloud 10 #348

Open
BellHouse opened this issue Sep 20, 2017 · 11 comments
Open

Incompatibility with ownCloud 10 #348

BellHouse opened this issue Sep 20, 2017 · 11 comments

Comments

@BellHouse
Copy link

BellHouse commented Sep 20, 2017

ownCloud 10 requires signed addons. ownNote triggers a failure of the integrity check on this ownCloud release, and cannot be enabled.

`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

  • ownnote
    • EXCEPTION
      • OC\IntegrityCheck\Exceptions\InvalidSignatureException
      • Signature data not found.

Raw output

Array
(
[ownnote] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
[message] => Signature data not found.
)

    )

)`

@TobeStokes
Copy link

TobeStokes commented Apr 23, 2018

I was able to get OwnNote working with Owncloud 10 by changing the "max-version" setting to 10.0 in the file /var/www/html/owncloud/apps/ownnote/appinfo/info.xml

I'm using Owncloud v10.0.7.2 on CentOS 7.

This doesn't fix the signature being missing, so the Admin side of things still shows the integrity check error. But it allows me to use OwnNote just as before the update from 9.1

@hannesa2
Copy link

@TobeStokes Great !
Any idea how to get rid of the Signature data not found. ?

@hannesa2
Copy link

hannesa2 commented Nov 28, 2018

Or what's an alternative with more chance of support in the future ? Nextcloud ?

@Poikilos
Copy link

Even with max-version hack, the app doesn't work on ownCloud 10.0.10. Clicking on the notes app does nothing, and the Android ownNote app cannot connect to server, though worked fine before upgrade from ownCloud 9.

@Fmstrat
Copy link
Owner

Fmstrat commented Nov 28, 2018

I will take a look soon when I update for nextcloud 15.

@Input-BDF
Copy link

Input-BDF commented Dec 19, 2018

Hej there. Version "hack" is one way but let's say ... nothin ^^

Also get an WSOD and looked into my error logs.
PHP Fatal error: Call to undefined method OC\\Server::getContentSecurityPolicyNonceManager() in /home/user/0_public/2_cloud/apps2/ownnote/templates/main.php on line 21
Line 21:
<input type="hidden" name="nextNonce" id="nextNonce" value="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" />

Since I have no Idea yet what this input field is for and this server is my "Playground" i simply commented the php value part out. At least my notes show up again.

@TobeStokes
Copy link

Even with max-version hack, the app doesn't work on ownCloud 10.0.10. Clicking on the notes app does nothing, and the Android ownNote app cannot connect to server, though worked fine before upgrade from ownCloud 9.

Another user has posted a commit to this project saying that the max-version hack does work with v10.0.10 if you put in "10.0.10" where I just had "10.0" before. See the details here:

46e9245?_pjax=%23js-repo-pjax-container

I haven't tested yet but I might give it a whirl this weekend.

@Fmstrat
Copy link
Owner

Fmstrat commented Feb 12, 2019

@TobeStokes Let me know, if so I'll adjust the repo. Thanks!

@TobeStokes
Copy link

TobeStokes commented Feb 14, 2019

@Fmstrat Well I did an upgrade to 10.0.10 and it still works the same. I didn't even change my "10.0" entry in the xml file.

I did notice on another Owncloud-related GitHub project that there was a change to the "max-version" thing to just "10" so that may be the standard now. I'll try to find that for reference.

Edit: here it is, on the Brute-Force Protection project:
owncloud/brute_force_protection#50

Stated reason for their change is "Because core platform is switching to Semver"

@devplan44
Copy link

Ownnote returns with server error on hosted server:
Results

  • ownnote
    • EXCEPTION
      • OC\IntegrityCheck\Exceptions\MissingSignatureException
      • Signature data not found.

Raw output

Array
(
[ownnote] => Array
(
[EXCEPTION] => Array
(
[class] => OC\IntegrityCheck\Exceptions\MissingSignatureException
[message] => Signature data not found.
)

    )

)

How do I resolve this?

@cpunk
Copy link

cpunk commented Apr 8, 2019

How do I resolve this?

Install 'Notes' from the Owncloud marketplace on your server, it is signed and works: https://marketplace.owncloud.com/apps/notes

It works well with Nextcloud Notes on your Android device:
https://play.google.com/store/apps/details?id=it.niedermann.owncloud.notes
or
https://f-droid.org/en/packages/it.niedermann.owncloud.notes/

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

8 participants