Coder Social home page Coder Social logo

omega8cc / boa Goto Github PK

View Code? Open in Web Editor NEW
395.0 54.0 76.0 35.64 MB

Barracuda Octopus Aegir 5.2.0

Home Page: https://omega8.cc/compare

Shell 60.12% PHP 3.41% HTML 0.03% Perl 2.03% C 0.09% Makefile 0.44% BitBake 33.89%
drupal php-fpm nginx php percona debian devuan redis solr

boa's Introduction

###
### READ ME IN FULL PLEASE
###

BOA is an acronym of high performance Barracuda, Octopus and Aegir LEMP stack,
supporting hosting Drupal versions from Pressflow 6 to latest Drupal 10.

Includes all-in-one bash scripts (see docs/INSTALL.txt for details) to install
and upgrade high performance Aegir Hosting System for Drupal, with Nginx,
PHP-FPM, Zend OPcache, Percona and Redis.

You can install one Aegir Master Instance and any number of Aegir Satellite
Instances. The Master Instance holds the central Nginx configuration for all
Satellite Instances and thus shouldn't be used to host your sites. Please
always use one or more Satellite Instances to host your sites.

The 'Master' and 'Satellite' names in the Barracuda/Octopus context are not
related to the multi-server Aegir features. It is related to the multi-instance
environment, with virtual chroot/jail for every Aegir Satellite instance.

BOA stack doesn't support nor leverage Aegir Remote Servers feature currently.
However, there are plans to add Remote Servers as an option in the future.

While BOA provides tools for easy migrations of entire Aegir instances between
remote BOA servers, it doesn't support migrating sites between Aegir instances
on the same BOA server -- at least not yet.

Barracuda is the main script for the Aegir Master Instance system install and
upgrades, including OS environment and main Aegir instance, but no platforms
(besides hostmaster) are installed there.

Octopus is an Aegir + Platforms installer (you can interactively choose
the platforms you wish to install on the instance) and updater only. It allows
to install new versions of platforms with clean directory structure, with code
shared between all created instances, so one vanilla Octopus instance is using
only 35 MB, while most of the code, which is over 1400 MB in total, is shared.

Sharing the code between instances is of critical importance, especially in the
large hosting environments with many platforms across many Satellite instances,
because it allows you to dramatically lower RAM and CPU usage thanks to opcode
caching. Note however that shared codebase is supported only in Drupal 7 and
Pressflow 6 distros, since Drupal 8 and newer don't support codebase symlinking.

With multi-Aegir-instance system you have to remember that all of them will use
the same Nginx server, so you could affect others trying to install site with
the same domain on two or more instances. The instances will not be aware of
other running instances, so it is your responsibility to use such system wisely.

To be precise, the possible conflict between sites will not affect their files
nor databases, only their visibility, because Nginx will load only the first
vhost with the same name and ignore the others, so the instance which is loaded
first in the alphabetical order of their system users names, will take it over.

It's also critically important to never give anyone access to Aegir system user
on any Octopus instance, because it comes with almost root access to *all* sites
databases hosted across all Octopus instances on the same BOA server. Only
the limited shell access accounts and non-admin Aegir control panel accounts
should be ever provided for your end-users.

There is also Tuner script available (see aegir/tools/BOND.sh.txt) for easy
system tuning for development and switching it back easily to the standard
production settings.


@=> DUAL LICENCE NOTICE (updated on April 3, 2024) -- read also: ROADMAP.txt

  While all BOA code is Free/Libre Open Source, only the BOA LITE branch
  and Aegir itself is free of charge without limits, while BOA PRO branch
  will require valid licence, with an effective date of April 8, 2024.

  From now on BOA project will be maintained in four branches:

  * LITE which remains completely free to use without any kind of license
    as it was from the beginning (previously named HEAD or STABLE).
    This branch should be considered as BOA LTS with slow updates, focused
    on both security and bug fixes, but very limited new features additions.

  * DEV which requires paid license for both install and upgrade and includes
    the latest features, security and bug fixes and installed services versions.
    This branch shouldn't be used in production without extensive testing.

  * PRO which requires paid license and is available only as an upgrade
    from either LITE or DEV (or previous HEAD/STABLE) is the branch with regular
    monthly or bi-monthly releases, closely following tested DEV branch.

  * OMM which will remain our private branch with some things we don’t use
    removed and some added, but generally simplified for easier maintenance
    and modern coding standards.

  The pricing will be announced at https://omega8.cc/licenses shortly.


@=> FOR BUG REPORTING PLEASE FOLLOW GUIDELINES EXPLAINED IN CONTRIBUTING.txt


@=> SUPPORTED VIRTUALIZATION SYSTEMS -- please read also: docs/CAVEATS.txt

  * Linux Containers (LXC) guest
  * Linux KVM guest
  * Linux VServer guest
  * Microsoft Hyper-V guest
  * OpenVZ Containers guest
  * Parallels guest
  * VirtualBox guest
  * VMware ESXi guest
  * Xen guest


@=> SUPPORTED OPERATING SYSTEMS -- please read also: docs/CAVEATS.txt

  Devuan @ https://www.devuan.org/os/releases

  * Devuan Chimaera (fully supported and the only OS version recommended)
  * Devuan Beowulf (supported only as a base for upgrade to Chimaera)

  Debian @ https://wiki.debian.org/LTS

  * Debian 11 Bullseye (supported only as a base for migration to Devuan)
  * Debian 10 Buster (supported only as a base for migration to Devuan)
  * Debian 9 Stretch (deprecated but still works, please upgrade to Devuan)
  * Debian 8 Jessie (deprecated but still works, please upgrade to Devuan)


@=> REQUIREMENTS

  * Basic sysadmin skills and experience.
  * Willingness to accept BOA PI (paranoid idiosyncrasies).
  * Minimum 4 GB RAM and 2 CPU (with Solr minimum 8 GB RAM and 4+ CPU).
  * SSH (RSA) keys for root are required by newer OpenSSH versions used in BOA.
  * Wget must be installed.
  * The outgoing TCP connections via ports: 25, 53, 80 and 443 must be open.
  * Locales with UTF-8 support, otherwise en_US.UTF-8 (default) is forced.


@=> PROVIDES

  *Included/enabled by default -- see docs/NOTES.txt for details

  Automatic BOA System Major Upgrade Tool -- see docs/UPGRADE.txt for details.
  PHP-FPM 8.3/2/1/0 7.4/3/2/1/0 5.6, configurable per site.
  Latest release of Percona 5.7 database server with Adminer manager.
  All libraries & tools required to install and run Nginx based Aegir system.
  Magic Speed Booster cache, working like a Boost + AuthCache, but per user.
  Entry level XSS built-in protection on the Nginx level.
  Firewall csf/lfd integrated with Nginx abuse guard.
  Autonomous Maintenance & Auto-Healing scripts in /var/xdrago.
  Every 3 seconds uptime/self-healing local monitoring.
  Automated, rotated daily backups for all databases in /data/disk/arch/sql.
  Letsencrypt.org SSL support -- see docs/SSL.txt for details.
  HTTP/2 or SPDY Nginx support.
  PFS (Perfect Forward Secrecy) support in Nginx.
  PHP extensions: Zend OPcache, PHPRedis, UploadProgress, MailParse and ionCube.
  Fast Redis Cache/Lock/Path with DB auto-failover for all Drupal core versions.
  Limited Shell, SFTP and FTPS accounts per Aegir Client with per site access.
  Drush access on command line in all shell accounts.
  Composer and Drush Make access on command line for main shell account only.
  PHP errors debugging, including WSOD, enabled on the fly on .dev. aliases.
  Built-in collection of useful modules available in all platforms.
  Fast DNS Cache Server (pdnsd)

  +Optional add-ons -- see docs/NOTES.txt for details

  MultiCore Apache Solr 7 and Solr 4 -- see docs/SOLR.txt for details
  New Relic Apps Monitor with per Octopus license and per Site reporting
  RVM, Compass Tools, and NPM -- see docs/RVM.txt for details
  Image Optimize toolkit binaries
  FFmpeg support
  Bind9 DNS server


@=> OCTOPUS PLATFORMS

 Octopus can install and/or support the Aegir platforms listed below:

 @ Drupal 10

 Drupal 10.2.4 -------------- https://drupal.org/project/drupal/releases/10.2.4
 Drupal 10.1.8 -------------- https://drupal.org/project/drupal/releases/10.1.8
 Drupal 10.0.11 ------------- https://drupal.org/project/drupal/releases/10.0.11
 Social 12.2.2 -------------- https://drupal.org/project/social (10.2.4)
 Thunder 7.2.0 -------------- https://drupal.org/project/thunder (10.2.4)
 Varbase 9.1.1 -------------- https://drupal.org/project/varbase (10.2.4)

 @ Drupal 9

 Drupal 9.5.11 -------------- https://drupal.org/project/drupal/releases/9.5.11
 OpenLucius 2.0.0 ----------- https://drupal.org/project/openlucius (9.5.11)
 Opigno LMS 3.1.0 ----------- https://drupal.org/project/opigno_lms (9.5.11)

 @ Drupal 7

 Commerce 1.72 -------------- https://drupal.org/project/commerce_kickstart
 Commerce 2.77 -------------- https://drupal.org/project/commerce_kickstart
 Drupal 7.100.1 ------------- https://drupal.org/project/drupal/releases/7.100
 Ubercart 3.13 -------------- https://drupal.org/project/ubercart

 @ Drupal 6

 Pressflow 6.60.1 ----------- https://www.pressflow.org
 Ubercart 2.15 -------------- https://drupal.org/project/ubercart

 * All D7 platforms have been enhanced using Drupal 7.100.1 +Extra core:
   https://github.com/omega8cc/7x/tree/7.x-om8

 * All D6 platforms have been enhanced using Pressflow (LTS) 6.60.1 +Extra core:
   https://github.com/omega8cc/pressflow6/tree/pressflow-plus

 * All D6 and D7 platforms include some useful and/all performance related
   contrib modules - see docs/MODULES.txt for details.


@=> DOCUMENTATION AND CONFIGURATION TEMPLATES

  Installation Instructions .........: docs/INSTALL.txt
  Other Related Information .........: docs/NOTES.txt
  Upgrade Instructions ..............: docs/UPGRADE.txt

  Barracuda Configuration Template ..: docs/cnf/barracuda.cnf
  Octopus Configuration Template ....: docs/cnf/octopus.cnf
  System Control Files Index ........: docs/ctrl/system.ctrl

  Platform and Site Level INI Templates:

    aegir/conf/default.boa_platform_control.ini
    aegir/conf/default.boa_site_control.ini

  BOA Self-Upgrade How-To ...........: docs/SELFUPGRADE.txt
  Composer How-To ...................: docs/COMPOSER.txt
  Dev-Mode Notes ....................: docs/DEVELOPMENT.txt
  Drush versions support and usage ..: docs/DRUSH.txt
  FAST DB Aegir Operations How-To ...: docs/MYQUICK.txt
  FAST Migrate/Clone Aegir How-To ...: docs/FASTTRACK.txt
  Frequently Asked Questions ........: docs/FAQ.txt
  Let's Encrypt Support .............: docs/SSL.txt
  Migration - Octopus Instance ......: docs/MIGRATE.txt
  Migration - Single Site ...........: docs/REMOTE.txt
  Modules Enabled or Disabled .......: docs/MODULES.txt
  New Relic How-To ..................: docs/NEWRELIC.txt
  PHP Configuration How-To ..........: docs/PHP.txt
  Platforms Configuration Symbols ...: docs/PLATFORMS.txt
  Remote S3 Backups .................: docs/BACKUPS.txt
  Rewrites in Nginx .................: docs/REWRITES.txt
  RVM, Compass Tools, and NPM .......: docs/RVM.txt
  Security Related Settings .........: docs/SECURITY.txt
  Solr How-To .......................: docs/SOLR.txt
  Some Extra Comments ...............: docs/CAVEATS.txt
  SSH Advanced Password Encryption ..: docs/BLOWFISH.txt
  VServer Cluster How-To ............: docs/CLUSTER.txt

  BOA user handbook -- legacy version but still useful:

    https://learn.omega8.cc/library/good-to-know

  Aegir own docs -- useful but some things don't apply in the BOA context:

    https://docs.aegirproject.org


@=> MAINTAINERS

  BOA development is maintained and sponsored by Omega8.cc

    https://omega8.cc/about


@=> CREDITS

  Aegir Project Founder, Emeritus and Current Developers

    https://docs.aegirproject.org/community/core-team/


@=> SUPPORT

  You can support BOA development by using Omega8.cc hosted service:

    https://omega8.cc/compare
    https://omega8.cc/pricing
    https://omega8.cc/clusterpro

  There is also an Affiliate Program available for all paying Clients:

    https://omega8.cc/affiliates

  Thank you for your support!

boa's People

Contributors

angel0d avatar ar-jan avatar bserem avatar dnotes avatar dsnopek avatar ethnovode avatar gitter-badger avatar jkenn99 avatar netdreamer avatar omega8cc avatar pricejn2 avatar radimklaska avatar reswild avatar theodorosploumis avatar yaazkal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boa's Issues

Barracuda Aegir with Nginx Edition 0.4-alpha11-A11.A on OpenVZ with 1GB RAM

Fresh VPS: minimal Ubuntu 10.4 on OpenVZ with 1GB RAM

  1. IN A for aegir.nica.pro and ns1.nica.pro so that:
    root@ns1:/var/aegir# host ns1.nica.pro
    ns1.nica.pro has address 67.215.3.79
    root@ns1:/var/aegir# host aegir.nica.pro
    aegir.nica.pro has address 67.215.3.79
  2. apt-get install wget aptitude gnupg
  3. wget -O- http://ourdelta.org/deb/ourdelta.gpg | sudo apt-key add -
  4. wget http://ourdelta.org/deb/sources/lucid-mariadb-ourdelta.list
    -O /etc/apt/sources.list.d/ourdelta.list
  5. aptitude update
  6. wget http://github.com/omega8cc/nginx-for-drupal/raw/master/INSTALL-ubuntu-debian-nginx-aegir.sh.txt
  7. nano INSTALL-ubuntu-debian-nginx-aegir.sh.txt
    edit email and replace eth0 with venet0:0
    bash INSTALL-ubuntu-debian-nginx-aegir.sh.txt
  • Your e-mail address appears to be [email protected] - is that correct? * Your hostname appears to be ns1.nica.pro - are you sure it's a valid FQDN hostname? * Your Aegir control panel will be available at http://aegir.nica.pro. * Your IP address appears to be 67.215.3.79 - are you sure it's a valid IP?

It's strange. With 1GB RAM it FAIL. Mostly because of MySQL which require 1.2 GB RAM. That's because of my.cnf: http://paste-it.net/public/kd333c3/
Mysql require 1.2 GB RAM.
So after him, when the script try to run Aegir installation there is no more memory.

With 1.5 GB RAM everything was ok.

p.s.: The fact is that we MUST have:

  1. DNS entry with IN A for hostname and aegir front.
  2. replace eth0 with venet0:0 on OpenVZ.
  3. 1.5 GB RAM on OpenVZ
  4. I think that my.cnf must be a little more relaxed. We can have there a optimized version which we can activate after the installation. But we must start with something less demanding, because in my case, the script did not pass over because of this.
    I think that we can delete irrelevant comments to keep this intelligible and useful for all.

502 Bad Gateway

This may or may not be a barracuda/octopus issue, but then again it may be. I have been running both for about a week with no problems. Randomly today I started receiving a 502 Bad Gateway error from both the barracuda and octopus sites, and all sites managed by the aegir installs.

Rebooting the server fixed the issue, but doing a google search for "aegir 502 bad gateway" shows a number of barracuda users are getting this error (although not with exactly the same symptoms).

Anyone else experiencing this issue?

MariaDB / MySQL peformance

Hello again.

I realise this may be outside of your area of support, but its got me a bit stumped so i though i'd try.

I'm in the process of consolidating two vps (1 x apache & 1 mysql) into a larger Barracuda based vps.

I attempted to switch over a site database from the 768MB mysql vps to 1.5GB barracuda one and despite their being plenty of memory on the barracuda one and a more powerful CPU when I made the switch mysql took over all the CPU and it basically melted!

First I tried with the default mysql conf you ship with, then I tried one very close to what I use now and neither helped. I did leave it a while to see if it 'warmed up' but still no improvement.

The database is big and site is relatively busy but I don't understand why the less powerful vps manages better... :-s

mysql root password

I noticed that the installer creates the root password for mysql. This makes sense, and naturally I decided to change it. However when I ran the update script for octopus I got the following error:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

Should I not have changed the password?

Octopus and Barracuda Aegir with Nginx Edition A12.A on Xen HVM with 1GB RAM

Hi.
Amazing Grace :). Yes, I know... it's an amazing team, now that you are 3 :D

So.. I've tried Octopus A12.A and Everything seems fine but not for Apache Solr:
==> Thu Aug 26 23:13:45 CEST 2010 INIT C: Aegir automated install script part B
==> Thu Aug 26 23:13:45 CEST 2010 INIT C: Create directories
==> Thu Aug 26 23:13:54 CEST 2010 INIT C: Preparing Pressflow core, please wait..
mv: cannot stat `atrium_apachesolr_search-6.x-1.0.tar_.gz': No such file or directory
tar: atrium_apachesolr_search-6.x-1.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

Drupal 5 - do you want to include this distro? [Y/n] n
==> STATUS: Drupal 5 installation skipped
If I understand, for an upgrade, all I have to do is to run bash Octopus.sh.txt again right? And mantain the host and user.

Have a nice day and good luck with the presentation of Aegir and Baracuda at Drupal Camp. It is an amazing job.

Luigi

task queue not running after upgrading from 11.(B?) (alpha-11) to A12.D (head)

title says it all - task queue has been dormant for ~23 minutes, though the site functions properly and there were no errors on install. I do notice in @/var/aegir/@ there is no @hostmaster-0.4-alpha12@ directory... not sure if that is normal

flushed the cache.

tried running @ntpdate pool.ntp.org@ in case it was a timing thing.

running debian lenny.

i applied the two patches @ http://drupal.org/node/884090 so there's no huge rush, but it's odd (i was mainly upgrading to get past that stupid permissions bug).

nginx.conf results in host resets

I've puzzled over this one for a few hours, and I can't figure it out.

Using the default nginx.conf, I can navigate to my server IP address, and I get the Welcome to nginx! screen. However, when I substitute the default nginx.conf with the one found here, I only get an error that the connection was reset by the server. I'm using Firefox 3.5, BTW.

Any ideas what could be causing this?

Aegir asking ssh password while Installing

When I started to install using your script, Aegir is asking ssh password. And aftet finishing installation nginx doesn't work. I'm using Linode and Ubuntu 10.04. Any idea about it?

=> Mon Aug 16 00:19:09 UTC 2010 INFO: Installing bzr, please wait... ==> python setup.py --quiet install build_ext --allow-python-fallback: Succeeded.
==> Mon Aug 16 00:19:47 UTC 2010 INFO: Installing Nginx, please wait... ==> sh ./configure --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --user=www-data --group=www-data --with-http_realip_module --with-rtsig_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --add-module=/var/opt/nginx-upload-progress-module/: Succeeded. ==> make --quiet: Succeeded. ==> make --quiet install: Succeeded.
==> Mon Aug 16 00:20:41 UTC 2010 INFO: Update rc.d ==> Mon Aug 16 00:21:08 UTC 2010 INFO: Clean up temp files ==> Mon Aug 16 00:21:18 UTC 2010 INFO: Generate random password for MariaDB ==> Mon Aug 16 00:21:27 UTC 2010 INFO: OS and services installation completed ==> Mon Aug 16 00:21:36 UTC 2010 INFO: Installing Aegir, please wait... ==> adduser --system --group --home /var/aegir aegir: Succeeded. ==> adduser aegir www-data: Succeeded.
==> Mon Aug 16 00:21:48 UTC 2010 INFO: Now running Aegir installer for backend and frontend The authenticity of host 'lara.mono.net.tr (178.79.133.58)' can't be established.
RSA key fingerprint is b6:3e:8e:61:6d:a1:f4:44:aa:0d:27:0c:db:0c:ce:82.

Installation hangs at "apt-get upgrade -y: Succeeded."

Just an FYI, but I had BARRACUDA.sh.txt hang repeatedly at this stage.

On a fresh install of Ubuntu Server 10.04.1 (without using landscape), it turns out that the "landscape-common" package was being held back during the upgrade. This seems to have caused the 'runner "apt-get upgrade -y"' at line 568 to hang. After manually purging the offending package, the install proceeds.

nginx not installing modules / configuring properly on debian, will not start

On a 'real' VM this time - it gets all the way through the installer but nginx fails to start on Debian Lenny, minimal install (vanilla + ssh, emacs). The following showed up during the install script:

==> Wed Aug 18 15:54:51 PDT 2010 INFO: Installing Nginx, please wait...
sh ./configure --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --user=www-data --group=www-data --with-http_realip_module --with-rtsig_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --add-module=/var/opt/nginx-upload-progress-module/ failed. Error (if any): 0

Displaying the last 15 lines of /var/tmp/aegir-install.log to help troubleshoot this problem:
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
configuring additional modules
adding module in /var/opt/nginx-upload-progress-module/
./configure: error: no /var/opt/nginx-upload-progress-module//config was found
make --quiet failed. Error (if any): 0

(the bottom chunk was repeated 3 times)

/etc/init.d/nginx start

gives me the following:

Starting nginx: 2010/08/18 16:39:54 [emerg] 26836#0: unknown directive "gzip_static" in /var/aegir/config/server_master/nginx/conf.d/custom_nginx.conf:1
nginx.

editing out gzip_static gives me the same error with upload_progress, clearing out the entire .conf just gives me unknown directive "try_files" in /var/aegir/config/includes/nginx_simple_include.conf:19

the //config looks suspicious to me

note this was done with 11.A, as I didn't see 11.B when I first starting working on the machine earlier this afternoon.

getting chive (db manager) to work

Since installing Aegir via BARRACUDA.sh.txt, I hadn't been able to get chive to work. After some digging around, I discovered what looked like a likely candidate at line 81 of /var/aegir/config/includes/nginx_simple_include.conf.

###
### deny php files here for security reasons (remove 'sites' to allow civicrm install)
###
location ~* /\/(files|themes|sites)/.*\.php$ {
    deny all;
}

It now appears to work, though I'm not sure whether or not adding an escaped slash ( / ) here breaks the security this block is intended for.

Can't create Open Atrium site

I successfuly created an acquia site. I tried to create Open Atrium sites, beta8 and beta9, and both fail with these errors:

  • Undefined index: q common.inc:1588
  • PROVISION_INSTALL_MISSING_REQUIREMENTS
  • Memcache admin requires that the "cache_inc" $conf variable be set to include either memcache.inc or memcache.db.inc. Please read the installation instructions. (Currently using Memcache admin Memcache not included)
  • An error occurred at function : drush_provision_drupal_provision_install_backend
  • Command dispatch complete

We can fetch all Barracuda files offline?

Hello.

I was thinking at this case yesterday. Like in this scenario: we have a problem (system update --> failure) and we must reinstall the server or aegir.

But: the git.aegirproject.org is down due to dns problems or the new live (using git) installation result in a failure installation.

So I wish that your installer be able to work offline/independent of other depository. Because it fetch a lot of files remotely right? How can I do that?

For example for Barracuda 0.4 A 10, how can I make it work offline? That is for safety purpose.
Have you think about that?

Thank you,

Luigi

Quick way to get some platforms installed?

Another noobie question, I'm full of them today... %~)

If I install Barracuda, can I then install Octopus with out adding another instance of Aegir, just as a quick way to get some platforms installed?

aegir vhost not loading?

Installation script runs just fine using 10.04 minimal fresh install.

Ran it before and after yesterday's alpha9e changes, on fresh installs, and I get the same issue: a 404 on the password reset link, say http://tstsrv.example.com/user/reset/1/1281100657/fe258839a763622a2dd5471e8fc08bed - so:

http://tstsrv.example.com/ responds with "Welcome to nginx!"
http://tstsrv.example.com/user (and the above reset) is a 404

I'm new to nginx, but from what I could tell the contents of

/etc/nginx/nginx.conf

/etc/nginx/conf.d/aegir.conf

/var/aegir/config/server_master/nginx/vhost.d/tstsrv.example.com

and their includes should cover it.

Seemed to me that perhaps the default vhost should be disabled, so I tried that. Restarted nginx, still got the above http responses.

Then I did a chmod -R 777 /var/aegir/config/server_master as that only seemed to be readable by the aegir user, restarted nginx, still got the above http responses.

Then I noticed that /var/aegir/config/server_master/nginx/vhost.d/tstsrv.example.com had the following line

listen 127.0.1.1:80;

(is that as expected?) ... which I changed to

listen 127.0.0.1:80;

and restarted nginx, but still got the above http responses.

Feels to me like the aegir vhost is not loading but I'm not sure what I can do to check or force it to load, beyond replacing default completely with the various directives that make up the aegir vhost.

Thanks again and in advance for any thoughts on how to progress.

Test of locals fix failed

I just ran another install without my edit to ssh_config and locals failed this is the console output.

Do you want to proceed with the install? [Y/n] y
==> Mon Sep 13 08:44:54 UTC 2010 INFO: Clean up temp files in /var/opt/ ==> Mon Sep 13 08:44:58 UTC 2010 INFO: Update apt sources ==> Mon Sep 13 08:45:02 UTC 2010 INFO: Add apt sources for MariaDB OK
==> Mon Sep 13 08:45:07 UTC 2010 INFO: Run apt update, please wait... ==> aptitude update: Succeeded. ==> aptitude clean: Succeeded. \perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:

LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").
|locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Secure Pages module doesn't work with nginx configuration.

Hello

I've just set up an SSL site using aegir and its all working just fine.

However, the secure pages module isn't able to detect that it is configured correctly. After searching the issue queue, I found in this issue that you need to add the following to nginx.conf:

fastcgi_param HTTPS on;

syntax error near unexpected token `do'

I just tried to install octopus.. and got this error.

octopus.sh.txt: line 81: syntax error near unexpected token do' octopus.sh.txt: line 81:  while true ; do'

Clarify README.txt and INSTALL.txt

Assuming I am doing this correctly I propose the following changes:

README.txt (near top)

  • For complete installation instructions see docs/INSTALL.txt

INSTALL.txt
$ cd; wget http://github.com/omega8cc/nginx-for-drupal/raw/master/BARRACUDA.sh.txt
$ cd; nano BARRACUDA.sh.txt (edit your e-mail address)
$ cd; bash BARRACUDA.sh.txt

Optional: If in addition you want an instance of Aegir preloaded with platforms you will need to run OCTOPUS.sh.txt after running BARRACUDA.sh.txt

$ cd; wget http://github.com/omega8cc/nginx-for-drupal/raw/master/OCTOPUS.sh.txt
$ cd; nano OCTOPUS.sh.txtt (edit your e-mail address and domain name)
$ cd; bash OCTOPUS.sh.txt

Couldn't find package redis-server

Trying to get barracuda running for a new install on Debian Lenny 5.0 and received the above error. I was able to get it to install without any errors on Ubuntu 10.04.

Thanks for the script!

Barracuda will not import any sites

Created platform openatrium and followed the import guide for http://groups.drupal.org/node/24992 and then on Import Task:

Submitted by admin on Mon, 08/16/2010 - 20:13
Site:xxxxx.com
Status: Failed
Executed: Mon, 08/16/2010 - 20:43
Execution time: 1 sec

Log message
Log message
Task starts processing
Running: /var/aegir/drush/drush.php --uri=xxxxx.com' provision-save '@xxxxxx' --backend
Drush bootstrap phase : _drush_bootstrap_drush()
Found command: provision-save (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Load alias @self
Load alias @platform_atrium10beta6
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Load alias @xxxxx.com
Template loaded: /var/aegir/.drush/provision/provision_drushrc_alias.tpl.php
Changed permissions of /var/aegir/.drush/xxxxx.com.alias.drushrc.php to 600
Generated config Drush configuration file
Changed permissions of /var/aegir/.drush/xxxxx.com.alias.drushrc.php to 400
Command dispatch complete
Peak memory usage was 4.12 MB
Running: /var/aegir/drush/drush.php @xxxxx.com provision-import --backend
Drush bootstrap phase : _drush_bootstrap_drush()
Load alias @xxxxxx
Drush bootstrap phase : _drush_bootstrap_drupal_root()
Loading drushrc "/var/aegir/platforms/atrium-1-0-beta6/drushrc.php" into "drupal" scope.
Initialized Drupal 6.16 root directory at /var/aegir/platforms/atrium-1-0-beta6
Found command: provision-import (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Load alias @platform_atrium10beta6
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Including /var/aegir/.drush/provision/platform/import.provision.inc
Drush bootstrap phase : _drush_bootstrap_drupal_site()
Initialized Drupal site xxxxxx at sites/xxxxxx
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Drush bootstrap phase : _drush_bootstrap_drupal_database()
Successfully connected to the Drupal database.
Drush bootstrap phase : _drush_bootstrap_drupal_full()
Template loaded: /var/aegir/.drush/provision/provision_drushrc_alias.tpl.php
Changed permissions of /var/aegir/.drush/xxxxxx.alias.drushrc.php to 600
Generated config Drush configuration file
Changed permissions of /var/aegir/.drush/xxxxxx.alias.drushrc.php to 400
Running: /var/aegir/drush/drush.php @xxxxxx provision-verify --backend
The external command could not be executed due to an application error.
Drush bootstrap phase : _drush_bootstrap_drush()
Load alias @xxxxxx
Found command: provision-verify (commandfile=provision)
Initializing drush commandfile: drush_make
Initializing drush commandfile: drush_make_d_o
Initializing drush commandfile: provision
Load alias @platform_atrium10beta6
Load alias @server_master
Loading mysql driver for the db service
Loading nginx driver for the http service
Including /var/aegir/.drush/provision/platform/backupmigrate/verify.provision.inc
Including /var/aegir/.drush/provision/platform/verify.provision.inc
Drush bootstrap phase : _drush_bootstrap_drupal_root()
Loading drushrc "/var/aegir/platforms/atrium-1-0-beta6/drushrc.php" into "drupal" scope.
Initialized Drupal 6.16 root directory at /var/aegir/platforms/atrium-1-0-beta6
Drush bootstrap phase : _drush_bootstrap_drupal_site()
Initialized Drupal site xxxxxx at sites/xxxxxx
Undefined index: db_type provision_drupal.drush.inc:140
Undefined index: db_user provision_drupal.drush.inc:140
Undefined index: db_passwd provision_drupal.drush.inc:140
Undefined index: db_host provision_drupal.drush.inc:140
Undefined index: db_name provision_drupal.drush.inc:140
Template loaded: /var/aegir/.drush/provision/platform/provision_drupal_settings.tpl.php
Changed permissions of /var/aegir/platforms/atrium-1-0-beta6/sites/xxxxxx/settings.php to 640
Generated config Drupal settings.php file
Changed permissions of /var/aegir/platforms/atrium-1-0-beta6/sites/xxxxxx/settings.php to 440
Change group ownership of /var/aegir/platforms/atrium-1-0-beta6/sites/xxxxxx/settings.php to www-data
Drush bootstrap phase : _drush_bootstrap_drupal_configuration()
Drush command could not be completed.
Output from failed command :
An error occurred at function : drush_provision_drupal_post_provision_import
Command dispatch complete
Peak memory usage was 22.76 MB
Output from failed command :
An error occurred at function : drush_hosting_task
Command dispatch complete
Peak memory usage was 13.11 MB

Always fails this way. The guide recommends it is a PHP memory issue.where would I change that? Just using Barracuda Aegir defaults..

Use of Apache Solr 6.x-2.0-beta3

Apachesolr 2.x has some very nice features compare to 1.x version.

If I want to use apachesolr-6.x-2.0-beta3, is it enough to copy schema.xml and solrconfig.xml into /opt/solr/conf? Or are there known problems with non 1.x version of Apache Solr?

How to install a theme for a site?

Hello. Maybe a easy thing to do but...

I put the theme all over the place without effect. The site was deployed with acquia:

/data/all/001/acquia/themes/acquia/new_theme/
/data/disk/admin/distro/001/acquia/sites/nica.pro/themes/new_theme
/var/aegir/hostmaster-HEAD/themes/new_theme
/data/disk/admin/distro/001/acquia/themes
/data/disk/admin/aegir/distro/001/themes/

How can I install a new theme? Where?

php-fpm configure failure on Debian

Step 3 of the php-fpm install failed on a base Debian install.

To get it to work I had to install these packages:

sudo aptitude install libcurl4-openssl-dev libxml2-dev libjpeg62-dev libpng-dev libc-client-dev libmcrypt-dev libmysqlclient15-dev libxslt-dev

Additionally, I had to add this line to the configuration:

--with-libevent=shared,/usr/lib

Nginx Hangs

hello,
I have done the install a few times now and after 30 mins, nginx seems to hang, when I do a restart its fine for 30 mins (roughly).. and then it hangs again.. am I missing something... do I need to configure Nginx?

I tried a basic server set up roughly the same as this simple lenny set up and then I run your install script.

Filefield uploadprogress

Filefield uploadprogress does not seem to be working. Drupal reports "Starting upload" with a progress bar, but the upload completes without any progress being reported (even with large files). phpinfo() reports uploadprogress loaded.

How to increase maximum execution time?

I am trying to increase maximum execution time, but it Nginx always shows:
504 Gateway Time-out

I tried to increase time in php.ini, also in index.php by setting set_time_limit(0);

I also changed send_time and in nginx.conf, but nothing helps and after 60 seconds of running script it always writes error 502.

How can I increase execution time to not get errors?

nginx MIME types

It seems that nginx is missing some (unfortunately) key MIME types: MS Office 2007+: .docx, .xlsx, etc all try to open in browser, resulting in a big page of odd characters. I wonder if it's missing any other major MIME types? Or is this a Drupal issue? I assume not as this worked fine on D6.17 + Apache2 (Ubuntu 10.04).

Can't disable css or javascript optimization

Background: I'm running Barracuda Aegir with Nginx Edition 0.4-alpha11-A11.A. I have jquery_ui installed as well as jquery update.

I'm using a normal drupal 6.19 platform and I'm running a site on it and can't disable css or javascript optimization to debug a possible JS conflict I'm having with a module a theme. (refer: http://drupal.org/node/905316)

I go to the performance page at: /admin/settings/performance

I click to disable css and js optimization and click 'Save Configuration'. I get the 'The configuration options have been saved.' message but it doesn't actually change anything. The page still shows 'Enabled.'

I tried changing the database directly with the following commands.
UPDATE variable SET variable.value = 's:1:"0";' WHERE variable.name = 'preprocess_js';
UPDATE variable SET variable.value = 's:1:"0";' WHERE variable.name = 'preprocess_css';

...but it still made no changes.

Could there be anything in this Barracuda Aegir set up that is overriding the performance settings?

DNS invalid, a9f script in debian lenny on vmware fusion (/etc/hosts = fail)

I've tried using 127.0.0.1, 127.0.1.1, and the 192.168.x.x that I get when NATed in VMWare Fusion.

hostname -f
hostname -v
hostname -s
hostname -a
hostname -d
uname -n

all show what they should, I've tried using a faux .org as well as .local at the end, and have run

/etc/init.d/hostname.sh start

and

/etc/init.d/networking restart (and/or ifup eth0)

after changes just to make sure they stuck (and have logged in/out).

relevant parts of /etc/hosts

127.0.0.1 localhost
127.0.1.1 aegir.local hq.aegir.local

/etc/hostname

aegir.local

relevant parts my aegir.sh I've copied from the server

_AEGIR_VERSION="HEAD"

_MY_OWNIP="127.0.1.1"
_MY_HOSTN="aegir.local"
_MY_FRONT="hq.aegir.local"

Can I migrate between different platforms?

I installed Barracuda/Octopus. I have site running Pressflow. Can I migrate it somehow to Ubercart platform?

When I click Migrate button only platform to which I can migrate is: "Drupal 6.19 P.001" (Current platform).

How to enable https support

After running your amazing install script everything seems to work. But I can access Aegir only on http, but not https.

Do I have to do something special to enable ssl support for Nginx?

Static Site

How do I also host static sites under this setup?

Cannot verify hostmaster site after changing Encryption: Enable to Encryption: Required

I am using Ubuntu 10.04.
After changing Encryption settings from Enable to Required it cannot verify anymore hostmaster site.

It writes these errors in task info:

/var/aegir/hostmaster-HEAD could not be synced to remote server aegir.exam... (Expand)/var/aegir/hostmaster-HEAD could not be synced to remote server aegir.example.com. Changes might not be available until this has been done. (error: Host key verification failed. rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7])

/var/aegir/hostmaster-HEAD/sites/aegir.example.com could not be synce... (Expand)/var/aegir/hostmaster-HEAD/sites/aegir.example.com could not be synced to remote server aegir.example.com. Changes might not be available until this has been done. (error: Host key verification failed. rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7])

Cannot turn on error reporting

I changed settings in /usr/local/lib/php,ini to show errors, but nothing happens even after restarting server.

WIth Apache and PHP it always works after change, but is there some trick with nginx which has to be done to show errors on screen? Now when there is error I got only white blank page.

nginx install fails on debian

I followed the nginx install instructions explicitly, but when I attempted to start up the server with

/etc/init.d/nginx start

I got the following error:

Starting nginx: [emerg]: mkdir() "/var/cache/nginx/client_body_temp" failed (2: No such file or directory)
nginx.

The following seems to have fixed it:

cd /var/cache
mkdir nginx
/etc/init.d/nginx start

.htacess

after running the Octopus installer, I noticed there was no .htaccess file in the aegir instance. this was causing the we welcom to nginx page to show up when I navigated to the site.

adding an .htaccess file corrected the problem

THANKS

EXIT on error due to invalid DNS setup.

When running $ bash BARRACUDA.sh.txt on VM with Debian lenny, I get EXIT on error due to invalid DNS setup.

I have customized BARRACUDA.sh.txt with these settings:

_MY_OWNIP="10.0.1.14"
_MY_HOSTN="lenny.ecade.me"
_MY_FRONT="aegir.ecade.me"

$ hostname -f returns lenny.ecade.me and $ ping lenny.ecade.me returns 64 bytes from lenny.ecade.me (10.0.1.14): icmp_seq=1 ttl=64 time=0.019 ms.

What can I do?

Disabling Solr / Tomcat for better memory usage

Whats the best way to disable Solr/Tomcat after running Barracuda?

I have a 1.5gb VPS and memory seems a bit tight. I notice java is using 400MB + and so i'm thinking of disabling / removing Solr since I currently don't need it and when I do I will probably have it on a separate VPS.

Thanks

Ben

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.