Problem.
Please assist.
From container log.(log below)
Postgresql database exists but will be upgraded from 13 to 16 : Fails
Updating from /pulp/pulp3:84 to /pulp/pulp3.86
Then 3.84.0 gives same error.
Note:
Proxy information has never been part of any running instance of Pulp.
Gives this error on starting.
Proxy details were never made available before this version 3.84
Seems 3.84.0 started to need it.
Proxy details are given in the image startup environment and in the settings.py file.
At the time the curl is tried here,
CentOS Stream 9 - BaseOS 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'baseos':
- Curl error (6): Couldn't resolve host name,
the proxy detail is not available it seems.
Trying the URL from a login to the container the URL can be reached as proxy environment variables are set.
https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http
bash-5.1$ curl https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http
[1] 1931
[2] 1932
bash-5.1$ <?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/" type="dynamic" pubdate="Tue, 26 Aug 2025 11:22:11 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager">
<!-- # either path=, or repo= and arch= must be specified -->
bash-5.1$ env|grep prox
no_proxy=localhost,127.0.0.1,.nuc,.group.net
https_proxy=http://lpmaster0.group.net:3128
http_proxy=http://lpmaster0.group.net:3128
bash-5.1$ id
uid=700(pulp) gid=700(pulp) groups=700(pulp)
Are there a new/changed way to start the image?
Please point me to the URL (that I am missing to implement 3.84.0 onwards)
Pulpcore version:
Image version still Fine
"Id": "b1d9f444c04f2ffdc03bd5f75f2d6cb840debbb49ea60f84ba5466104babbf37",
"Digest": "sha256:3fff1f19df868d535c4a18a95d882e76c5a64e3de0aa3b7799ccf59f236c5ecf",
/pulp/pulp:3.84 2.17GB
Image Version broken
"Id": "336676e8ad2f93ca53b56548308a8a10a18815858b164a30f556cb3ae57a44c7",
"Digest": "sha256:ec4b00a93d17d7957ea9813c58525cb5d5011c35fda92a7eeb0740155f2a2427",
/pulp/pulp:3.84 1.63 GB
Operating system - distribution and version:
SUSE Linux Enterprise Server 15 SP7
Container startup error.
s6-rc: info: service certs: starting
Checking /var/lib/pulp/media permissions
Calling /etc/init/certs
Checking /var/lib/pulp/scripts permissions
Checking /var/lib/pulp/tmp permissions
s6-rc: info: service fix-pulp-perms successfully started
[oneshot] certs: adding webserver certificate to the certificate store
[oneshot] postgres-init: Postgresql database exists but will be upgraded from 13 to 16
CentOS Stream 9 - BaseOS 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'baseos':
- Curl error (6): Couldn't resolve host name for https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http [Could not resolve host: mirrors.centos.org]
- Curl error (6): Couldn't resolve host name for https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http&countme=1 [Could not resolve host: mirrors.centos.org]
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.centos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http [Could not resolve host: mirrors.centos.org]
bash: line 1: /usr/pgsql-13/bin/pg_ctl: No such file or directory
psql: error: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
psql: error: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
Is the server running locally and accepting connections on that socket?
bash: line 1: /usr/pgsql-13/bin/pg_ctl: No such file or directory
[oneshot] postgres-init: initdb -D /var/lib/pgsql/data_new -E --locale= --auth=trust
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "C".
initdb: error: "--locale=" is not a valid server encoding name
[oneshot] postgres-init: failed to initialize the new database
s6-rc: warning: unable to start service postgres-init: command exited 1
[oneshot] certs: finished adding webserver certificate to the certificate store
s6-rc: info: service certs successfully started
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more
information.