How to switch to new semarchy_repository database?
P
Paul.gilligan
started a topic
about 4 years ago
We have been trying a cloud install whereby we create a new VM using the Semarchy xDM image in azure which creates the xDM application, this installs a default postgres database which is then populated ok.
If I use psql I can see that xDM tables are populated:
What we could like todo is hook up the xDM application to a different semarchy_repository database and to have the application re-populate
the schemas.
When we switch to a SQL Database, connection/auth have been verified, and then restart tomcat to restart the xDM all seems fine but no tables in the new database.
It is not clear from docs that setting SEMARCHY_SETUP_TOKEN will trigger this and or how SEMARCHY_SETUP_TOKEN should best be setup with the tomcat setup that has been installed.
Interesting that we get NO errors from semarchy and that it seems all is ok but of cause the application is not available from the web.
Best Answer
S
Stéphanie FOURRIER
said
about 4 years ago
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
export SEMARCHY_SETUP_TOKEN=<your_token_value>
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Best regards,
Stéphanie.
1 Comment
S
Stéphanie FOURRIER
said
about 4 years ago
Answer
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
export SEMARCHY_SETUP_TOKEN=<your_token_value>
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Paul.gilligan
We have been trying a cloud install whereby we create a new VM using the Semarchy xDM image in azure which creates the xDM application, this installs a default postgres database which is then populated ok.
If I use psql I can see that xDM tables are populated:
What we could like todo is hook up the xDM application to a different semarchy_repository database and to have the application re-populate
the schemas.
When we switch to a SQL Database, connection/auth have been verified, and then restart tomcat to restart the xDM all seems fine but no tables in the new database.
It is not clear from docs that setting SEMARCHY_SETUP_TOKEN will trigger this and or how SEMARCHY_SETUP_TOKEN should best be setup with the tomcat setup that has been installed.
Interesting that we get NO errors from semarchy and that it seems all is ok but of cause the application is not available from the web.
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Best regards,
Stéphanie.
Stéphanie FOURRIER
Hi Paul,
it seems that you created a ticket for this same question.
I'm writting the conclusion of the ticket in case it helps others:
The SEMARCHY_SETUP_TOKEN needed to be set as an environment variable in the setenv.sh, in your case, using
Because you are running tomcat on a Linux server. The samples to set environment variables were described here in our documentation.
Best regards,
Stéphanie.
-
xDM on Docker
-
Application Server Gives 404 Error
-
Change Prod Repository Type Without Reinstallation
-
Enable Access to Azure File Storage?
-
Why am I getting Status 404 -- Not Found Error on Azure?
-
Resolve "Unable to Create Work Directory" Error
-
What's the default font for Semarchy application?
-
Plain Text Password in Tomcat Config Files
-
How Can I Resolve "CREATE TABLE permission denied" error in SQL Server?
-
How to resolve 'This stream is not writable' Tomcat error?
See all 16 topics