Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1557 มุมมอง

Hello community!


I am setting up the development environment to work with Odoo 17 locally on Ubuntu 22.04 following the guide in the official Odoo documentation. In the next step to install postgresql, which is to create the user in postgresql, I execute the following command

sudo -u postgres createuser -d -R -S $USER


and I get the following message in the terminal

could not change directory to "/home/odoo": Access denied


I have tried the following command as well

sudo su -c "createuser -s $USER" postgres



and the same access denied message appears. It should be noted that the user is created correctly and continues with the guide, managing to complete the entire process of setting up the environment to build Odoo and it runs correctly.


Should that be the correct operation? How can I solve it? What causes that message? Should I ignore the message?


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 25
2860
1
ต.ค. 24
1886
1
ม.ค. 24
861
2
ธ.ค. 22
5829
0
พ.ค. 22
2231