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

Where to start #14

Open
helmo opened this issue Dec 2, 2019 · 5 comments
Open

Where to start #14

helmo opened this issue Dec 2, 2019 · 5 comments

Comments

@helmo
Copy link
Contributor

helmo commented Dec 2, 2019

To get to an MPV we need the minimal steps to start working with this.

Starting points would be either a clean debian/Ubuntu install or an existing Aegir 3.x install. Preferably the latter to quickly get to real world testing.

Lets Add a section to the readme here.

  • clone this repo to ~aegir/provision4/
  • composer install
  • Run: ./bin/provision
  • Follow the steps from the setup
  • ...
@helmo
Copy link
Contributor Author

helmo commented Dec 6, 2019

@jonpugh I managed to break it already ...
On one VM the initial .bin/provision call started the setup task... which seems awsome.
After messing with it I thought to start again an removed the .provision.yml and .config/provision ... no dice.

Then I tried in a vagrant box:

aegir@stretch:~/provision$ ./bin/provision setup
                                                                                                                        
 [ERROR] Something went wrong with Provision: The 'contexts_path' folder (/var/aegir/config/contexts) does not exist.   
         You must create it or change the value for 'contexts_path' in the file /var/aegir/.provision.yml.              
                                                                                                                        

What magic environment thing did I forget to purge to get the setup to run again?

@jonpugh
Copy link
Contributor

jonpugh commented Dec 6, 2019

mkdir -p /var/aegir/config/contexts

@jonpugh
Copy link
Contributor

jonpugh commented Dec 6, 2019

There's a chicken-egg problem with the setup task... interesting, I didn't think the setup wizard was working anymore.

@helmo
Copy link
Contributor Author

helmo commented Dec 6, 2019

I'm fairly certain I tried to make that dir again yesterday ... but yes that helped :)

@helmo
Copy link
Contributor Author

helmo commented Dec 6, 2019

But setup breaks with

 Where would you like Provision to store its configuration? [/var/aegir/config]:
 > 

 Where would you like Provision to store its contexts? [/var/aegir/config/contexts]:
 > 

 Would you like to create the file /var/aegir/.provision.yml ? (yes/no) [yes]:
 > 

 ✔ Setting Provision config_path to /var/aegir/config
 ✔ Provision CLI configuration written to /var/aegir/.provision.yml
 ✔ Config Path /var/aegir/config exists.
 ✔ Contexts Path /var/aegir/config/contexts exists.

 Provision CLI configuration check is complete. Press ENTER to continue:
 > 

Server Setup
============

 In this section, we will inform provision about services available on your system.                                     

 Helpful Tips:                                                                                                          

 ➤ You can use the provision save command to add additional sites and servers to the system.
 ➤ You can use the provision services command to add services to your servers and sites.

 ! No servers found.

 You must save at least one server context. Press ENTER to create a server context for your system:
 > 


                                    
  The "1" argument does not exist.  
                                    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants