تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
10612 أدوات العرض

I have installed Odoo 14 on Ubuntu 18.04 LTS inside the WSL on Windows 10. The application services of Odoo and PostgreSQL are running. Now when I try to connect Odoo using the URL localhost:8069 on a web browser in Windows, I am getting "Internal Server Error" everytime. Has anyone tried this approach and could provide a solution to this problem?


Note: On Ubuntu 18.04 under the WSL, postgres is running on port 5433

الصورة الرمزية
إهمال

Review the Odoo log files and post relevant information back to readers. See https://www.odoo.com/documentation/14.0/reference/cmdline.html#logging

أفضل إجابة

Go into WSL and type in the command "ifconfig" to find the ip address.

Then try accessing odoo using the ip address, instead of localhost, like so

http://your_IP_address_within_WSL:8069
الصورة الرمزية
إهمال
أفضل إجابة

Most chance that the Odoo server can't connect to Postgresql Server

You mentioned that the postgresql run in port 5433, therefore try to modify the db_port configuration into 5433 ( as the default post is 5432 in Odoo)  

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 23
24482
1
نوفمبر 24
6193
0
مايو 23
1537
0
أكتوبر 22
971
1
مايو 22
3925