Comments (19)
Fixed version 0.11.1 is already uploaded. Sorry once again for the problems :(
from nextcloud-metadata.
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.
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.
Thank you for the quick fix!
from nextcloud-metadata.
Same in NC 18. I see an internal server error instead of the NC interface if insstalled, no NGINX err log.
from nextcloud-metadata.
Disabling via command line as mentioned by @CSchank fixes it.
from nextcloud-metadata.
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.
How can i manually delete or deactivate it? Via occ? :(
from nextcloud-metadata.
@xsus95, I just opened the apps folder in the terminal and removed tte metadata folder literally.
from nextcloud-metadata.
Have the same version and error message as fa-ribeiro. Didn‘t try his fix.
from nextcloud-metadata.
Same problem,. crashes Nextcloud. I had to manually delete itm from the server.
from nextcloud-metadata.
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.
@fa-ribeiro's fix worked for me.
from nextcloud-metadata.
@fa-ribeiro's fix worked for me.
for me too! Thanks!
from nextcloud-metadata.
Same here using nginx.
Had to remove the entire "metadata" folder from apps.
from nextcloud-metadata.
@fa-ribeiro's fix worked for me too :)
from nextcloud-metadata.
I confirm also @fa-ribeiro's fix! Thank you for sharing this! :-)
from nextcloud-metadata.
Same. Disabled Metadata.
from nextcloud-metadata.
Sorry for this :(
from nextcloud-metadata.
Related Issues (20)
- Make app compatible with NC26 HOT 1
- Metadata for MTS / M2TS files HOT 4
- Release Nextcloud 27 compatible version HOT 4
- Access metadata vales (of photos) via propfind? HOT 1
- Update to NextCloud 23.xx HOT 3
- Option to disable reverse geocoding using Nominatim HOT 6
- option to disable traffic to third-party servers HOT 1
- xmp Sidecar files HOT 2
- Compatibilty to Nextcloud 24 HOT 2
- Trying to install, but gets an error message. HOT 2
- Small Bug app.php deprecated error message HOT 12
- Format MXF HOT 3
- Compatibility with Photo 2.0 from Nextcloud 25.x HOT 3
- Metadata tab on photo sidebar HOT 1
- Fails to read Jamendo-encoded MP3 files HOT 6
- every time i try to upload large files i get this error? HOT 1
- audio sampe rate and size not correct HOT 5
- Division by zero for some pictures when reading metadata HOT 4
- Enable PHP8.2
- Protokoll Log Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-metadata.