aegir-project / development Goto Github PK
View Code? Open in Web Editor NEWA couple of scripts for easier Aegir development using Docker.
A couple of scripts for easier Aegir development using Docker.
Using this project to install Aegir for development, I noticed that it installs an old versoin of Hostmaser:
Hostmaster (Aegir) 2212149-tasks-refresh-config-dev (2017-Nov-23)
Recommended version: | 7.x-3.145 (2018-Mar-28)
By comparison, it install the lastest Hosting component:
Hosting 7.x-3.141+6-dev (2018-Mar-30)
Also, the Status reports mentions:
Info | Install profile | Hostmaster (hostmaster-2212149-tasks-refresh-config-dev)
Point 4 in readme
cd dockerfiles
File not found.
gMac:aegir gerard$ docker build --build-arg AEGIR_UID=501 --build-arg AEGIR_GID=501 -t aegir/hostmaster:local .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /Users/gerard/aegir/Dockerfile: no such file or directory
Hello.
if I do for the first time
docker-compose up
it works ok and I can connect to http://aegir.local.computer:81
But when I do docker-compose stop
and after starting it again using docker-compose start
I can't connect to http://aegir.local.computer:81
I use Aegir in Docker for local frontend development extensively but for latest version of Drupal 8 another version of Drush is required. Could you include it in the scripts?
With the addition of these lines we can get easier access to the mysql database files.
volumes:
- ./aegir-db:/var/lib/mysql
This way even after a 'docker-compose rm' you get the same installation back. The instructions to destroy would need an extra line to clear the aegir-db directory.
I was discussing with @webfed that this might be an easy way to be able to transfer a development stack between a desktop and laptop.
On Mac one can shutdown docker deamon so prepare.sh could failed.
Maybe check for a running docker env / daemon first?
Could you update PHP to 7.2? Use this environment for frontend development extensively. Would like to support further development financially.
The image misses ie xdebug which should be added I guess.
Do you really want to proceed with the install (y/n): y
hostmaster_1 | sudo: no tty present and no askpass program specified
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration root path /var/aegir/config could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration path /var/aegir/config/self could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision client home path /var/aegir/clients could not be created. [error]
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration root path /var/aegir/config could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision configuration path /var/aegir/config/self could not be [error]
hostmaster_1 | created.
hostmaster_1 | mkdir(): Permission denied FileSystem.php:87 [warning]
hostmaster_1 | Provision client home path /var/aegir/clients could not be created. [error]
hostmaster_1 | Caught drush error, ending drush_provision_hostmaster_install [error]
hostmaster_1 | Array [error]
hostmaster_1 | (
hostmaster_1 | [DRUSH_PERM_ERROR] => Array
hostmaster_1 | (
hostmaster_1 | [0] => Provision configuration root path
hostmaster_1 | /var/aegir/config could not be created.
hostmaster_1 | [1] => Provision configuration path
hostmaster_1 | /var/aegir/config/self could not be created.
hostmaster_1 | [2] => Provision client home path /var/aegir/clients
hostmaster_1 | could not be created.
hostmaster_1 | [3] => Provision configuration root path
hostmaster_1 | /var/aegir/config could not be created.
hostmaster_1 | [4] => Provision configuration path
hostmaster_1 | /var/aegir/config/self could not be created.
hostmaster_1 | [5] => Provision client home path /var/aegir/clients
hostmaster_1 | could not be created.
hostmaster_1 | )
The /var/aegir folder looks like not owned by aegir user. I investigated and found out that it is owned by root
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.