ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
29 stars 21 forks source link

Re3gistry 2.5.0 restapi problem #309

Closed TeijoKal closed 10 months ago

TeijoKal commented 11 months ago

Installed Re3gistry 2.5.0 to our environment. Everything seemed to go like it should. But then i read the instructions of configuring the restapi part. After i run command line like in the instructions stated: curl --noproxy localhost -i -X GET http://localhost:8080/re3gistry2restapi/cacheall

After that nothing worked. When opening admin interface i managed to log in. And all other subpaged worked normally except Content. The result is the following:

After_cacheall

And it will stick in that. Not advancing at all.

unaibrrgn commented 10 months ago

Dear @TeijoKal,

do you have any updates on this issue? We are also currently having some issues with the cache. We will try to update you as soon possible.

Regards, Unai.

TeijoKal commented 10 months ago

Hello

I think the problem I had was fundamentally the database connection.

I reinstalled the whole Re3gistry2 application and after that it seems to be working now.

Only problem that I have now is the configuration of webapp part. The restapi works and returns the correctly the data but the webapp does not work.

I thonk the problem is the following lines in conf.js file

// The app's base URLs registryApp.domainURL = 'http://dev.luettelopalvelu.fi/registry'; registryApp.hostURL = '//luettelopalvelu/re3gistry2'; registryApp.searchURL = '//luettelopalvelu/registry/search'; registryApp.searchApiURL = '//luettelopalvelu/registry/searchapi'; registryApp.dataServiceURL = '//luettelopalvelu/registry/rest';

Teijo

Lähettäjä: unaibrrgn @.> Lähetetty: maanantai 16. lokakuuta 2023 12.08 Vastaanottaja: ec-jrc/re3gistry @.> Kopio: Kalliomäki Teijo @.>; Mention @.> Aihe: Re: [ec-jrc/re3gistry] Re3gistry 2.5.0 restapi problem (Issue #309)

Dear @TeijoKalhttps://github.com/TeijoKal,

do you have any updates on this issue? We are also currently having some issues with the cache. We will try to update you as soon possible.

Regards, Unai.

- Reply to this email directly, view it on GitHubhttps://github.com/ec-jrc/re3gistry/issues/309#issuecomment-1764045209, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3NIYNLJF7BSMNQ2ERKUXE3X7T2ODANCNFSM6AAAAAA47XX5LA. You are receiving this because you were mentioned.Message ID: @.**@.>>

TeijoKal commented 10 months ago

It was a database issue. Now after installing everything again the restapi works.