Upgrade InfoArchive 20.4 to IA 22.2

Options

Hello,

I am immersed in the process of upgrading from InfoArchive20.4 to InfoArchive22.2.

I have carried out all the previous steps described in the manual correctly and satisfactorily. The last step I did was run the prepare-migration and sdx-migration scripts, which finished successfully.

Now, I have started the services xdb-server (host dcinf012) and iaserver and iawebapp (both on host dcinf011).

I have the problem when running the script ./upgrade from the path <IA_UPGRADE_TO_ROOT>/ first-time-setup/applications on the iaserver host (dcinf011), I get the following error:

"ERROR o.s.s.o.p.endpoint.TokenEndpoint - Handling error: IllegalStateException, Cannot convert access token to JSON"

Could someone help me?

If you need more information, I will be happy to provide it.

Thanks and regards.

Answers

  • diana658h
    edited May 16 #2
    Options

    Hello, @Carlos Romerofloridablue

    The error you’re encountering, “Cannot convert access token to JSON,” suggests there might be an issue with the token’s format or the process handling it. Here are a few steps you could take to troubleshoot this problem:

    Verify Token Generation: Ensure that the access tokens are being generated correctly by your authentication server.
    Check Token Validity: Confirm that the tokens have not expired and are still valid for use.
    Review OAuth2 Configuration: Look into the OAuth2 server configuration to make sure it’s set up correctly.
    Inspect Application Logs: Check the application logs for any additional information that might point to the cause of the error.
    Update Dependencies: If you’re using third-party libraries, ensure they are up-to-date and compatible with the version of InfoArchive you’re upgrading to.
    If these steps do not resolve the issue, you might want to consult the documentation for InfoArchive22.2 or reach out to their support for more specific guidance. It’s also helpful to share the exact error logs and configuration details when seeking assistance, as this can provide more context to those helping you.

    Best Regard,
    diana658h