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 here to to send a verification verificat ion email allowing you to participate to the forum.
0
Error 500 Internal Server Error after reinstalling Odoo on Windows indows 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 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 y Comm Commen entt Share Repl
Make sure to follow these steps:
Fabrice Fabrice Henrion (fhe)
0
Verify that PostgreSQL is still installed (eg. it should show in Add/Remove programs). Identify where it is:
On 10/27/17, On 10/27/17, 7:58 AM
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 Subscribe
[email protected] 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 Runbot Translations Mailing Lists Forum
Support Upgrade Find a partner Become a partner Training center Education Security
About us Our company Contact Events Blog Customers Jobs Legal | Privacy
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