Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] a few issues with installing CoManage

Subject: COmanage Users List

List archive

Re: [comanage-users] a few issues with installing CoManage


Chronological Thread 
  • From: Benn Oshrin <>
  • To:
  • Subject: Re: [comanage-users] a few issues with installing CoManage
  • Date: Fri, 21 Feb 2014 23:57:00 -0500

On 2/17/14 3:40 AM, Niels van Dijk wrote:

I'm following the wiki on installing comanage-registry.
At
https://spaces.internet2.edu/display/COmanage/Registry+Installation+-+Database
"Install Database Schema" it says to run ./Console/cake database which
should set up the database. During this process cake tries to write in
the app/tmp directory.

However, in the previuos step "Move /tmp Directory" on
https://spaces.internet2.edu/display/COmanage/Registry+Installation+-+Source
ownership of this tmp space was changed to the http user. So unless one
is using the http user as the user for running the DB create script the
create command fails.

I've added a bit of clarifying language to the wiki. We need to simplify this at some point.

After fixing that, permissions error is gone, but a new error pops up:
PHP Warning: /var/www/data/comanage-registry/app/tmp/cache/models/ is
not writable in
/var/www/data/comanage-registry/lib/Cake/Cache/Engine/FileEngine.php on
line 384

a quick ls reveals that in fact this directory does not exist :
[niels@i-6010f238
app]$ ls -l /var/www/data/comanage-registry/app/tmp/cache
total 8
drwxrwx--- 2 apache niels 4096 Feb 13 14:48 persistent
drwxrwx--- 2 apache niels 4096 Feb 13 14:26 views
[niels@i-6010f238
app]$

mkdir /var/www/data/comanage-registry/app/tmp/cache/models
fixes the problem, but I think it should be part of the installation, right?

Yes. tmp directories are normally excluded from the source repo, and I hadn't taken any action to add it after a recent framework upgrade. That's fixed now, and the directory is now in the develop branch (and eventually master).

Thanks,

-Benn-




Archive powered by MHonArc 2.6.16.

Top of Page