vitodeploy / vito

The Ultimate Server Management Tool
https://vitodeploy.com
GNU Affero General Public License v3.0
1.24k stars 190 forks source link

Failed to install ufw on Ubuntu 20 LTS #344

Closed eznix86 closed 2 weeks ago

eznix86 commented 2 weeks ago

Describe the bug While installing a custom vps server via ssh, installing ufw failed.

To Reproduce Steps to reproduce the behavior:

  1. Create new Server
  2. Fill in The Form
  3. Select Ubuntu 20 LTS
  4. Webserver nginx Database postgresql 16
  5. Press Create Server
  6. Wait for the install-ufw step
  7. See error

Expected behavior Should install ufw and complete the progress.

Screenshots

Screenshot 2024-11-04 at 20 10 56

Additional context I believe ufw is not installed by default on Ubuntu 20 LTS, so maybe in the install-dependencies.sh we should append ufw

saeedvaziry commented 2 weeks ago

ufw is being installed in another script. you can see in your screenshot (installing-ufw) why we should put it into install-dependencies.sh too?

eznix86 commented 2 weeks ago

The installation failed, and when I reviewed the install ufw script, I noticed that it doesn’t include apt install ufw. I also checked the server, and ufw wasn’t installed.

So this PR installs ufw to dependencies