Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] ParseError upgrading to COmanage Registry 4.1.1

Subject: COmanage Users List

List archive

Re: [comanage-users] ParseError upgrading to COmanage Registry 4.1.1


Chronological Thread 
  • From: Benn Oshrin <>
  • To: "" <>, "Greg Vogl" <>
  • Subject: Re: [comanage-users] ParseError upgrading to COmanage Registry 4.1.1
  • Date: Fri, 17 Mar 2023 11:16:47 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=internet2.edu; dmarc=pass action=none header.from=internet2.edu; dkim=pass header.d=internet2.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zneHFs5nF8jiu/Qz82jYexH4TVCe24+DvXyDkMtdnf8=; b=L4ji3LeiOcaCEW8M5cIJJFAlnkCtCYn1i2sG0kwZRCNNbZi0zzARlAokovpHVTu7p21DNyl9PVVa3LnCiCQbQy/HiqvOfYdGd0tr+RJZ7Ga22xK7ztGmjHTzrwA8u4MDcipB5EsaKvTjHMSRDrw1XsdACWo80GH82utS8sGYOtGiTwp09B60wB083zyeUmoi4emW7wTYIf/M+R/Tya09lKG5W9zQfSlPrta4VMvU8pmUNRLwy4YAbFBq1ZFozHIl2SfWsIWQtVQxfPRYgBGL8Qe7fnWxxIa5eK4pJcSBhIpm1P1kn1OLebuZHMVU5Y02QiQTYVLM9VB7WcXDybovVw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ESC7nmtlRvaAQ9KpITwtt9dJJd6W5nEkZiv2XovZiCsH6NqONzMkW1oNbI1P+MhtKSlcWhDIZYlwY7QAAzBE7g1tQfyfycrzHCN7pwXae2rFkXUDvnUGRrtaCDMp+Z7CHttFFuTDl5KA6UY5mYdUfaP9EVtVhNtiWVKSPlf53/ef0vzKfbAaf7wAEz+3zBiQ4XtJJCp+H6AIcQqWwVQsEDP+DGW8Jdp/HbiuOuzGEOr60FdndnT2MrwM2vYhbzvt8L5rinQ4XDiKD0ka/kSVuq23xaDBBJAmSPSkQRaPisHte4BdwoFoEbOXjFMRv56zBdHIHcF5MG2NkFg/FbUJpg==
  • Msip_labels:

Hi Greg,

I just tested develop and this API call works for me, so I'm guessing it's something other than a bug. (That said, I believe 4.1.2 is due out soon, so one option would be to retest with that.)

Occasionally I've had filesystem caching problems when updating the code, this could be a manifestation of a similar problem. On Debian (and so probably Ubuntu) you can force clearing of filesystem caches via

# echo 3 > /proc/sys/vm/drop_caches

If you're still seeing problems with the latest codebase and clearing caches doesn't help we can try to figure out what to look at next.

Thanks,

-Benn-

From: <> on behalf of Greg Vogl <>
Sent: Sunday, March 12, 2023 11:29 AM
To: <>
Subject: [comanage-users] ParseError upgrading to COmanage Registry 4.1.1
 
Hello,

I am trying to upgrade COmanage Registry from 4.0.2 to 4.1.1 in preparation of
migrating from our outdated LAMP infrastructure to newer VMs.
The current VM is running Ubuntu 18.04, Apache 2.4.29, MySQL 5.6.16, PHP
7.2.24.
I had similar issues with a newer VM running Ubuntu 22.04, Apache 2.4.52,
MySQL 5.6.16, PHP 8.1.

I am getting this error when trying to run an API call as well as loading the
registry home page.

How can I troubleshoot further?

2023-03-12 14:48:38 Error: [ParseError] syntax error, unexpected ')'
Request URL: /registry/identifiers.json?copersonid=3021328
Stack Trace:
#0 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Routing/Router.php(596):
Router::_loadRoutes()
#1 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Routing/Dispatcher.php(219):
Router::parse('identifiers.jso...')
#2 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Event/
CakeEventManager.php(244): Dispatcher->parseParams(Object(CakeEvent))
#3 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Routing/Dispatcher.php(147):
CakeEventManager->dispatch(Object(CakeEvent))
#4 /srv/comanage/comanage-registry-4.1.1/app/webroot/index.php(96):
Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}

2023-03-12 14:49:50 Error: [ParseError] syntax error, unexpected ')'
Request URL: /registry/
Stack Trace:
#0 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Routing/Router.php(596):
Router::_loadRoutes()
#1 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Routing/Dispatcher.php(219):
Router::parse('')
#2 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Event/
CakeEventManager.php(244): Dispatcher->parseParams(Object(CakeEvent))
#3 /srv/comanage/comanage-registry-4.1.1/lib/Cake/Routing/Dispatcher.php(147):
CakeEventManager->dispatch(Object(CakeEvent))
#4 /srv/comanage/comanage-registry-4.1.1/app/webroot/index.php(96):
Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}

Thanks,

Greg Vogl
Identity & Access Management
Colorado State University



Archive powered by MHonArc 2.6.24.

Top of Page