Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. App list doesn't work, but app grid does (v9.2.0)

App list doesn't work, but app grid does (v9.2.0)

Scheduled Pinned Locked Moved Unsolved Support
5 Posts 2 Posters 19 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ekevu123
    wrote last edited by
    #1

    I am having an issue with Cloudron version 9.2.0. In the app overview, the app list appears empty, but the app grid works.
    Can this browser console error be related?

    TypeError: can't access property "email", app.manifest.addons is undefined
    

    It would be odd, though, that this crashes only the app list, but not the grid.

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @ekevu123
      Do you have some custom app installed?
      This hints towards some app with a strange or bad manifest.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ekevu123
        wrote last edited by
        #3

        Yes, I have a few of them. But I think the right behaviour should be that Cloudron flags that in the UI, perhaps even with an icon, so I'll know which app that concerns. And I still find it odd that the grid works, but the list doesn't.

        1 Reply Last reply
        0
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @ekevu123
          That is indeed interesting.
          Can you give us the manifest of the app in question so we might reproduce this issue?

          1 Reply Last reply
          0
          • E Offline
            E Offline
            ekevu123
            wrote last edited by ekevu123
            #5

            I figured it out now, see below.

            At apptask.js:693, updateCommand calls omit() on the old manifest's addons field without guarding against it being absent. When the installed manifest has no addons
            key, addons is undefined, causing Object.entries(undefined) to throw:

            TypeError: Cannot convert undefined or null to object
            at Object.entries (<anonymous>)
            at Object.omit (file:///home/yellowtent/box/src/underscore.js:17:38)
            at updateCommand (file:///home/yellowtent/box/src/apptask.js:693:28)

            Because this is a plain TypeError rather than a BoxError, the catch block in run passes it to makeTaskError, which asserts error instanceof BoxError and crashes —
            surfacing a secondary assertion error to the user instead of the real one.

            To reproduce:

            1. Install an app whose CloudronManifest.json has no addons field
            2. Add "addons": {} to the manifest and push a new image
            3. Trigger an update from the dashboard

            Expected: Update succeeds, or fails with a descriptive error about the manifest change.
            Actual: Task crashes immediately with AssertionError: assert(error instanceof BoxError), hiding the real cause.

            I re-installed the app, which solved the issue. I still believe the views should be consistent in error handling though.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search