Skip to content

Has anybody got it working in NextCloud 29? #356

Open

Description

@mnalis

On Nextcloud Hub 8 (29.0.4) trying to re-enable the app (it worked in 25.x at least, although it needed few manual changes described in other issues...), it now fails with:

Error: This app cannot be enabled because it makes the server unstable

Does anybody has procedure to make it work again?

ref:

Activity

  1. xlla commented on Jan 23, 2025

    @xlla

    I'v manage to get it running on NC 30.
    I am try to revive this wonderful project instead of submit some pending pull request here and it will never have been merged.

  2. mnalis commented on Jan 24, 2025

    @mnalis
    Author

    Thanks you @xlla, I'd love to see it working again with recent NextCloud!

  3. hockeymikey commented on Feb 3, 2025

    @hockeymikey

    @xlla What do you mean post some pending?

  4. alerque commented on Jun 26, 2025

    @alerque

    @xlla Any pointers for somebody else coming at this, now in NC 31?

  5. brandonk10 commented on Mar 29, 2026

    @brandonk10

    routes.php
    I just spent the last hour moving the application to the "new" NC app structure and re-pointing a bunch of APIs according to their newer bootstrap mechanism. It's working now in NC 32, but I have no idea if any of that was actually necessary. The immediate stability warning has to do with the routes.php file. the namespace and app class reference should be removed, and instead of calling registerRoutes on the (now removed) app object, that array should just be returned with a (global) return statement. It would be helpful if someone that understands this would just try this alone to see if that's sufficient. Everything else I did was complicated and, while fixing a number of deprecated references, may not be necessary just yet.

    (edited) - appinfo/routes.php file attached.

  6. andreasloeffl commented on Apr 21, 2026

    @andreasloeffl

    is there a way to install this on an actual NC version from the app store?

    what to do, if not?
    i am not a developer...

  7. brandonk10 commented on Apr 26, 2026

    @brandonk10

    Not really - bunch of updates needed to the app that are fairly technical. It keeps getting worse. I just got it working on NC33, and bunch of changes to db accees needed beause of querybuilder changes that were deprecated years ago, and there's also some changes needed to the JS because of deprecated use of md5. Anyone that knows what they are doing can replace the minified generatecolor section with this:

    var generateColor:function(t){if(t===undefined)return"";if(typeof t.toHsl==="function"){var e=t.toHsl();return "hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)";}let hash = 0;for(let i=0;i<t.length;i++){hash=t.charCodeAt(i)+((hash<<5)-hash);}var n=Math.abs(hash)%65536;var s=65535;return "hsl("+(n/s)*256+", 90%, 65%)";}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions