This message was deleted.
# puppet-enterprise
s
This message was deleted.
b
what's the setup? A single primary with local postgresql?
d
It's a large installation with one primary, one replica and 2 compilers
b
what's the PE 2021 version you're on
d
2021.4.0
b
that's quite old. I'm not sure if that still has postgresql 11 in it
d
it does, it says it will upgrade to psql 14
should I pass by the intermediate version ?
b
I recommend to upgrade to 2021.7.4 first
do you run the installer by hand or do you use puppetlabs/peadm?
d
d
Gotcha, restoring back up and doing it. Will keep to thread posted. Was doing by hanf
b
the new fancy pancy way of doing things is https://github.com/puppetlabs/puppetlabs-peadm
it provides bolt plans to install/upgrade/modify PE installations
d
going to give it a shot, thanks for the headsup
👍 1
b
PE 2021.6 introduced postgresql 14. IF you run into problems again I recommend upgrading to 2021.5 first
d
Just to confirm, I need to follow https://github.com/puppetlabs/puppetlabs-peadm/blob/main/documentation/upgrade.md once the module is installed ?
b
d
Bolt is not in my path is it expected ?
b
depends
did you install it?
d
Copy code
root@pe-main:~# find / -name bolt
find: '/proc/16050/task/16050/net': Invalid argument
find: '/proc/16050/net': Invalid argument
/opt/puppetlabs/puppet-metrics-collector/bolt
/opt/puppetlabs/installer/lib/ruby/gems/2.7.0/gems/bolt-3.20.0/lib/bolt
/opt/puppetlabs/installer/lib/ruby/gems/2.7.0/gems/bolt-3.20.0/exe/bolt
/opt/puppetlabs/installer/bin/bolt
/opt/puppetlabs/server/apps/bolt-server/lib/ruby/gems/bolt-3.20.0/lib/bolt
/opt/puppetlabs/server/apps/bolt-server/lib/ruby/gems/bolt-3.20.0/exe/bolt
/opt/puppetlabs/server/apps/bolt-server/bin/bolt
/opt/puppetlabs/server/data/orchestration-services/.puppetlabs/bolt
b
if you install the official rpm/deb packages it should put a file in /usr/bin/ I think
d
gotcha
even after apt install bolt, it's not in path\
lol not the right bolt
Copy code
bolt/bionic-updates,now 0.5-0ubuntu0.18.04.1 amd64 [installed]
  system daemon to manage thunderbolt 3 devices
b
🙂
yeah the name isn't perfect 😞
I think the package is named puppet-bolt
👌 1
d
bolt plan show
doesn't have peadm
b
you need to install the module
did you do that?
d
Copy code
ls -l /etc/puppetlabs/code/environments/production/modules/peadm/
total 156
-rw-r----- 1 pe-puppet pe-puppet 20473 Jun 13 07:35 CHANGELOG.md
-rw-r----- 1 pe-puppet pe-puppet   340 Jun 13 07:35 CODEOWNERS
-rw-r----- 1 pe-puppet pe-puppet  6990 Jun 13 07:35 HISTORY.md
-rw-r----- 1 pe-puppet pe-puppet 11358 Jun 13 07:35 LICENSE
-rw-r----- 1 pe-puppet pe-puppet  6105 Jun 13 07:35 README.md
-rw-r----- 1 pe-puppet pe-puppet 50049 Jun 13 07:35 REFERENCE.md
drwxr-x--- 4 pe-puppet pe-puppet  4096 Jun 13 07:35 documentation
drwxr-x--- 4 pe-puppet pe-puppet  4096 Jun 13 07:35 examples
drwxr-x--- 2 pe-puppet pe-puppet  4096 Jun 13 07:35 files
drwxr-x--- 2 pe-puppet pe-puppet  4096 Jun 13 07:35 functions
drwxr-x--- 3 pe-puppet pe-puppet  4096 Jun 13 07:35 lib
drwxr-x--- 3 pe-puppet pe-puppet  4096 Jun 13 07:35 manifests
-rw-r----- 1 pe-puppet pe-puppet  2053 Jun 13 07:35 metadata.json
-rw-r----- 1 pe-puppet pe-puppet    53 Jun 13 07:35 pdk.yaml
drwxr-x--- 5 pe-puppet pe-puppet  4096 Jun 13 07:35 plans
-rw-r----- 1 pe-puppet pe-puppet  1136 Jun 13 07:35 provision.yaml
drwxr-x--- 2 pe-puppet pe-puppet  4096 Jun 13 07:35 tasks
drwxr-x--- 2 pe-puppet pe-puppet  4096 Jun 13 07:35 templates
drwxr-x--- 2 pe-puppet pe-puppet  4096 Jun 13 07:35 types
d
drwxr-x- took a dive. (Karma: -5)
b
https://github.com/puppetlabs/puppetlabs-peadm/blob/main/documentation/install.md#usage this explains how to setup a bolt project with the module
d
Ok update worked thanks a lot for that. passing the last lts made it work. Though my replica is in bad shape, I suspect it was in bad shape before
puppet infrastructure reinitialize replica -y
works but status shows screenshot
b
mhm I am not that familiar with replicas
d
Gotcha I'm going to create a new thread, update has been done, thanks a lot for your help