Coder Social home page Coder Social logo

Comments (6)

quenenni avatar quenenni commented on May 23, 2024 1

I forgot to mention that I can enable / disabel apps with the occ command and the cloud and apps are working good (as mush as I can tell).

The problem is only from the web interface.

from server.

joshtrichards avatar joshtrichards commented on May 23, 2024

Content-Security-Policy : Les paramètres de la page ont empêché le chargement d’une ressource à https://cloud.yyyyy.be:4431/apps/files/ (« connect-src »).

This is the source of your seeing the unstable error message. The app stability check runs from your browser and CSP is blocking this check so it by definition fails. I suspect you don't wish the :4431 to be in your URL.

Set the appropriate overwrite*
parameters in your config (i.e. without the port) and see if the problem goes away.

I suspect it will, but let us know if not.

from server.

quenenni avatar quenenni commented on May 23, 2024

Very good catch. I completely missed that wrong port number there. Thank you.
Indeed, it should be 443 or no port.

I set all the overwrite* params, but no luck, the errors are still the same.

  'overwrite.cli.url' => 'https://cloud.yyyyy.be/',   <- already present
  'overwriteprotocol' => 'https',
  'overwritehost' => 'cloud.yyyyy.be:443',
  'overwritewebroot'  => '/',

I tried to play with the option fastcgi_param SERVER_PORT 443; in my Nginx vhost, but also no luck (I remebered having a similar issue couple years ago and that param fixed it at the time).

from server.

joshtrichards avatar joshtrichards commented on May 23, 2024

More possibly related reports on the forum: https://help.nextcloud.com/t/this-app-cannot-be-enabled-because-it-makes-the-server-unstable-error/187233/5

from server.

brunoscota avatar brunoscota commented on May 23, 2024

same to me and I already did what @quenenni also did with no luck

from server.

Masgalor avatar Masgalor commented on May 23, 2024

I have the same problem since v28.0.4 and I can confirm this is because of a CSP error.

In my case overwriteprotocol => https seems to be ignored.
The app-install-page queries http://<domain>/apps/files/ that fails because of the policy connect-src self, that would require https://<domain>/apps/files/.

from server.

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.