Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%PATH% #7466

Open
Dmole opened this issue May 10, 2024 · 7 comments
Open

%PATH% #7466

Dmole opened this issue May 10, 2024 · 7 comments
Assignees
Labels

Comments

@Dmole
Copy link

Dmole commented May 10, 2024

Describe the bug

On Windows Backup and Restore exit with no error message.

To Reproduce

Steps to reproduce the behavior:

  1. After using the installer linked from https://www.postgresql.org/download/windows/
  2. Run pgAdmin 4
  3. Create a database
  4. Attempt to Backup from or Restore to the database
  5. See it error with no message or logs

Expected behavior

Backup / Restore should just work.
If they fail, pgAdmin 4 should log why.

Error message

Process failed
No longs available
Exit code 3221225781

Desktop (please complete the following information):

  • OS: Windows 10 (server 2022)
  • pgAdmin 4 Version: 7.8

Additional context

If the shown command is pasted into cmd.exe the following error is shown:

The code execution cannot proceed because libzstd.dll was not found.

echo %errorlevel%
-1073741515

Adding the PostgreSQL bin folder to the windows %PATH% fixes the issue.

@Dmole Dmole added the Bug label May 10, 2024
@khushboovashi
Copy link
Contributor

Hi,

Please uninstall pgAdmin and re-install it from https://www.pgadmin.org/download/ and check.

@dpage
Copy link
Contributor

dpage commented May 21, 2024

That seems like a workaround to the problem at hand. We should still fix the underlying issue, as other builds of pg_dump etc. may have similar dependencies.

@Dmole
Copy link
Author

Dmole commented May 22, 2024

Please uninstall pgAdmin and re-install it from https://www.pgadmin.org/download/ and check.

@khushboovashi (like postgresql.org) pgadmin.org links to enterprisedb.com for Windows, are you implying there is a fresh build with a fix?

@khushboovashi
Copy link
Contributor

Please uninstall pgAdmin and re-install it from https://www.pgadmin.org/download/ and check.

@khushboovashi (like postgresql.org) pgadmin.org links to enterprisedb.com for Windows, are you implying there is a fresh build with a fix?

pgadmin.org doesn't link with enterprisedb.com installers. But as a workaround, suggesting you install the pgAdmin installer, as we do not have this issue.

@Dmole
Copy link
Author

Dmole commented May 23, 2024

pgadmin.org doesn't link with enterprisedb.com

curl -s "https://www.pgadmin.org/download/pgagent-windows/" | grep -c enterprisedb.com
1

But I do see now that's the wrong large windows button ( 2x the height and contrast as the < h2 > )

Regardless

we do not have this issue.

I'll test re-installing, breaking the path, and testing if errors are shown.

@dpage
Copy link
Contributor

dpage commented May 23, 2024

pgadmin.org doesn't link with enterprisedb.com

curl -s "https://www.pgadmin.org/download/pgagent-windows/" | grep -c enterprisedb.com 1

That's for pgAgent, not pgAdmin.

@Dmole
Copy link
Author

Dmole commented May 23, 2024

That's for pgAgent, not pgAdmin.

@dpage read the next sentence in that comment and you will see I know that, but the bad page design leads to such errors.

Please uninstall pgAdmin

@khushboovashi that looks like it's not offered as an option without also removing PostgreSQL :/ (one must click uninstall instead of modify, then uninstall all, only then is the remove pgadmin an option)

You can check only pgAdmin checkbox and uninstall it.

re-install it from https://www.pgadmin.org/download/ and check.

@khushboovashi I installed it beside the existing version ( different install location and different shortcut name) and found that while there is no lib/path issue, if I make one (by renaming zlib.dll) pgAdmin fails to report the error that is thrown from pg_dump.

As a workaround, we suggest having the community version until we find a solution to run both the pgAdmin versions (community and EDB versions) side by side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants