From: Steve S. <ste...@co...> - 2003-12-04 18:58:50
|
Chris Winters <ch...@cw...> wrote: > The latter. There's a catalog (for lack of a better word) of the > packages installed to the repository at: > > $REPOSITORY/conf/package_repository.perl I got that one and it was (I think) still complaining. But I may have other issues ... > Here are the players: > > base repository - maintains a copy of all packages installed to OI; > this is where 'install_package' puts the files; (This is what you'd set > the 'OPENINTERACT' environment variable to as a shortcut.) I normally > create this in /opt/OpenInteract, but your layout may vary. > > website - all the packages (plus old copies) for a particular > website; this is where 'apply_package' or 'upgrade_package' puts the > files and metadata, and where your website actually runs from. I > normally create these under /home/httpd with the site name as the > directory (e.g., /home/httpd/mysite.com, /home/httpd/funyuns.com, etc.) > Under the main site directory are the top-level OI directories: conf/, > pkg/, html/, log/, etc. > > Each website is associated with a base repository from which it > draws the package information when 'apply_' or 'upgrade_package' is run. > So when you 'install_package' it gets put into the base repository and > is then available to all websites associated with that repository. > > Does that make sense? It makes sense, but I believe I screwed up. Some of the site directories you mention are one level up at the base site directory. I think I created the site, but then gave a site directory of the site base in subsequent oi_manage commands. But my site is working ... except for that removal. I'll have to poke around. Since it's a single site, I may have just done it that way. So I have /usr/local/sites. My site name (not real) is XXXX and I have a /usr/local/sites/XXXX with only a Stash.pm in it -- conf, html, logs, doc, data, cache, etc. are all under /usr/local/sites. Assuming I did screw up (probably a safe assumption 8-), how safe is it to move things where they belong? Or is it easiest to just re-run the site installation the right way? I have not changed a lot but I have changed some aspects of the site. I wouldn't want to lose those changes. I can manually change database entries if needed. -- Steve Sapovits ste...@co... |