Posted by cwittusen on September 13, 2011 at 7:00pm
I was trying to run update.php on one of my sites but it came back saying I didn't have permission and to edit settings.php; however, after reviewing that file it would appear I should not edit it as described but how would I then run update.php? I don't see anything via Aegir that tells me how to run update.php; I'm trying to do this after I have updated some custom modules for this site.

Comments
You can run update.php when
You can run update.php when you are logged in as uid=1. You can also use
drush dbupcommand in this site directory when logged in as your Octopususer.ftp. For Barracuda master instance you need to use your aegir user, sosu -s /bin/bash - aegirfirst and thendrush updatedb.You don't need to edit anything in settings.php
Follow on question
Thank you; now I'm not sure what the password is for my octopus user and or aegir because I don't remember setting the password for either one, would I damage anything by changing their passwords as root?
Additionally, I am trying to use a module called Pay to Publish and I'm not able to get to one of the back-end pages, I have cleaned the cache from inside of Drupal but I'm wondering if I have to remove the cache directories that nginx might create; however, I have reviewed the nginx config and I can't find where the cache directories are located and are there separate cache directories for each site?
Regards,
Chris W
You don't need Octopus or
You don't need Octopus or Aegir user password to run update.php. If you are running it via web, you must be logged in as your site admin. It is a Drupal obvious thing, unrelated to BOA.
Note that your Octopus/Aegir "system" user
o1doesn't have a valid shell and password (which is an Aegir default) and your Aegir "webmaster" usero1.ftphas limited shell only, with password sent to you via e-mail.You can always switch to your Octopus/Aegir "system" user from root and use standard bash shell with command:
$ su -s /bin/bash - o1But for daily use just log in as your
o1.ftpuser.As for caching, you may want to read the docs:
http://omega8.cc/speed-booster-cache-boost-and-advagg-108
Yet again, thank you
Thank you, I actually noticed today that I was able to run the update.php so somehow when I tried it the other day I must have thought I was logged in as admin but actually wasn't.
As for the o1 account (Octopus), I changed that in the script to be octopus, I take it that it really doesn't matter, that account still doesn't have a real shell account, is that a correct assumption?
By the way, how do I donate towards your great work?
Regards,
Chris W
You can choose any username
You can choose any username you wish when installing Octopus, and yes, its "system" Aegir account doesn't have a valid shell - it is normal.
If you wish to donate, both Barracuda and Octopus project pages have "Donations" section with link to our recommended charity.