Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
On running thingworxPostgresDBSetup i am getting following error.
psql:./thingworx-database-setup.sql:1: ERROR: role "twadmin" does not exist
psql:./thingworx-database-setup.sql:3: ERROR: tablespace "thingworx" does not e
xist
psql:./thingworx-database-setup.sql:5: ERROR: tablespace "thingworx" does not e
xist
psql:./thingworx-database-setup.sql:14: ERROR: role "twadmin" does not exist
psql:./thingworx-database-setup.sql:16: ERROR: database "thingworx" does not ex
ist
Press any key to continue . . .
End Execution
.
Solved! Go to Solution.
Hi @isha, If your issue is resolved, please post it here and mark it as the Accepted Solution for the benefit of others on the community.
-Vibhuti
Per error, twadmin user does not exist/not created.
Can you please check/confirm that a user role as twadmin was created using pgadmin tool in your Postgres database(on page 25 of the installation guide)?
If not, then you will need to create the user role twadmin manually before running the scripts.
Also, you may refer to this article for more information.
Thanks,
Vibhuti
Hi @isha, If your issue is resolved, please post it here and mark it as the Accepted Solution for the benefit of others on the community.
-Vibhuti