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

[Bug]: When performing a clean install on Windows, some files are missing for PG15 #5125

Closed
benneharli opened this issue Dec 24, 2022 · 4 comments

Comments

@benneharli
Copy link

What type of bug is this?

Unexpected error

What subsystems and features are affected?

Build system, Packaging, Platform/OS

What happened?

Refer to this post: https://timescaledb.slack.com/archives/C5X6UVB24/p1671581588175699

TimescaleDB version affected

2.9.0

PostgreSQL version used

15.1

What operating system did you use?

Windows 10

What installation method did you use?

Other

What platform did you run on?

On prem/Self-hosted

Relevant log output and stack trace

No response

How can we reproduce the bug?

1. Install PG 15 from EDB
2. Install TS 2.9.0
@benneharli benneharli added the bug label Dec 24, 2022
@svenklemm
Copy link
Member

We test our package installation in CI and no files seem to be missing.
https://github.com/timescale/timescaledb/actions/runs/3768910545

You can find the code for the windows package test here: https://github.com/timescale/timescaledb/blob/main/.github/workflows/windows-packages.yaml

@benneharli
Copy link
Author

benneharli commented Dec 26, 2022

Sorry, I guess I wasn't being 100% clear. The issue is as such not files missing in the TimescaleDB installer. You include the files you always did. The issue is, that you're relying on libraries, which are no longer included in the Windows installer from EnterpriseDB.

This happened "back then" as shown in the linked post. The error message is not that clear though.
https://timescaledb.slack.com/archives/C63MYDZ35/p1565685079085400

Link to installer: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Select the 15.1 installer

The files missing from the /bin directory are: libcrypto-1_1-x64.dll, libssl-1_1-x64.dll

You can copy those two from the /bin directory of a PG14 installation, and it then works.

So the issue is, that you either rely on libraries which are now deprecated in the installers delivered by EnterpriseDB, or that you liaise with EnterpriseDB to get the two files included again in their distribution.

image

@horzsolt
Copy link

horzsolt commented Jan 2, 2023

@benneharli (and anyone who faces the same issue), the missing dependencies can be downloaded from here:
https://wiki.openssl.org/index.php/Binaries (if there is no existing PG14 instance available to copy the missing files from).

@svenklemm The tests passed as the image Github provides for Windows has OpenSSL 1.1.1 pre-installed. So it means we should update our Windows packaging for PG15. I will create an internal Github issue for this effort.

@mahipv
Copy link
Contributor

mahipv commented Apr 26, 2023

Currently openssl 1.1.1 is a prerequisite on windows installation, it has been updated in the docs.
https://docs.timescale.com/self-hosted/latest/install/installation-windows/#prerequisites

@mahipv mahipv closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants