RPM for pmm-server is missing some files

Description

When running with DISABLE_UPDATES=true docker container restarts with this error:

# docker logs pmm-server sed: can't read /usr/share/pmm-server/landing-page/index.html: No such file or directory ...

This is the relevant part - https://github.com/percona/pmm-server/blob/v1.9.0/entrypoint.sh#L56-L58

# rpm -qlp pmm-server-1.8.1-7.1803090957.6999077.el7.noarch.rpm | grep "/usr/share/pmm-server/landing-page/index.html" /usr/share/pmm-server/landing-page/index.html # rpm -qlp pmm-server-1.10.0-10.1804091356.967f528.el7.noarch.rpm | grep "/usr/share/pmm-server/landing-page/index.html"

How to test

None

How to document

None

Smart Checklist

Activity

Derek Perkins May 22, 2018 at 1:29 AM

The same is true for the 1.10 Docker release.

https://jira.percona.com/projects/PMM/issues/PMM-2579

C W May 1, 2018 at 1:38 PM

I have added a PR that tests for the presence of the old landing page when checking for DISABLE_UPDATES

Done

Details

Assignee

Reporter

Priority

Components

Labels

Fix versions

Affects versions

Smart Checklist

Created April 11, 2018 at 9:34 PM
Updated March 6, 2024 at 7:39 AM
Resolved May 24, 2018 at 9:29 AM

Flag notifications