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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Upgrade to Cloudron 7.6.1 ... services don't start?

Upgrade to Cloudron 7.6.1 ... services don't start?

Scheduled Pinned Locked Moved Solved Support
update
6 Posts 2 Posters 876 Views 3 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.
  • KubernetesK Offline
    KubernetesK Offline
    Kubernetes
    App Dev
    wrote on last edited by girish
    #1

    Hi there,

    I just updated to Cloudron 7.6.1 and get the blue box in my Dashboard:
    "Platform status
    Starting services, this can take a while"

    In the log I see something like this:

    root@cloudron-server:~# tail -f /home/yellowtent/platformdata/logs/box.log
    2023-11-13T20:31:33.608Z box:shell startGraphite (stderr): null
    2023-11-13T20:31:33.608Z box:sftp start: re-creating container
    2023-11-13T20:31:33.799Z box:platform startInfra: Failed to start services. retry=false (attempt 0): Cannot read properties of undefined (reading 'localstorage')
    2023-11-13T20:31:33.800Z box:platform TypeError: Cannot read properties of undefined (reading 'localstorage')
        at start (/home/yellowtent/box/src/sftp.js:70:33)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Object.startServices (/home/yellowtent/box/src/services.js:804:9)
        at async startInfra (/home/yellowtent/box/src/platform.js:165:13)
        at async onActivated (/home/yellowtent/box/src/platform.js:224:5)
    2023-11-13T20:32:33.611Z box:shell restartcollectd spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh collectd
    

    It seems e-mail is running and also all Apps that I had running before the upgrade, but I cannot start the Apps that have been stopped before the Upgrade.

    Any help please 🙂

    Best,
    Mike

    girishG 1 Reply Last reply
    1
    • KubernetesK Kubernetes

      Hi there,

      I just updated to Cloudron 7.6.1 and get the blue box in my Dashboard:
      "Platform status
      Starting services, this can take a while"

      In the log I see something like this:

      root@cloudron-server:~# tail -f /home/yellowtent/platformdata/logs/box.log
      2023-11-13T20:31:33.608Z box:shell startGraphite (stderr): null
      2023-11-13T20:31:33.608Z box:sftp start: re-creating container
      2023-11-13T20:31:33.799Z box:platform startInfra: Failed to start services. retry=false (attempt 0): Cannot read properties of undefined (reading 'localstorage')
      2023-11-13T20:31:33.800Z box:platform TypeError: Cannot read properties of undefined (reading 'localstorage')
          at start (/home/yellowtent/box/src/sftp.js:70:33)
          at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
          at async Object.startServices (/home/yellowtent/box/src/services.js:804:9)
          at async startInfra (/home/yellowtent/box/src/platform.js:165:13)
          at async onActivated (/home/yellowtent/box/src/platform.js:224:5)
      2023-11-13T20:32:33.611Z box:shell restartcollectd spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh collectd
      

      It seems e-mail is running and also all Apps that I had running before the upgrade, but I cannot start the Apps that have been stopped before the Upgrade.

      Any help please 🙂

      Best,
      Mike

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @Kubernetes do you happen to have a custom app installed which doesn't have addons in manifest ? Looks like that is the issue.

      KubernetesK 1 Reply Last reply
      0
      • girishG girish

        @Kubernetes do you happen to have a custom app installed which doesn't have addons in manifest ? Looks like that is the issue.

        KubernetesK Offline
        KubernetesK Offline
        Kubernetes
        App Dev
        wrote on last edited by
        #3

        @girish Yes, I do! How can I solve it? I already tried to remove the custom App, but it is stalling in starting state and I cannot stop the start with the red X beside the bar.

        girishG 1 Reply Last reply
        0
        • KubernetesK Kubernetes

          @girish Yes, I do! How can I solve it? I already tried to remove the custom App, but it is stalling in starting state and I cannot stop the start with the red X beside the bar.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @Kubernetes can you try this change https://git.cloudron.io/cloudron/box/-/commit/1a43c05d4819d5df918ea6378ad9c8e51ad9e782 ?

          You have to edit the file /home/yellowtent/box/src/sftp.js on the server . Then, after that changing that one line, save it and systemctl restart box.

          KubernetesK 1 Reply Last reply
          2
          • girishG girish

            @Kubernetes can you try this change https://git.cloudron.io/cloudron/box/-/commit/1a43c05d4819d5df918ea6378ad9c8e51ad9e782 ?

            You have to edit the file /home/yellowtent/box/src/sftp.js on the server . Then, after that changing that one line, save it and systemctl restart box.

            KubernetesK Offline
            KubernetesK Offline
            Kubernetes
            App Dev
            wrote on last edited by
            #5

            @girish you are my hero of the evening! Thanks a lot, that did work 🙂

            girishG 1 Reply Last reply
            1
            • KubernetesK Kubernetes

              @girish you are my hero of the evening! Thanks a lot, that did work 🙂

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @Kubernetes thanks for reporting!

              1 Reply Last reply
              0
              • girishG girish marked this topic as a question on
              • girishG girish has marked this topic as solved on
              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