-
Notifications
You must be signed in to change notification settings - Fork 65
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 10.0.1 - unable to install Gallery app because it contains unallowed code #724
Comments
Hmm strange, I just managed to upgrade gallery on my own server today. |
WFM too |
I just want to add that at the same time I had no problems to install/update e.g. the contacts and calendar apps. So it wouldn't expect a general problem. |
I've downloaded the Gallery app tar.gz file, extracted its content to the |
Still persistent with OC 10.0.10 and gallery 16.1.0 from market. Can't install because app "contains unallowed code". |
Any debugging help before I try the mentioned workaround by @j-ed ? |
@davitol mind reverifying ? last I checked the gallery app could be installed without issues. |
@PVince81 Worked for me in past. Tested with oC 10.0.7 and WFM. Tested with 10.0.10 and Gallery 16.1.0 and works for me too Sentry exception but the gallery app was enabled fine and works
|
How to debug?
|
I unpacked the gallery app into ../apps manually and used the check-code to get more precise output:
Is this the source of the problem?
But why does it trigger an error in my owncloud installation and not in others? |
see https://raw.githubusercontent.com/owncloud/core/master/.github/issue_template.md to provide more info about your setup. could be some config.php switch about code checking ? |
I will check with the next minor OC update because with the workaround mentioned above all is up & running for the moment :) |
https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/occ_command.html says: So the gallery app seems to use a "private" method (OC_User) which is not allowed? |
Yes. Sometimes app developers absolutely need some information and resort to using private APIs to access it. The right approach is to submit a pull request to core to extend the public API with the required method. |
Expected behavior
It should be possible to install/update the Gallery app from the new Marketplace.
Current behavior
It isn't possible to install/update the Gallery app from the new Marketplace
because the installer identifies unallowed code.
Steps to reproduce
The following lines were written to the log right after I've pressed the Install button:
Environment
Server Configuration
OS: Linux 3.16.42
Web server: Apache2 2.4.25
Database: MariaDB 5.5.54
PHP version: 5.6.29
ownCloud version: 10.0.1
Client Configuration
Browser: Mozilla Firefox 53.0.3
Operating system: Windows 7
The text was updated successfully, but these errors were encountered: