Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Plan 0.9 Release (simple domain) #1

Open
eppak opened this issue Dec 28, 2020 · 3 comments
Open

Test Plan 0.9 Release (simple domain) #1

eppak opened this issue Dec 28, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed Test Improve test

Comments

@eppak
Copy link
Contributor

eppak commented Dec 28, 2020

The subject of the test is a UBUNTU 20, test with self signed certificates.

  • Create domain more than two domain.

  • Configure all the domains with setup parameters.

  • Setup a repository for every domain.

  • Setup some crontab.

  • Setup some workers.

  • Deploy every domain.

  • Delete one.

Check if everything works.

@eppak eppak added enhancement New feature or request help wanted Extra attention is needed Test Improve test labels Dec 28, 2020
@eppak eppak added this to the 0.9 Test Plan milestone Dec 28, 2020
@eppak
Copy link
Contributor Author

eppak commented Dec 29, 2020

Note: when deploy a domain crontabs and workers must be queued for deploy.

@physio
Copy link

physio commented Jan 2, 2021

@eppak I started a vm ubuntu 20 on aws platform. i followed the ufficial documentation and i tried to start a sito1.com domain with sudo command

ubuntu@ip-172-31-33-39:$ sudo sh setup.sh
Preparing Sculptor installation...
Upgrading...
Installing base package...
Downloading installer...
Running installer...
You can see detailed log in /root/installer.log
Every step can take several minutes
Credentials: ✔
Base Packages: ✔
Superuser: ✔
Motd: ✔
Ntp: ✔
Php Cgi: ✔
NodeJs: ✔
Nginx: ✔
MySql Server: ✔
Redis Server: ✔
Let's Encrypt: ✔
Composer: ✔
Deployer: ✔
Firewall: ✔
Crontab: ✔
Agent: ✔
Check services: ✔
Run time taken 00:02:22
Here your master credentials, save in a safe location!
+-------------------+------------------------------+
| name | value |
+-------------------+------------------------------+
| Public IP | xxx.xxx.xxx.xxx |
| Password | xxxxxxxx |
| Database Password | xxxxxxxxxx |
+-------------------+------------------------------+
ubuntu@ip-172-31-33-39:
$ sudo sculptor domain:create sito1.com laravel
Create domain sito1.com type laravel: Create domain sito1.com:
In Process.php line 250:

The command "cd /home/www/sites/sito1.com && if [ ! -d .dep ]; then mkdir .
dep; fi" failed.

Exit Code: 1(General error)

Working directory: /home/www/sites/sito1.com

Output:

Error Output:

mkdir: cannot create directory ‘.dep’: Permission denied

deploy:prepare [-p|--parallel] [-l|--limit LIMIT] [--no-hooks] [--log LOG] [--roles ROLES] [--hosts HOSTS] [-o|--option OPTION] [--] []

the domain dir is populated:

ubuntu@ip-172-31-33-39:/home/www/sites/sito1.com$ ls -la
total 32
drwxr-xr-x 6 root root 4096 Jan 2 22:14 .
drwxr-xr-x 3 root root 4096 Jan 2 22:14 ..
drwxr-xr-x 2 root root 4096 Jan 2 22:14 certs
drwxr-xr-x 2 root root 4096 Jan 2 22:14 configs
-rw-r--r-- 1 root root 2079 Jan 2 22:14 deploy.php
drwxr-xr-x 2 root root 4096 Jan 2 22:14 logs
drwxr-xr-x 2 root root 4096 Jan 2 22:14 shared
-rw-r--r-- 1 root root 125 Jan 2 22:14 ssh_config
ubuntu@ip-172-31-33-39:/home/www/sites/sito1.com$ ls -la certs/
total 8
drwxr-xr-x 2 root root 4096 Jan 2 22:14 .
drwxr-xr-x 6 root root 4096 Jan 2 22:14 ..
ubuntu@ip-172-31-33-39:/home/www/sites/sito1.com$ ls -la logs/
total 8
drwxr-xr-x 2 root root 4096 Jan 2 22:14 .
drwxr-xr-x 6 root root 4096 Jan 2 22:14 ..
ubuntu@ip-172-31-33-39:/home/www/sites/sito1.com$ ls -la configs/
total 36
drwxr-xr-x 2 root root 4096 Jan 2 22:14 .
drwxr-xr-x 6 root root 4096 Jan 2 22:14 ..
-rw-r--r-- 1 root root 69 Jan 2 22:14 cron.conf
-rw-r--r-- 1 root root 1972 Jan 2 22:14 deployer.php
-rw-r--r-- 1 root root 844 Jan 2 22:14 env
-rw-r--r-- 1 root root 476 Jan 2 22:14 logrotate.conf
-rw-r--r-- 1 root root 1112 Jan 2 22:14 nginx.conf
-rw-r--r-- 1 root root 106 Jan 2 22:14 ssh_config
-rw-r--r-- 1 root root 244 Jan 2 22:14 worker.conf

@eppak
Copy link
Contributor Author

eppak commented Jan 3, 2021

FIxed domain creation with commit 9b67821

@eppak eppak changed the title Test Plan 0.9 Release Test Plan 0.9 Release (simple domain) Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed Test Improve test
Projects
None yet
Development

No branches or pull requests

2 participants