|Posted: Sat, 2007-04-07 21:50|
I didn't take a bite into Multisite installations until 2.2-rc1 - I do have a question or two about the Installer/Upgrader in regards to how and when it detects "permissions" issues of the target directory (eg. /path/to/username/htdocs/gallery2/)
In all of the fresh multisite installations I created, the Installer would always detect a target directory that is writeable and it would put a notice (with a "recheck" or "continue" option) for you to take action upon. And everytime I encounter that notice (a good reminder for the careless admin), I would execute a small shell script to issue the following commands:
chown -R username:group /path/to/usr/home/username/htdocs/gallery2/
the Installer would continue on and complete the multisite setup.
However, when I was converting standalone 2.1.2 sites to 2.2.1 multisites, that same "notice" would only appear at random. Before I open the Installer to begin the conversion process, here's what I do:
mv /path/to/usr/home/username/htdocs/gallery2/config.php /path/to/usr/home/username/.
the Installer runs as expected, then finally it would tell me to open the URL address of the new multisite (converted from a standalone) to run the upgrader instead (since it's not a fresh install) - i guess this is the default behavior since all it did was create the skeleton files and multisite config.php file (reusing the same ~/g2data/ and database info)
please advise, thanks!