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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Install Cloudron, it failed due Collectd not in repo....

    Support
    install
    4
    12
    700
    Loading More Posts
    • 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.
    • A
      ApplegateR last edited by girish

      569ebdc3-6879-47e6-b3fc-33d39d4f5777-image.png

      šŸ˜ž and librrd4 is also not in repo...

      Richard Applegate
      Anthem Coffee and Tea
      The Joint Chiropractic
      IT/Administrator Server/Network

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @ApplegateR last edited by

        @ApplegateR I guess you are on trying on Ubuntu 22.04 ? Please install on Ubuntu 20.04.

        The upstream issue is https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1971093 . In fact, I just left a comment there 30 mins ago šŸ™‚

        A 1 Reply Last reply Reply Quote 1
        • girish
          girish Staff @ApplegateR last edited by

          @ApplegateR I guess you are on trying on Ubuntu 22.04 ? Please install on Ubuntu 20.04.

          The upstream issue is https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1971093 . In fact, I just left a comment there 30 mins ago šŸ™‚

          A 1 Reply Last reply Reply Quote 1
          • A
            ApplegateR @girish last edited by ApplegateR

            @girish oh my goodness..... I am so embarrssed! lol... can you put this comment
            in solved for me please thank you... I so dumb...

            Richard Applegate
            Anthem Coffee and Tea
            The Joint Chiropractic
            IT/Administrator Server/Network

            A 1 Reply Last reply Reply Quote 0
            • A
              ApplegateR @ApplegateR last edited by ApplegateR

              @ApplegateR Would be nice warning pop up in final say "oops sorry this Operation system not supported." something like that

              Richard Applegate
              Anthem Coffee and Tea
              The Joint Chiropractic
              IT/Administrator Server/Network

              girish 1 Reply Last reply Reply Quote 1
              • Topic has been marked as a question  girish girish 
              • Topic has been marked as solved  girish girish 
              • girish
                girish Staff @ApplegateR last edited by

                @ApplegateR good idea, I will disable Ubuntu 22 in the install script.

                timconsidine 1 Reply Last reply Reply Quote 2
                • timconsidine
                  timconsidine App Dev @girish last edited by

                  @girish FYI I'm still getting the same error on a pure fresh install of Ubuntu - definitely 20.04
                  Script says installing 7.2.1
                  Tried 3 times

                  Setting up collectd (5.9.2.g-1ubuntu5) ...
                  Job for collectd.service failed because the control process exited with error code.
                  See "systemctl status collectd.service" and "journalctl -xe" for details.
                  invoke-rc.d: initscript collectd, action "restart" failed.
                  ā— collectd.service - Statistics collection and monitoring daemon
                       Loaded: loaded (/lib/systemd/system/collectd.service; enabled; vendor preset: enabled)
                       Active: activating (auto-restart) (Result: exit-code) since Wed 2022-05-25 20:31:09 UTC; 11ms ago
                         Docs: man:collectd(1)
                               man:collectd.conf(5)
                               https://collectd.org
                      Process: 86007 ExecStartPre=/usr/sbin/collectd -t (code=exited, status=0/SUCCESS)
                      Process: 86008 ExecStart=/usr/sbin/collectd (code=exited, status=1/FAILURE)
                     Main PID: 86008 (code=exited, status=1/FAILURE)
                  dpkg: error processing package collectd (--configure):
                   installed collectd package post-installation script subprocess returned error exit status 1
                  Processing triggers for systemd (245.4-4ubuntu3.17) ...
                  Processing triggers for man-db (2.9.1-1) ...
                  Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
                  Errors were encountered while processing:
                   collectd
                  E: Sub-process /usr/bin/dpkg returned an error code (1)
                  
                  
                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @timconsidine last edited by

                    @timconsidine yes, I was just trying to reproduce this since it was also reported in https://forum.cloudron.io/topic/7091/aws-ubuntu-20-04-installation-issue. Where is your VM located?

                    timconsidine 1 Reply Last reply Reply Quote 0
                    • timconsidine
                      timconsidine App Dev @girish last edited by

                      @girish sorry to say it's SSDNODES : it's a scratch VPS for testing.

                      1 Reply Last reply Reply Quote 1
                      • B
                        bernd last edited by

                        I just found this forum post after happily following the documentation: https://docs.cloudron.io/guides/upgrade-ubuntu-22/ and ran into the problems afterwards.

                        There is no hint in the documentation about the collectd-missing problem or any suggestion to wait with upgrades to 22.04.

                        For the moment being I installed collectd and collectd-core manually as was suggested in the referenced launchpad forum. Fingers crossed that this is a stable solution, because
                        a) after rebooting the machine collectd initially failed collectd.service: Failed with result 'start-limit-hit'., manually restarting it with systemctl worked
                        b) installing the collectd packages with apt said N: Download is performed unsandboxed as root as file '/root/collectd-core_5.12.0-9_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied).

                        We'll see.

                        girish 1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @bernd last edited by

                          @bernd I had put some notes here - https://docs.cloudron.io/guides/upgrade-ubuntu-22/#post-upgrade but some people had reported that it is still a problem. So, we are looking into it.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bernd @girish last edited by

                            @girish I followed the notes exactly (on this day I updated from Ubuntu 18 to 20 to 22) and I'm impressed how well and smooth everything worked out in general (thanks for the documentation work).

                            It's just the collectd thing that should be updated at the moment up until there is some feedback from the maintainers.

                            1 Reply Last reply Reply Quote 1
                            • girish
                              girish Staff last edited by

                              I have edited https://docs.cloudron.io/guides/upgrade-ubuntu-22/#post-upgrade further that should fix the collectd issue. If you run /home/yellowtent/box/scripts/init-ubuntu.sh, I think collectd should get installed properly.

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post
                              Powered by NodeBB