เจอปัญหา cannot write to log file pg_upgrade_internal.log ตอนอัพเกรด postgresql
โพสต์แล้ว: 27/07/2017 7:20 pm
เจอปัญหา cannot write to log file pg_upgrade_internal.log ตอนอัพเกรด postgresql
หลังจากรันคำสั่ง
หลังจากรันคำสั่ง
โค้ด: เลือกทั้งหมด
sudo -H -u postgres /usr/lib/postgresql/9.4/bin/pg_upgrade
-b /usr/lib/postgresql/9.1/bin
-B /usr/lib/postgresql/9.4/bin
-d /var/lib/postgresql/9.1/main
-D /var/lib/postgresql/9.4/main
-o ‘ -c config_file=/etc/postgresql/9.1/main/postgresql.conf’
-O ‘ -c config_file=/etc/postgresql/9.4/main/postgresql.conf’