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 Installation on a fresh AWS does not work

Cloudron Installation on a fresh AWS does not work

Scheduled Pinned Locked Moved Solved Support
awsinstallation
5 Posts 2 Posters 602 Views 2 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.
  • V Offline
    V Offline
    vaibhav
    wrote on last edited by girish
    #1

    I have created a new VPS on AWS lightsail (2 GB RAM, 2 vCPUs, 60 GB SSD) 22.04 Ubuntu
    I have run the commands as mentioned individually with sudo
    wget https://cloudron.io/cloudron-setup
    chmod +x ./cloudron-setup
    ./cloudron-setup

    Nginx is running.
    I have opened all ports (temporarily)
    IP is 13.202.121.11

    Opening the same IP on https does not work for initial config

    running the below command
    tail -f /var/log/cloudron-setup.log

    says:

    # the nologin will also disable su/login. hardcoding uid helps in restoring
    if ! id yellowtent 2>/dev/null; then
        useradd --system --uid 808 --comment "Cloudron Box" --create-home --shell /usr/sbin/nol
    ogin yellowtent
    fi
    
    # add support user (no password, sudo)
    if ! id cloudron-support 2>/dev/null; then
        useradd --system --comment "Cloudron Support (support@cloudron.io)" --create-home --no-
    user-group --shell /bin/bash cloudron-support
    fi
    

    I have tried destroying the VPS and redoing only to get the same result.
    Please help.

    1 Reply Last reply
    1
    • girishG girish marked this topic as a question on
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @vaibhav you mean the setup script just hangs? What does it show in the main terminal where you ran the setup script?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vaibhav
        wrote on last edited by
        #3

        I managed to fix it @girish.
        Applying the commands in the terminal did not work.
        I then asked AWS to apply these instructions while creating a new instance.

        Worked like a charm.
        But in hindsight, my original attempts should have worked. I dunno why it didn't.

        1 Reply Last reply
        1
        • V Offline
          V Offline
          vaibhav
          wrote on last edited by
          #4

          I have since deleted those other stuck VPS instances.

          1 Reply Last reply
          0
          • girishG girish has marked this topic as solved on
          • V Offline
            V Offline
            vaibhav
            wrote on last edited by
            #5

            Setup script hanged in the earlier cases.

            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