Upgrade to Cloudron 7.6.1 ... services don't start?
-
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 collectdIt 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 -
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 collectdIt 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 -
@Kubernetes do you happen to have a custom app installed which doesn't have
addonsin manifest ? Looks like that is the issue. -
@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.
@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.json the server . Then, after that changing that one line, save it andsystemctl restart box. -
@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.json the server . Then, after that changing that one line, save it andsystemctl restart box. -
@girish you are my hero of the evening! Thanks a lot, that did work

-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
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