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

Photon OS 5 and PostgreSQL 15 installation is not complete #1537

Open
jakekn354 opened this issue Jan 24, 2024 · 5 comments
Open

Photon OS 5 and PostgreSQL 15 installation is not complete #1537

jakekn354 opened this issue Jan 24, 2024 · 5 comments
Assignees
Labels

Comments

@jakekn354
Copy link

Describe the bug

If you install PostgreSQL 15 from default repository systemctl scripts are not available.

Reproduction steps

  1. Install Photon OS 5 GA OVA
  2. Install PostgreSQL 15 from default repository
  3. Try enable service with systemctl command
    ...

Expected behavior

There is no systemctl scripts for postgresql

Additional context

No response

@jakekn354 jakekn354 added the bug label Jan 24, 2024
@dcasota
Copy link
Contributor

dcasota commented Jan 24, 2024

Hi @jakekn354 ,

Well, for security purposes, the Photon OS postgresql packages do not configure any default instance.
This isn't the same like e.g. in Debian with a systemd unit generator.

In a very easy way, create an instance by specifying a local user, data directory, your postgres configuration and your /etc/systemd/system/postgresql.service file, see docs.

Postgresql version migration is documented here.

For remote configuration, monitoring, etc., have a look to pmd-nextgen overview.

Keep in mind security hardening & database maintenance tasks, see vcsa example files.

Hope this helps.
Daniel

@jakekn354
Copy link
Author

Thanks. That explains, we will try manual configuration

@sshedi
Copy link
Contributor

sshedi commented Jan 25, 2024

I'm working on it.

@sshedi
Copy link
Contributor

sshedi commented Feb 26, 2024

This is done on Ph4 and above branches. Please close this issue.

@dcasota
Copy link
Contributor

dcasota commented Feb 26, 2024

@sshedi fdbd05b is out awhile, but Postgresql14 - 14.11.2 - is missing on https://packages.vmware.com/photon/5.0/photon_updates_5.0_x86_64/x86_64/.
In addition, packages list in https://packages.vmware.com/photon/5.0/photon_5.0_x86_64/x86_64/ stops at libpcap-1.10.1-1.ph5.x86_64.rpm
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants