A valid PostgreSQL CMS connection could not be established.

2»

Comments

  • every tme I run daz studio I get this error message A valid PostgreSQL CMS connection could not be established.  Several DAZ Studio features that require a valid PostgreSQL CMS connection, such as context aware content views and loading content installed using the Daz Connect service, will not be available.
    Check any network, anti-virus, anti-malware, anti-ransomware, and/or firewall settings for potential conflicts.I have tried every thing I can thing of and even tried a couple of tricks I found on the web. But nothing seem to work.

  • frank0314frank0314 Posts: 14,733

    Have you tried to make sure it is installed, or uninstall it then reinstall it?

  • RaketeRakete Posts: 93
    edited April 2024

    I just had this problem and I believe it was actually some kind of authorization problem caused by a previous installation on a machine where I recently tried to install Daz again.

    After installing through DIM the postgres connection worked fine, I would also get my products in smart content, but there was still that "Could not establish valid Postgres connection" error when starting Daz. To solve it I had to not just uninstall everything Daz related, but also manually delete %APPDATA%\DAZ 3D and everything else I could find, then also use regedit to search for "DAZ 3D" and delete all relevant keys there as well (one in particular had all kinds of Daz settings, like my login email I think).

    After I've done that it worked again.

    You can tell if you've really cleaned up your old installation if Daz asks you to participate in the DAZ Studio improvement program on first startup, and asks you to login etc. If it doesn't do that then you still have some stale login data that I believe can cause this error.

     

    Post edited by Rakete on
  • Richard HaseltineRichard Haseltine Posts: 108,459

    It may also have been permission issues on one of the files or folders you deleted, rather than a registry issue (and editing the Registry is a pretty high-risk action, certainly doing it broad-brush).

  • Max 3DMax 3D Posts: 3

    same problem tried everything, even uninstalled nordvpn, still an issue.. :/

  • Max 3D said:

    same problem tried everything, even uninstalled nordvpn, still an issue.. :/

    Which everythings? What are your system details and path settings? Have you checked to see if PostgreSQL runs, as a background procesds, when Daz Studio launches?

  • It was not working for me, and i tried all the possible ways to solve it, Atlast in windows defender firewall, i added the DAZSTUDIO and allowed to communicate through private and public 

    and it is working fine now and no more error

  • JQPJQP Posts: 524

    sandmanmax said:

    I don't use context aware content or DAZ Connect.  Why do I need this?  (And yes, I"m getting the error, too)  Does it have anything to do with the DAZ  Content Management Service?

    I don't use them either, and would like to see this question answered. 

  • IceCrMnIceCrMn Posts: 2,324

    make sure you have a valid Daz Connect Data folder set, even if you don't use it.

    I had this problem and setting this to a folder, even an empty one, was the only way to fix it.

    It can be anywhere.

    If you don't use Connect, it will never have anything in it.

    {C84A49CA-2E52-48B5-9ED5-2FA56A6B91C0}.png
    1459 x 944 - 294K
  • jmucchiellojmucchiello Posts: 699

    I've had this issue a few times recently. I created a couple batch files:

    To Stop the server:

    @echo off<br /> cd /d &quot;D:\Daz3D-Install\Applications\64-bit\DAZ 3D\PostgreSQL CMS\bin&quot;<br /> pg_ctl -w -D &quot;D:\Daz3D-Install\Applications\Data\DAZ 3D\Content Database\ContentCluster&quot; stop<br /> pause

    To Start the server:

    @echo off
    cd /d "D:\Daz3D-Install\Applications\64-bit\DAZ 3D\PostgreSQL CMS\bin"
    start pg_ctl -w -D "D:\Daz3D-Install\Applications\Data\DAZ 3D\Content Database\ContentCluster" start
    pause

    You would have to replace D:\Daz3D-Install with whereever you have Daz installed. Usually C:\Program Files\Daz3D, I think.

    But running them is the easiest fix I've found.

    (The version that comes with DAz is the only PostgreSQL on my system.)

     

     

Sign In or Register to comment.