Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] Comanage registry installation help

Subject: COmanage Users List

List archive

Re: [comanage-users] Comanage registry installation help


Chronological Thread 
  • From: Benn Oshrin <>
  • To: Dhinakaran Ramaian <>
  • Cc:
  • Subject: Re: [comanage-users] Comanage registry installation help
  • Date: Wed, 14 Apr 2021 08:24:13 -0400

Hi Dhina,

By way of disclaimer, the project does not actively test on Windows based infrastructure, and I'm not aware of any deployments on Windows.

With that said, the key issue here appears to be that the database schema did not successfully apply to the database. What database server are you using? Did any tables get created successfully?

Thanks,

-Benn-

On 4/13/21 2:29 PM, "Dhinakaran Ramaian" (via comanage-users Mailing List) wrote:
I am trying to install comanage registry in windows 10.
Below is the output for cake database

Welcome to CakePHP v2.10.22 Console
---------------------------------------------------------------
App : app
Path: c:\dhina\comanage-registry-3.3.2\app\
---------------------------------------------------------------
Loading schema from file c:\dhina\comanage-registry-3.3.2\app\/Config/Schema/
schema.xml...
This make take a few minutes for large datasets, please do not interrupt.
Possibly failed to update database schema
No schema found for DefaultNormalizer
Loading schema from file c:\dhina\comanage-registry-3.3.2\app\/Plugin/
EnvSource/Config/Schema/schema.xml...
This make take a few minutes for large datasets, please do not interrupt.
Database schema update successful
Loading schema from file c:\dhina\comanage-registry-3.3.2\app\/Plugin/
GrouperProvisioner/Config/Schema/schema.xml...
This make take a few minutes for large datasets, please do not interrupt.
Database schema update successful
No schema found for IdAssignerJob
Loading schema from file c:\dhina\comanage-registry-3.3.2\app\/Plugin/
LdapProvisioner/Config/Schema/schema.xml...
This make take a few minutes for large datasets, please do not interrupt.
Possibly failed to update database schema
No schema found for Linkable
Loading schema from file c:\dhina\comanage-registry-3.3.2\app\/Plugin/
OrcidSource/Config/Schema/schema.xml...
This make take a few minutes for large datasets, please do not interrupt.
Database schema update successful
No schema found for ProvisionerJob
Loading schema from file c:\dhina\comanage-registry-3.3.2\app\/Plugin/
SshKeyAuthenticator/Config/Schema/schema.xml...
This make take a few minutes for large datasets, please do not interrupt.
Database schema update successful

After that, when i try to run cake setup,
i am getting this error complaining Error: Table cm_co_group_members for model
CoGroupMember was not found in datasource default.

c:\dhina\comanage-registry-3.3.2\app>.\Console\cake setup


Welcome to CakePHP v2.10.22 Console
---------------------------------------------------------------
App : app
Path: c:\dhina\comanage-registry-3.3.2\app\
---------------------------------------------------------------
Enter administrator's given name
Dhina
Enter administrator's family name
Ramaian
Enter administrator's login username

- Creating COmanage CO
Error: Table cm_co_group_members for model CoGroupMember was not found in
datasource default.
#0 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Model.php(3686): Model-
setSource('co_group_member...')
#1 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Model.php(1394): Model-
getDataSource()
#2 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Datasource
\DboSource.php(2663): Model->schema()
#3 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Datasource
\DboSource.php(1886): DboSource->fields(Object(CoGroupMember),
'CoGroupMember', '')
#4 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Datasource
\DboSource.php(1377): DboSource->generateAssociationQuery(Object(CoGroup),
Object(CoGroupMember), 'hasMany', 'CoGroupMember', Array, Array, true)
#5 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Datasource
\DboSource.php(1257): DboSource->queryAssociation(Object(CoGroup),
Object(CoGroupMember), 'hasMany', 'CoGroupMember', Array, Array, true, Array,
0, Array)
#6 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Model.php(3053): DboSource-
read(Object(CoGroup), Array)
#7 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Model.php(3025): Model-
_readDataSource('first', Array)
#8 C:\dhina\comanage-registry-3.3.2\app\Model\CoGroup.php(380): Model-
find('first', Array)
#9 C:\dhina\comanage-registry-3.3.2\app\Model\Co.php(528): CoGroup-
addDefaults('2')
#10 C:\dhina\comanage-registry-3.3.2\app\Model\Co.php(137): Co->setup('2')
#11 C:\dhina\comanage-registry-3.3.2\lib\Cake\Event\CakeEventManager.php(242):
Co->afterSave(true, Array)
#12 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Model.php(1970):
CakeEventManager->dispatch(Object(CakeEvent))
#13 C:\dhina\comanage-registry-3.3.2\lib\Cake\Model\Model.php(1760): Model-
_doSave(Array, Array)
#14 C:\dhina\comanage-registry-3.3.2\app\Console\Command\SetupShell.php(159):
Model->save(Array)
#15 C:\dhina\comanage-registry-3.3.2\lib\Cake\Console\Shell.php(462):
SetupShell->main()
#16 C:\dhina\comanage-registry-3.3.2\lib\Cake\Console
\ShellDispatcher.php(222): Shell->runCommand(NULL, Array)
#17 C:\dhina\comanage-registry-3.3.2\lib\Cake\Console\ShellDispatcher.php(66):
ShellDispatcher->dispatch()
#18 C:\dhina\comanage-registry-3.3.2\app\Console\cake.php(41):
ShellDispatcher::run(Array)
#19 {main}

Any pointer on how to resolve this issue?

Thanks,
-Dhina




Archive powered by MHonArc 2.6.24.

Top of Page