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?
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
Read Guidelines
Test it now
Question tools
kwangdid@gmail.com 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
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.
https://www.odoo.com/forum/help-1/question/error-500-internal-server-error-after-reinstalling-odoo-on-windows-125477 4/4