Looking at directory structure for Octopus user o1we see

backups -> /data/disk/o1/backups
clients -> /data/disk/o1/clients
platforms
static -> /data/disk/o1/static

In How to add custom platform properly? it is stated (and also by Hosting->Platform pathauto) that platforms should reside in ~/static.

Also, the import procedure advises the same directory, ~/static, to start with. That all (copying other site there, some temp files, make files, etc) produces a mess in my opinion.

On the other hand, there is platforms directory that seems vacant -> can that one be used to host my custom platforms?

I assume that clients directory is used for Add client under o1 user? (just to clarify)

UPDATE: me st00pid, sorry. I didn't think enough, obviously, as I saw that platforms reside in unix user space while static is under aegir (/data/disk/o1), but also looking at aegir user, there is also /data/disk/o1/platforms so:

  1. Why is it not symlinked as others are?
  2. Why not use this for custom platforms for user o1?
  3. What is it purpose otherwise?

Comments

MacMladen’s picture

Issue summary: View changes
omega8cc’s picture

Status: Active » Closed (works as designed)

The ~/static is an old default (not a mess) when there was no platforms directory in Aegir used yet, so we stick with this old default to not complicate things further. We plan to use platforms directory in the future for something else: as a location for custom platforms, but with core symlinked automatically as it is done for built-in platforms. When used, it will be also added to SSH/FTPS allowed access paths, obviously.

The clients subdirectory is used to manage automatically updated symlinks too all sites per client (owner) -- it is explained in the (long) welcome e-mail.

MacMladen’s picture

The plan for platforms is really obvious as I was doing it right now, that way by hand as I also saw that as a best way solution.

(I meant that ~/static will become mess with all transient files that are temporary in nature and platforms that should be persistent).

Also, connecting with #1437404: Running Non Drupal Sites Under Octopus, I think there should be some consistent way (and place) for users to add other types under BOA supervision so something like ~/static or ~/non-drupal should be somewhere in plans for next directory layout.

MacMladen’s picture

Somehow, my /data/disk/o1/clients/ have nothing inside and I was making symlinks by hand for some domains under development for easier access.

omega8cc’s picture

It is left for the instance owner/admin to manage sane subdirectory structure in the ~/static tree designed as a central tree for custom platforms. It will be mess only when you will do that mess there ;) There are no plans to change this simple structure with single, central location for all your custom platforms, besides adding ~/platforms at some point for planned new features.

omega8cc’s picture

You must associate at least one active site with a client account to see any symlinks added in the ~/clients tree. All symlinks are managed there for you and you should never ever touch anything in that tree, it is managed by Aegir. See also.

MacMladen’s picture

You mean, it needs to have explicitly set client in list, not empty checkboxes (which is the case as I manage them all anyway)?

omega8cc’s picture

Have you read the how-to linked in #6 above? I believe it answers your question. If not, please be more precise (some screenshot may help, probably).