Using the install script (v1.8) on Ubuntu 9.04
While on the wizard to install site, i got an error saying:

Drupal sites directory is not writable by the provisioning script

When i looked at the content of /var/aegir, not everything was owned by user aegir
Issuing the command chown -hR aegir:aegir /var/aegir/ solved the problem
I went back to the output of the install script and found this :
(...)
Making settings.php writable
chown: cannot access `/var/aegir/{.,*}[!.]*': No such file or directory
(...)

Maybe the problem is in the following line (of the install script) ?

chown -R $AEGIR_USER:$AEGIR_USER $AEGIR_HOME/{.,*}[!.]*

By the way, Thanks for this superb script ! and obviously for your efforts on aegir !

Comments

Anonymous’s picture

Version: 6.x-0.3 » 6.x-0.4-alpha1

I've just been installing Aegir on Ubuntu 9.04 and I seem to have issues executing commands like 'blah /path/to/{some,stuff}

So far it looks like Ubuntu doesn't play nicely with the aegir user being created with --system flag and not having a bash shell. The /bin/sh shell we drop it into seems different to the Debian one.

Thanks for the bug report!

anarcat’s picture

The problem is {.,*}[!.]*. That's bash-specific (I don't even know what it means). It needs to be re-written to be readable by a POSIX shell.

Anonymous’s picture

Status: Active » Fixed

Fixed in HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 761beed on 599758_edit_main_site, 640952_client_preview, dev-dns, dev-features, dev-headless_install, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newsiteform, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-relationships, dev-restore, dev-server_nodetype, dev-services, dev-site_rename, dev-ssl, dev_dns, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x authored by mig5:
    #592210 - change bash-centric commands that cause incompatabilities with...

  • Commit 761beed on 599758_edit_main_site, 640952_client_preview, dev-dns, dev-features, dev-headless_install, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newsiteform, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-relationships, dev-restore, dev-server_nodetype, dev-services, dev-site_rename, dev-ssl, dev_dns, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x authored by mig5:
    #592210 - change bash-centric commands that cause incompatabilities with...