Giter Site home page Giter Site logo

Comments (19)

gino0631 avatar gino0631 commented on August 25, 2024 23

Fixed version 0.11.1 is already uploaded. Sorry once again for the problems :(

from nextcloud-metadata.

fa-ribeiro avatar fa-ribeiro commented on August 25, 2024 12

same here
NC 17.0.2
error after update metadata from 0.10.0 to 0.11.0:
Exception: Call to a member function getContentSecurityPolicyManager() on null
and
Undefined variable: server at /var/www/nextcloud/apps/metadata/lib/AppInfo/Application.php#31

I believe lib/AppInfo/Application.php#31 must be:
\OC::$server->getContentSecurityPolicyManager()->addDefaultPolicy($policy);
instead of
$server->getContentSecurityPolicyManager()->addDefaultPolicy($policy);

from nextcloud-metadata.

tht avatar tht commented on August 25, 2024 7

Same issue here.
It is possible to remove it from the server using the web ui as the settings are still accessible. Jump directly to the URL: https://nextcloud-url/settings/apps/enabled and disable "Metadata" there.

from nextcloud-metadata.

Tie-fighter avatar Tie-fighter commented on August 25, 2024 6

Thank you for the quick fix!

from nextcloud-metadata.

nursoda avatar nursoda commented on August 25, 2024 3

Same in NC 18. I see an internal server error instead of the NC interface if insstalled, no NGINX err log.

from nextcloud-metadata.

mjanssens avatar mjanssens commented on August 25, 2024 2

Disabling via command line as mentioned by @CSchank fixes it.

from nextcloud-metadata.

Uninen avatar Uninen commented on August 25, 2024 1

I bumped into this same problem, also when upgrading to 0.11.0 from 0.10.0. I have a slightly different error message:

Error: Call to a member function getContentSecurityPolicyManager() on null

and

Undefined variable: server at /var/snap/nextcloud/18204/nextcloud/extra-apps/metadata/lib/AppInfo/Application.php#31

I'm running 16.0.7 (Snap)

from nextcloud-metadata.

xsus95 avatar xsus95 commented on August 25, 2024 1

How can i manually delete or deactivate it? Via occ? :(

from nextcloud-metadata.

gerroon avatar gerroon commented on August 25, 2024 1

@xsus95, I just opened the apps folder in the terminal and removed tte metadata folder literally.

from nextcloud-metadata.

jgerken avatar jgerken commented on August 25, 2024

Have the same version and error message as fa-ribeiro. Didn‘t try his fix.

from nextcloud-metadata.

gerroon avatar gerroon commented on August 25, 2024

Same problem,. crashes Nextcloud. I had to manually delete itm from the server.

from nextcloud-metadata.

CSchank avatar CSchank commented on August 25, 2024

I am also having issues, with Nextcloud 17.0.2 and metadata 0.11.0. Just like others above, turning on occ log:watch produces the following:

 Undefined variable: server at /usr/share/nginx/nextcloud/apps/metadata/lib/AppInfo/Application.php#31                                                                                      2020-01-21T04:48:16+00:00 

  Error    index              Exception: Call to a member function getContentSecurityPolicyManager() on null at lib/private/AppFramework/Http/Dispatcher.php line 109                                                    2020-01-21T04:48:16+00:00 
                                                                                                                                                                                                                                                   
                              0. lib/private/AppFramework/App.php line 126                                                                                                                                                                         
                                 OC\AppFramework\Http\Dispatcher->dispatch(OCA\Files\Controller\ViewController {}, "index")                                                                                                                        
                              1. lib/private/AppFramework/Routing/RouteActionHandler.php line 47                                                                                                                                                   
                                 OC\AppFramework\App::main("OCA\\Files\\Controller\\ViewController", "index", OC\AppFramework\DependencyInjection\DIContainer {}, {_route:"files.view.index"})                                                     
                              2. <<closure>>                                                                                                                                                                                                       
                                 OC\AppFramework\Routing\RouteActionHandler->__invoke({_route:"files.view.index"})                                                                                                                                 
                              3. lib/private/Route/Router.php line 297                                                                                                                                                                             
                                 call_user_func(OC\AppFramework\Routing\RouteActionHandler {}, {_route:"files.view.index"})                                                                                                                        
                              4. lib/base.php line 997                                                                                                                                                                                             
                                 OC\Route\Router->match("\/apps\/files\/")                                                                                                                                                                         
                              5. index.php line 42                                                                                                                                                                                                 
                                 OC::handleRequest(                                                                                                                                                                                                
                                                                                                                                                                                                                                                   
                                 )                                                 

Disabling the app via occ makes the server work again normally, re-enabling causes this every time.

from nextcloud-metadata.

kii-chan-reloaded avatar kii-chan-reloaded commented on August 25, 2024

@fa-ribeiro's fix worked for me.

from nextcloud-metadata.

pipuvic avatar pipuvic commented on August 25, 2024

@fa-ribeiro's fix worked for me.

for me too! Thanks!

from nextcloud-metadata.

probastaller avatar probastaller commented on August 25, 2024

Same here using nginx.
Had to remove the entire "metadata" folder from apps.

from nextcloud-metadata.

idef1x avatar idef1x commented on August 25, 2024

@fa-ribeiro's fix worked for me too :)

from nextcloud-metadata.

jacotec avatar jacotec commented on August 25, 2024

I confirm also @fa-ribeiro's fix! Thank you for sharing this! :-)

from nextcloud-metadata.

vanoc avatar vanoc commented on August 25, 2024

Same. Disabled Metadata.

from nextcloud-metadata.

gino0631 avatar gino0631 commented on August 25, 2024

Sorry for this :(

from nextcloud-metadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.