Can't upgrade past 7.7.2 (oops.. already on 24.04...)
-
My upgrade log:
Oct 20 23:39:16 box:taskworker Starting task 5817. Logs are at /home/yellowtent/platformdata/logs/tasks/5817.log Oct 20 23:39:16 box:tasks update 5817: {"percent":1,"message":"Checking disk space"} Oct 20 23:39:16 box:shell file execArgs: df ["-B1","--output=source,fstype,size,used,avail,pcent,target","/"] Oct 20 23:39:16 box:tasks update 5817: {"percent":5,"message":"Downloading and verifying release"} Oct 20 23:39:16 box:shell downloadUrl execArgs: curl ["-s","--fail","https://releases.cloudron.io/versions.json","-o","/home/yellowtent/platformdata/update/versions.json"] Oct 20 23:39:16 box:updater downloadUrl: downloading https://releases.cloudron.io/versions.json to /home/yellowtent/platformdata/update/versions.json Oct 20 23:39:16 box:updater downloadUrl: done Oct 20 23:39:16 box:shell downloadUrl execArgs: curl ["-s","--fail","https://releases.cloudron.io/versions.json.sig","-o","/home/yellowtent/platformdata/update/versions.json.sig"] Oct 20 23:39:16 box:updater downloadUrl: downloading https://releases.cloudron.io/versions.json.sig to /home/yellowtent/platformdata/update/versions.json.sig Oct 20 23:39:16 box:updater downloadUrl: done Oct 20 23:39:16 box:shell gpgVerify execArgs: /usr/bin/gpg ["--status-fd","1","--no-default-keyring","--keyring","/home/yellowtent/box/src/releases.gpg","--verify","/home/yellowtent/platformdata/update/versions.json.sig","/home/yellowtent/platformdata/update/versions.json"] Oct 20 23:39:16 box:updater gpgVerify: /usr/bin/gpg --status-fd 1 --no-default-keyring --keyring /home/yellowtent/box/src/releases.gpg --verify /home/yellowtent/platformdata/update/versions.json.sig /home/yellowtent/platformdata/update/versions.json Oct 20 23:39:16 box:shell downloadUrl execArgs: curl ["-s","--fail","https://releases.cloudron.io/box-06e46e0f1e-06e46e0f1e-8.0.3.tar.gz","-o","/home/yellowtent/platformdata/update/box.tar.gz"] Oct 20 23:39:16 box:updater downloadUrl: downloading https://releases.cloudron.io/box-06e46e0f1e-06e46e0f1e-8.0.3.tar.gz to /home/yellowtent/platformdata/update/box.tar.gz Oct 20 23:39:19 box:updater downloadUrl: done Oct 20 23:39:19 box:shell downloadUrl execArgs: curl ["-s","--fail","https://releases.cloudron.io/box-06e46e0f1e-06e46e0f1e-8.0.3.tar.gz.sig","-o","/home/yellowtent/platformdata/update/box.tar.gz.sig"] Oct 20 23:39:19 box:updater downloadUrl: downloading https://releases.cloudron.io/box-06e46e0f1e-06e46e0f1e-8.0.3.tar.gz.sig to /home/yellowtent/platformdata/update/box.tar.gz.sig Oct 20 23:39:19 box:updater downloadUrl: done Oct 20 23:39:19 box:shell gpgVerify execArgs: /usr/bin/gpg ["--status-fd","1","--no-default-keyring","--keyring","/home/yellowtent/box/src/releases.gpg","--verify","/home/yellowtent/platformdata/update/box.tar.gz.sig","/home/yellowtent/platformdata/update/box.tar.gz"] Oct 20 23:39:19 box:updater gpgVerify: /usr/bin/gpg --status-fd 1 --no-default-keyring --keyring /home/yellowtent/box/src/releases.gpg --verify /home/yellowtent/platformdata/update/box.tar.gz.sig /home/yellowtent/platformdata/update/box.tar.gz Oct 20 23:39:19 box:shell extractTarball execArgs: tar ["-zxf","/home/yellowtent/platformdata/update/box.tar.gz","-C","/tmp/box-450620418"] Oct 20 23:39:19 box:updater extractTarball: extracting /home/yellowtent/platformdata/update/box.tar.gz to /tmp/box-450620418 Oct 20 23:39:20 box:updater extractTarball: extracted Oct 20 23:39:20 box:updater Updating box with https://releases.cloudron.io/box-06e46e0f1e-06e46e0f1e-8.0.3.tar.gz Oct 20 23:39:20 box:tasks update 5817: {"percent":70,"message":"Installing update"} Oct 20 23:39:20 box:shell update /usr/bin/sudo -S /home/yellowtent/box/src/scripts/update.sh /tmp/box-450620418 /home/yellowtent/platformdata/logs/tasks/5817.log Oct 20 23:39:21 ==> installer: Updating from 7.7.2 to 8.0.3 Oct 20 23:39:21 ==> installer: Making sure apt is in a good state Oct 20 23:39:21 ==> installer: Waiting for all dpkg tasks to finish... [no timestamp] [no timestamp] apt does not have a stable CLI interface. Use with caution in scripts. [no timestamp] Jan 01 00:00:00 http://us.archive.ubuntu.com/ubuntu noble InRelease Feb 01 00:00:00 https://linux.teamviewer.com/deb stable InRelease Mar 01 00:00:00 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease Apr 01 00:00:00 http://security.ubuntu.com/ubuntu noble-security InRelease May 01 00:00:00 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease Jun 01 00:00:00 https://dl.cloudsmith.io/public/balena/etcher/deb/ubuntu jammy InRelease [2,957 B] [no timestamp] 2,957 B in 1s (4,211 B/s) [no timestamp] [no timestamp] [no timestamp] Jan 01 00:00:00 packages can be upgraded. Run 'apt list --upgradable' to see them. Oct 20 23:39:26 ==> installer: apt is ready Oct 20 23:39:26 ==> installer: disabling unbound [no timestamp] state of unbound.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. [no timestamp] /usr/lib/systemd/systemd-sysv-install disable unbound Oct 20 23:39:29 ==> installer: enabling systemd-resolved [no timestamp] to enable unit: Unit file systemd-resolved.service does not exist. Oct 20 23:39:31 box:shell update: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/update.sh /tmp/box-450620418 /home/yellowtent/platformdata/logs/tasks/5817.log errored BoxError: update exited with code 1 signal null [no timestamp] at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:110:19) [no timestamp] at ChildProcess.emit (node:events:513:28) [no timestamp] at ChildProcess._handle.onexit (node:internal/child_process:291:12) { [no timestamp] reason: 'Shell Error', [no timestamp] details: {}, [no timestamp] code: 1, [no timestamp] signal: null [no timestamp] } Oct 20 23:39:31 box:taskworker Task took 14.695 seconds Oct 20 23:39:31 box:tasks setCompleted - 5817: {"result":null,"error":{"stack":"BoxError: update exited with code 1 signal null\n at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:110:19)\n at ChildProcess.emit (node:events:513:28)\n at ChildProcess._handle.onexit (node:internal/child_process:291:12)","name":"BoxError","reason":"Shell Error","details":{},"message":"update exited with code 1 signal null","code":1,"signal":null}} Oct 20 23:39:31 box:tasks update 5817: {"percent":100,"result":null,"error":{"stack":"BoxError: update exited with code 1 signal null\n at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:110:19)\n at ChildProcess.emit (node:events:513:28)\n at ChildProcess._handle.onexit (node:internal/child_process:291:12)","name":"BoxError","reason":"Shell Error","details":{},"message":"update exited with code 1 signal null","code":1,"signal":null}} [no timestamp] update exited with code 1 signal null [no timestamp] at ChildProcess.<anonymous> (/home/yellowtent/box/src/shell.js:110:19) [no timestamp] at ChildProcess.emit (node:events:513:28) [no timestamp] at ChildProcess._handle.onexit (node:internal/child_process:291:12)I accidentally upgraded to 24.04 before properly upgrading to 8.+ hopefully this can be resolved without too much trouble?

-
it seems... (pending successful update) i've fixed this by manually installing systemd-resolved (indicated in error logs as missing) and then the update ran fine.
UPDATE: I haven't managed to get it working entirely yet - blank dashboard now... collectd issues...
Any indication it'd be important to keep/uninstall systemd-resolved after?
-
some stuff runs but the dashboard is broken and I can't for the life of met get Collectd to install properly...
troubleshooter starts cloudron and gets hung up on configuring collected:
2024-10-21T01:41:43 ==> start: Configuring collectd
A dependency job for collectd.service failed. See 'journalctl -xe' for details.when installing various ways:
sudo apt install --fix-broken Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up collectd (5.12.0-17.1build2) ... A dependency job for collectd.service failed. See 'journalctl -xe' for details. invoke-rc.d: initscript collectd, action "restart" failed. ā collectd.service - Statistics collection and monitoring daemon Loaded: loaded (/usr/lib/systemd/system/collectd.service; enabled; preset: enabled) Active: inactive (dead) Docs: man:collectd(1) man:collectd.conf(5) https://collectd.org Oct 21 01:34:38 r00buntu-server systemd[1]: Dependency failed for collectd.service - Statistics collection and monitoring daemon. Oct 21 01:34:38 r00buntu-server systemd[1]: collectd.service: Job collectd.service/start failed with result 'dependency'. Oct 21 01:36:15 r00buntu-server systemd[1]: Dependency failed for collectd.service - Statistics collection and monitoring daemon. Oct 21 01:36:15 r00buntu-server systemd[1]: collectd.service: Job collectd.service/start failed with result 'dependency'. Oct 21 01:38:22 r00buntu-server systemd[1]: Dependency failed for collectd.service - Statistics collection and monitoring daemon. Oct 21 01:38:22 r00buntu-server systemd[1]: collectd.service: Job collectd.service/start failed with result 'dependency'. Oct 21 01:40:26 r00buntu-server systemd[1]: Dependency failed for collectd.service - Statistics collection and monitoring daemon. Oct 21 01:40:26 r00buntu-server systemd[1]: collectd.service: Job collectd.service/start failed with result 'dependency'. Oct 21 01:43:07 r00buntu-server systemd[1]: Dependency failed for collectd.service - Statistics collection and monitoring daemon. Oct 21 01:43:07 r00buntu-server systemd[1]: collectd.service: Job collectd.service/start failed with result 'dependency'. dpkg: error processing package collectd (--configure): installed collectd package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: collectd E: Sub-process /usr/bin/dpkg returned an error code (1)I've tried so many ways fo getting the package working including re-install all the dependencies:
https://askubuntu.com/questions/275719/reinstall-package-and-its-installed-dependencies -
this one (which I should have figured out earlier I think!) fixed collectd:
apt-get remove --auto-remove collectd-core
apt-get purge --auto-remove collectd-core
apt-get update
apt-get --yes install collectdThen I also I had to run sudo /home/yellowtent/box/setup/start.sh
and we're up!
-
N nebulon marked this topic as a question on
-
N nebulon 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