postgres 12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,


since the upgrade of postgress from 11.9 to 12.5 I am having issues
starting up using the systemd service file.

When I do:
> su postgres
> postgress -D data

it works great. When I do
> systemctl start postgresql

I get: An old version of the database format was found.

Checking the database version shows it is on 12. So obviously the
systemd unit file seems to point postgres to an unexpected location.

My system file is pointing to a non-standard location according to the
arch wiki:
[Service]
Environment=PGROOT=/pathto/pgroot
PIDFile=/pathto/pgroot/data/postmaster.pid

Anyone else facing the same issue? Any suggestions?



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux