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 unable to run on ubuntu 20.04

    Support
    install
    4
    8
    402
    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.
    • moussan
      moussan last edited by girish

      i cant seem to get cloudron to function correctly.
      i go through the installation process but get a notice to check the installation log.

      see below, where is the issue.
      when i go to the installation ip, i see an nginx page stating it is installed but probably not configured correctly.

      can anyone help please.

      root@server:~# nano /var/log/cloudron-setup.log


      link text


      did the installation process not finish?

      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @moussan last edited by

        @moussan indeed it looks like the journald config step is failing with:

        2021-10-12T14:25:53 ==> start: Configuring journald
        setfacl: /var/log/journal/*/system.journal: No such file or directory
        

        Which VPS provider is this?

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

          I fixed this exact issue in https://git.cloudron.io/cloudron/box/-/commit/73315a42fef03bc144fdfd707b8a6d5905733109 since it was failing in time4vps servers.

          Workaround: mkdir -p /var/log/journal/foo && touch /var/log/journal/*/system.journal . Then run the setup script again.

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

            @girish isn't that bit supposed to be outside of the if?

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

              @msbt i removed the setfacl entirely. is that what you are asking?

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

                @girish no, the line with chown root:systemd-journal /var/log/journal, that was always running before, now only in the if condition, not sure if it's required though 😉

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

                  @msbt ah, got it. The if block should ideally never run. It should only run on distros which do not have /var/log/journal (I don't understand why it's not there on some specific VPS, some ubuntu or provider flakiness).

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

                    @girish that's what I meant, the cmd ran always before, but now only in the rare case the directory isn't there

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