0% found this document useful (0 votes)
2K views

Error 500 Internal Server Error After Reinstalling Odoo On Windows - Odoo

The document discusses steps to resolve an Error 500 Internal Server Error that occurs after reinstalling Odoo on Windows. These steps include verifying that PostgreSQL is still installed, updating the PostgreSQL path in the Odoo configuration file, stopping and restarting services, creating a new database, and checking the server log for errors.

Uploaded by

wk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

Error 500 Internal Server Error After Reinstalling Odoo On Windows - Odoo

The document discusses steps to resolve an Error 500 Internal Server Error that occurs after reinstalling Odoo on Windows. These steps include verifying that PostgreSQL is still installed, updating the PostgreSQL path in the Odoo configuration file, stopping and restarting services, creating a new database, and checking the server log for errors.

Uploaded by

wk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

5/1/2018 Error 500 Internal Server Error after reinstalling Odoo on Windows | Odoo

Odoo Help

It appears your email has not been verified. Click here to send a verification email ×
allowing you to participate to the forum.


0 Error 500 Internal Server Error


after reinstalling Odoo on
Windows
Fabrice Henrion (fhe)
 By on 10/27/17, 7:44 AM • 979 views

I had a previous version of Odoo installed on Windows. I reinstalled Odoo and I get an
Error 500 when going to localhost:8069. I also tried to uninstall the previous version. What
are the steps to follow to fix/prevent this?

 Reply  Comment  Share    


 Make sure to follow these steps: Fabrice Henrion (fhe)
0
 Verify that PostgreSQL is still installed (eg. it should
On 10/27/17, 7:58 AM
show in Add/Remove programs). Identify where it is:
it is most likely in the folder of your previous Odoo
install. Eg: C:\Program Files (x86)\Odoo 10.0e\PostgreSQL
Open the Odoo configuration file in your new installation path. Eg: C:\Program Files
(x86)\Odoo 11.0e\server\odoo.conf
Find the pg_path variable and change it to the proper path, then save and close this
file. (To avoid problems, do this with a text editor that is not going to change the text
encoding or carriage return characters, Eg: Notepad++)
pg_path = C:\Program Files (x86)\Odoo 10.0e\PostgreSQL\bin

https://www.odoo.com/forum/help-1/question/error-500-internal-server-error-after-reinstalling-odoo-on-windows-125477 1/4
5/1/2018 Error 500 Internal Server Error after reinstalling Odoo on Windows | Odoo

Go to the Windows Start menu and type 'services.msc'. Find the service of your old
version (eg. Odoo 10) and stop it. Find the service of 'PostgreSQL_for_Odoo' and
restart it. Find the service of your new version (eg. Odoo 11) and restart it.
Open your browser in Incognito window and go to "localhost:8069". Hit
CTRL+Shift+R to make sure you don't use anything in cache and to avoid that Odoo
tries to automatically get into a DB created on the previous version (which would fail).
Go to Manage databases and Create a new database to start. Give it a name, eg:
odoo11test
Open the configuration file (odoo.conf) again and replace the line 'db_name = False'
with 'db_name = odoo11test' to force Odoo to use that database at startup.
Restart again the services of your new version and of 'PostgreSQL_for_Odoo'.
Open your browser with a regular window (not incognito) and go to "localhost:8069".
Hit CTRL+Shift+R. It should work now.
Open the configuration file (odoo.conf) again and change back the line to 'db_name =
False'.
If you still encounter an error, inspect (or ask an expert to inspect) the server log
located at C:\Program Files (x86)\Odoo 11.0e\server\odoo.log

Comment    

About This Community


This platform is for beginners and experts willing to share their Odoo knowledge. It's not a
forum to discuss ideas, but a knowledge base of questions and their answers.

 Read Guidelines

Odoo Training Center


Access to our E-learning platform and experience all Odoo Apps through learning videos,
exercises and Quizz.

Test it now

Question tools

[email protected] Subscribe

2 follower(s)

https://www.odoo.com/forum/help-1/question/error-500-internal-server-error-after-reinstalling-odoo-on-windows-125477 2/4
5/1/2018 Error 500 Internal Server Error after reinstalling Odoo on Windows | Odoo

Stats

Asked: 10/27/17, 7:44 AM

Seen: 979 times

Last updated: 4/5/18, 4:12 PM

Community Services
Github Odoo Cloud Platform
Download
Support
Runbot Upgrade
Translations
Find a partner
Mailing Lists Become a partner
Forum
Training center
Education

Security

About us
Our company
Contact

Events
Blog
Customers

Jobs

Legal | Privacy

English

https://www.odoo.com/forum/help-1/question/error-500-internal-server-error-after-reinstalling-odoo-on-windows-125477 3/4
5/1/2018 Error 500 Internal Server Error after reinstalling Odoo on Windows | Odoo

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting,
inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

   

Website made with

https://www.odoo.com/forum/help-1/question/error-500-internal-server-error-after-reinstalling-odoo-on-windows-125477 4/4

You might also like