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. cloudron 6.0.1 fail to install on a new fresh ubuntu 20.04 server

cloudron 6.0.1 fail to install on a new fresh ubuntu 20.04 server

Scheduled Pinned Locked Moved Solved Support
installationscaleway
18 Posts 5 Posters 3.2k Views 5 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.
  • girishG girish

    It worked on a STARDUST1-S instance as well. Mmm, let's see if we have others reporting similar issue before making a fix.

    robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #9

    @girish may be easier to make a check for it or just add to list of apt-get install prerequisites

    Conscious tech

    1 Reply Last reply
    1
    • girishG girish

      It worked on a STARDUST1-S instance as well. Mmm, let's see if we have others reporting similar issue before making a fix.

      T Offline
      T Offline
      TheNils
      App Dev
      wrote on last edited by
      #10

      @girish it may only be my server... the scalway support is working on my server since my last message because the server is randomly going offline for no apparent reason after(?) installing cloudron. they even tryed to change the server because the ubuntu reinstalaltion process got broken at some point.

      on their ubuntu image openntpd is installed in place of systemd-timesyncd.

      have you ever encountered this kind of probleme (server randomly going offline ) ?

      girishG 1 Reply Last reply
      0
      • T TheNils

        @girish it may only be my server... the scalway support is working on my server since my last message because the server is randomly going offline for no apparent reason after(?) installing cloudron. they even tryed to change the server because the ubuntu reinstalaltion process got broken at some point.

        on their ubuntu image openntpd is installed in place of systemd-timesyncd.

        have you ever encountered this kind of probleme (server randomly going offline ) ?

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

        @thenils haven't encountered such problems, no. Looks like some scaleway issue. Maybe just create a new server install?

        1 Reply Last reply
        1
        • T Offline
          T Offline
          TheNils
          App Dev
          wrote on last edited by
          #12

          i have watched journalctl until it crash and ...
          Apparently it was systemd-sleep kicking in and suspending the server ...
          i previsously missed it from logs because i was searching for errors.
          ( also i was assuming that it came from scalway because the first server was completly broken and they had to replace it)

          i have disabled power management with :
          $: systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

          it should go fine now.

          Thanks for your time

          robiR 1 Reply Last reply
          0
          • T TheNils

            i have watched journalctl until it crash and ...
            Apparently it was systemd-sleep kicking in and suspending the server ...
            i previsously missed it from logs because i was searching for errors.
            ( also i was assuming that it came from scalway because the first server was completly broken and they had to replace it)

            i have disabled power management with :
            $: systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

            it should go fine now.

            Thanks for your time

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #13

            @thenils wow that's quite the oversight from Scaleway.

            A server OS doesn't normally come with power management by default.

            There may be other things hidden there, so check if you can install your own clean OS with less surprises. 😉

            Conscious tech

            T 1 Reply Last reply
            0
            • robiR robi

              @thenils wow that's quite the oversight from Scaleway.

              A server OS doesn't normally come with power management by default.

              There may be other things hidden there, so check if you can install your own clean OS with less surprises. 😉

              T Offline
              T Offline
              TheNils
              App Dev
              wrote on last edited by
              #14

              @robi yes i'll might do it soon. i've seen in the logs xorg complaining about not finding any cursor. there's definitelly some funny stuff going on with this ubuntu image...

              1 Reply Last reply
              0
              • T Offline
                T Offline
                TX-Hermit
                wrote on last edited by
                #15

                The exact same ntp issue also happens with the Ubuntu 20.04 image being used by Atlantic.net.

                After initial VM spin-up, the output of timedatectl was showing as:

                Local time: Tue 2021-01-05 00:04:37 UTC
                Universal time: Tue 2021-01-05 00:04:37 UTC
                RTC time: Tue 2021-01-05 00:04:37    
                Time zone: Etc/UTC (UTC, +0000)       
                System clock synchronized: yes                        
                NTP service: n/a                        
                RTC in local TZ: no
                

                Due to the NTP service showing as n/a, even though it is verified as running and enabled, your setup script passing the timedatectl set-ntp 1 would fail with:

                Failed to set ntp: NTP not supported
                

                After wasting too much time on NTP issues by verifying configs and the working of the NTP daemon, I pulled the default NTP package and installed Chrony. Problems vanished.

                For whatever reason, the default ntp package used in the image:

                Package: ntp
                Version: 1:4.2.8p12+dfsg-3ubuntu4
                

                is not being recognized by timedatectl. I'm sure it is a simple fix, but it is just so much faster to replace ntp.

                Hope this helps someone.

                girishG 3 Replies Last reply
                1
                • T TX-Hermit

                  The exact same ntp issue also happens with the Ubuntu 20.04 image being used by Atlantic.net.

                  After initial VM spin-up, the output of timedatectl was showing as:

                  Local time: Tue 2021-01-05 00:04:37 UTC
                  Universal time: Tue 2021-01-05 00:04:37 UTC
                  RTC time: Tue 2021-01-05 00:04:37    
                  Time zone: Etc/UTC (UTC, +0000)       
                  System clock synchronized: yes                        
                  NTP service: n/a                        
                  RTC in local TZ: no
                  

                  Due to the NTP service showing as n/a, even though it is verified as running and enabled, your setup script passing the timedatectl set-ntp 1 would fail with:

                  Failed to set ntp: NTP not supported
                  

                  After wasting too much time on NTP issues by verifying configs and the working of the NTP daemon, I pulled the default NTP package and installed Chrony. Problems vanished.

                  For whatever reason, the default ntp package used in the image:

                  Package: ntp
                  Version: 1:4.2.8p12+dfsg-3ubuntu4
                  

                  is not being recognized by timedatectl. I'm sure it is a simple fix, but it is just so much faster to replace ntp.

                  Hope this helps someone.

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

                  @tx-hermit thanks for reporting, let me test out atlantic.net to see if we can fix this to make it work out of the box.

                  1 Reply Last reply
                  0
                  • T TX-Hermit

                    The exact same ntp issue also happens with the Ubuntu 20.04 image being used by Atlantic.net.

                    After initial VM spin-up, the output of timedatectl was showing as:

                    Local time: Tue 2021-01-05 00:04:37 UTC
                    Universal time: Tue 2021-01-05 00:04:37 UTC
                    RTC time: Tue 2021-01-05 00:04:37    
                    Time zone: Etc/UTC (UTC, +0000)       
                    System clock synchronized: yes                        
                    NTP service: n/a                        
                    RTC in local TZ: no
                    

                    Due to the NTP service showing as n/a, even though it is verified as running and enabled, your setup script passing the timedatectl set-ntp 1 would fail with:

                    Failed to set ntp: NTP not supported
                    

                    After wasting too much time on NTP issues by verifying configs and the working of the NTP daemon, I pulled the default NTP package and installed Chrony. Problems vanished.

                    For whatever reason, the default ntp package used in the image:

                    Package: ntp
                    Version: 1:4.2.8p12+dfsg-3ubuntu4
                    

                    is not being recognized by timedatectl. I'm sure it is a simple fix, but it is just so much faster to replace ntp.

                    Hope this helps someone.

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

                    I could reproduce the issue on atlantic.

                    root@cloudron:~# systemctl is-active ntp
                    active
                    root@cloudron:~# timedatectl set-ntp 1
                    Failed to set ntp: NTP not supported
                    

                    Then, I saw this error in ntp service logs:

                    ● ntp.service - Network Time Service
                         Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor preset: enabled)
                         Active: active (running) since Tue 2021-01-05 01:28:44 UTC; 9min ago
                           Docs: man:ntpd(8)
                       Main PID: 23144 (ntpd)
                          Tasks: 2 (limit: 2353)
                         Memory: 1.5M
                         CGroup: /system.slice/ntp.service
                                 └─23144 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 107:115
                    
                    Jan 05 01:28:49 cloudron ntpd[23144]: Soliciting pool server 69.164.213.136
                    Jan 05 01:28:49 cloudron ntpd[23144]: Soliciting pool server 91.189.89.199
                    Jan 05 01:28:49 cloudron ntpd[23144]: Soliciting pool server 104.194.8.227
                    Jan 05 01:28:49 cloudron ntpd[23144]: Soliciting pool server 50.205.244.39
                    Jan 05 01:28:50 cloudron ntpd[23144]: Soliciting pool server 91.189.89.198
                    Jan 05 01:28:50 cloudron ntpd[23144]: Soliciting pool server 173.255.215.209
                    Jan 05 01:28:50 cloudron ntpd[23144]: Soliciting pool server 68.54.100.49
                    Jan 05 01:28:50 cloudron ntpd[23144]: Soliciting pool server 66.79.136.235
                    Jan 05 01:28:50 cloudron ntpd[23144]: Soliciting pool server 4.53.160.75
                    Jan 05 01:34:27 cloudron ntpd[23144]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
                    
                    

                    ntptime also returns some strange errors:

                    root@cloudron:~# ntptime
                    ntp_gettime() returns code 5 (ERROR)
                      time e39e4293.b8e9e5e4  Tue, Jan  5 2021  1:42:43.722, (.722319846),
                      maximum error 16000000 us, estimated error 16000000 us, TAI offset 37
                    ntp_adjtime() returns code 5 (ERROR)
                      modes 0x0 (),
                      offset 0.000 us, frequency 0.000 ppm, interval 1 s,
                      maximum error 16000000 us, estimated error 16000000 us,
                      status 0x2041 (PLL,UNSYNC,NANO),
                      time constant 3, precision 0.001 us, tolerance 500 ppm,
                    
                    1 Reply Last reply
                    0
                    • T TX-Hermit

                      The exact same ntp issue also happens with the Ubuntu 20.04 image being used by Atlantic.net.

                      After initial VM spin-up, the output of timedatectl was showing as:

                      Local time: Tue 2021-01-05 00:04:37 UTC
                      Universal time: Tue 2021-01-05 00:04:37 UTC
                      RTC time: Tue 2021-01-05 00:04:37    
                      Time zone: Etc/UTC (UTC, +0000)       
                      System clock synchronized: yes                        
                      NTP service: n/a                        
                      RTC in local TZ: no
                      

                      Due to the NTP service showing as n/a, even though it is verified as running and enabled, your setup script passing the timedatectl set-ntp 1 would fail with:

                      Failed to set ntp: NTP not supported
                      

                      After wasting too much time on NTP issues by verifying configs and the working of the NTP daemon, I pulled the default NTP package and installed Chrony. Problems vanished.

                      For whatever reason, the default ntp package used in the image:

                      Package: ntp
                      Version: 1:4.2.8p12+dfsg-3ubuntu4
                      

                      is not being recognized by timedatectl. I'm sure it is a simple fix, but it is just so much faster to replace ntp.

                      Hope this helps someone.

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

                      @tx-hermit Ah, here's the explanation - https://serverfault.com/questions/1024770/ubuntu-20-04-time-sync-problems-and-possibly-incorrect-status-information . Uninstalling/disabling ntp service does the trick! I will make a fix for next release.

                      1 Reply Last reply
                      1
                      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