Jump to content

Error with renewed community license


astenios

Recommended Posts

Hi!
 

We've just updated our community license but after restarted the server we have this error: 

 

2013-03-12 18:36:42,019 00000000-0000-0000-0000-000000000000 bamboo.asi.local ERROR Operations - Plastic server version: 4.2.29.402

2013-03-12 18:36:42,019 00000000-0000-0000-0000-000000000000 bamboo.asi.local ERROR Operations - OnError catching exception The given key was not present in the dictionary.

2013-03-12 18:36:42,024   ERROR Codice.CM.Server.ExceptionTracerSink - Dumping in-transit exception:There has been an unexpected error "The given key was not present in the dictionary.". For more information check the server log.

 

The same license file installed in my own pc works fine.

 

 

Link to comment
Share on other sites

I do not know if it will help, but when I run "cm li" the answer is:

[root@bamboo ~]# cm li
Información de licencia de Plastic SCM:


* Información de usuarios con licencia:

nava_xav                  ACTIVO
jaen_osc                  ACTIVO
aceb_pab                  ACTIVO
meri_alb                  ACTIVO
pele_jor                  ACTIVO
jura_emi                  ACTIVO
deploy                    ACTIVO
PROPIETARIO               INACTIVO (No tiene licencia)

 

I can't activate the owner user:

[root@bamboo ~]# cm au OWNER
No tiene permisos para activar el usuario OWNER. Para poder activar usuarios debe ser administrador del servidor de repositorios.
Link to comment
Share on other sites

After take a deeper look at the log file, it seems to be more a acl problem:
 
2013-03-13 13:06:34,589 00000000-0000-0000-0000-000000000000 PC010204454 INFO  Security - AllAclReader reading all acls for repository 13. 1 ms
2013-03-13 13:06:34,590 00000000-0000-0000-0000-000000000000 PC010204454 INFO  Security - AllAclReader reading all acl entries for repository 13. 0 ms
2013-03-13 13:06:34,590 00000000-0000-0000-0000-000000000000 PC010204454 INFO  Security - AllAclReader reading all acl inheritance entries for repository 13. 0 ms
2013-03-13 13:06:34,591 00000000-0000-0000-0000-000000000000 PC010204454 INFO  Security - AllAclReader updating ACL cache for repository 13. 0 ms
2013-03-13 13:06:34,591 00000000-0000-0000-0000-000000000000 PC010204454 INFO  Security - AllAclReader reading all acls for repository 1. 0 ms
2013-03-13 13:06:34,593 00000000-0000-0000-0000-000000000000 PC010204454 ERROR Operations - Plastic server version: 4.2.29.402

2013-03-13 13:06:34,593 00000000-0000-0000-0000-000000000000 PC010204454 ERROR Operations - OnError catching exception The given key was not present in the dictionary.

2013-03-13 13:06:34,600   ERROR Codice.CM.Server.ExceptionTracerSink - Dumping in-transit exception:There has been an unexpected error "The given key was not present in the dictionary.". For more information check the server log.

2013-03-13 13:07:06,607 00000000-0000-0000-0000-000000000000 bamboo.asi.local INFO  Operations - Check connection
2013-03-13 13:07:06,616 00000000-0000-0000-0000-000000000000 bamboo.asi.local INFO  Operations - Retrieve repository list
2013-03-13 13:07:06,633 00000000-0000-0000-0000-000000000000 bamboo.asi.local INFO  Security - AllAclReader reading all acls for repository 1. 0 ms
2013-03-13 13:07:06,633 00000000-0000-0000-0000-000000000000 bamboo.asi.local ERROR Operations - Plastic server version: 4.2.29.402

2013-03-13 13:07:06,633 00000000-0000-0000-0000-000000000000 bamboo.asi.local ERROR Operations - OnError catching exception The given key was not present in the dictionary.

2013-03-13 13:07:06,635   ERROR Codice.CM.Server.ExceptionTracerSink - Dumping in-transit exception:There has been an unexpected error "The given key was not present in the dictionary.". For more information check the server log.

 

 

 

 

As you can see, I'm totally lost :-P

Link to comment
Share on other sites

Well, seems to be solved!! :D

 

We've explored the MySQL database and remove orphaned lines in rep_1.acl, rep_1.aclentry and rep_1.aclinhentry and all works fine again :D
 
Play with backend database isn't a good idea if you don't know what are you doing :P
 
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...