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. Init script failed on Ubuntu 20.04 on Tencent Cloud

Init script failed on Ubuntu 20.04 on Tencent Cloud

Scheduled Pinned Locked Moved Solved Support
installation
5 Posts 3 Posters 983 Views 3 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.
  • D Offline
    D Offline
    daguji
    wrote on last edited by
    #1

    Hi, I got this error on Tencent Cloud with Ubuntu 20.04, with a fresh server and a fresh server after command apt update apt upgrade. Both have the same error.

    => Updating apt and installing script dependencies
    => Checking version
    => Downloading version 7.0.1 ...
    => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
    

    the log file:

     libnet-smtp-ssl-perl libopts25 libosp5 libostyle1c2 libpackage-stash-perl
      libpackage-stash-xs-perl libpadwalker-perl libpaper-utils libpaper1
      libparams-classify-perl libparams-util-perl
      libparams-validationcompiler-perl libpdfbox-java libpixman-1-0 libptexenc1
      libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl
      libsgmls-perl libsombok3 libspecio-perl libsub-exporter-perl
      libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl
      libsub-name-perl libsub-override-perl libsub-quote-perl libsynctex2
      libtcl8.6 libteckit0 libtexlua53 libtexluajit2 libthai-data libthai0
      libtie-ixhash-perl libtimedate-perl libtk8.6 libtry-tiny-perl
      libunicode-linebreak-perl liburi-perl libvariable-magic-perl libwoff1
      libwww-perl libwww-robotrules-perl libx11-protocol-perl libxcb-render0
      libxcursor1 libxdamage1 libxml-parser-perl libxml-twig-perl
      libxml-xpathengine-perl libxss1 libxstring-perl libyaml-tiny-perl
      libzzip-0-13 lmodern openjade opensp poppler-data preview-latex-style
      sgml-base sgml-data sgmlspl sntp squashfs-tools t1utils tcl tcl8.6 teckit
      tex-common tex-gyre texlive texlive-base texlive-bibtex-extra
      texlive-binaries texlive-extra-utils texlive-fonts-recommended
      texlive-formats-extra texlive-lang-greek texlive-latex-base
      texlive-latex-extra texlive-latex-recommended texlive-pictures
      texlive-plain-generic texlive-science texlive-xetex tipa tk tk8.6
      x11-xserver-utils xdg-utils xfonts-encodings xfonts-utils xml-core xmlto
      xsltproc
    Use 'apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    [[ "$(python --version 2>&1)" == "Python 2.7."* ]] || die "Expecting python version to be 2.7.x"
    Expecting python version to be 2.7.x
    
    girishG 1 Reply Last reply
    0
    • D daguji

      Hi, I got this error on Tencent Cloud with Ubuntu 20.04, with a fresh server and a fresh server after command apt update apt upgrade. Both have the same error.

      => Updating apt and installing script dependencies
      => Checking version
      => Downloading version 7.0.1 ...
      => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
      

      the log file:

       libnet-smtp-ssl-perl libopts25 libosp5 libostyle1c2 libpackage-stash-perl
        libpackage-stash-xs-perl libpadwalker-perl libpaper-utils libpaper1
        libparams-classify-perl libparams-util-perl
        libparams-validationcompiler-perl libpdfbox-java libpixman-1-0 libptexenc1
        libreadonly-perl libref-util-perl libref-util-xs-perl librole-tiny-perl
        libsgmls-perl libsombok3 libspecio-perl libsub-exporter-perl
        libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl
        libsub-name-perl libsub-override-perl libsub-quote-perl libsynctex2
        libtcl8.6 libteckit0 libtexlua53 libtexluajit2 libthai-data libthai0
        libtie-ixhash-perl libtimedate-perl libtk8.6 libtry-tiny-perl
        libunicode-linebreak-perl liburi-perl libvariable-magic-perl libwoff1
        libwww-perl libwww-robotrules-perl libx11-protocol-perl libxcb-render0
        libxcursor1 libxdamage1 libxml-parser-perl libxml-twig-perl
        libxml-xpathengine-perl libxss1 libxstring-perl libyaml-tiny-perl
        libzzip-0-13 lmodern openjade opensp poppler-data preview-latex-style
        sgml-base sgml-data sgmlspl sntp squashfs-tools t1utils tcl tcl8.6 teckit
        tex-common tex-gyre texlive texlive-base texlive-bibtex-extra
        texlive-binaries texlive-extra-utils texlive-fonts-recommended
        texlive-formats-extra texlive-lang-greek texlive-latex-base
        texlive-latex-extra texlive-latex-recommended texlive-pictures
        texlive-plain-generic texlive-science texlive-xetex tipa tk tk8.6
        x11-xserver-utils xdg-utils xfonts-encodings xfonts-utils xml-core xmlto
        xsltproc
      Use 'apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      [[ "$(python --version 2>&1)" == "Python 2.7."* ]] || die "Expecting python version to be 2.7.x"
      Expecting python version to be 2.7.x
      
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @daguji What does python --version print ? It should print Python 2.7.18 on ubuntu 20.04

      D 1 Reply Last reply
      0
      • girishG girish

        @daguji What does python --version print ? It should print Python 2.7.18 on ubuntu 20.04

        D Offline
        D Offline
        daguji
        wrote on last edited by
        #3

        @girish The version is Python 3.8.10, then how do I fix this?

        nebulonN 1 Reply Last reply
        0
        • D daguji

          @girish The version is Python 3.8.10, then how do I fix this?

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @daguji looks like the apt upgrade pulled in python 3 then. Can you reset the server and not run anything besides the Cloudron setup? The setup script will pull in any security updates and the exact package versions Cloudron expects.

          D 1 Reply Last reply
          0
          • nebulonN nebulon

            @daguji looks like the apt upgrade pulled in python 3 then. Can you reset the server and not run anything besides the Cloudron setup? The setup script will pull in any security updates and the exact package versions Cloudron expects.

            D Offline
            D Offline
            daguji
            wrote on last edited by
            #5

            @nebulon Thanks. I have solved this issue. The initial python version is 3.8, after switching to Python 2.7 the issue was solved.

            Reference this link: https://linuxconfig.org/ubuntu-20-04-python-version-switch-manager

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