Skip to Content
Menu
This question has been flagged
2 Replies
3264 Views

Hello,

I've been using Odoo 8 on my NAS Synology for some times. Now, I decided to host odoo online on a vps, but as it seems to be hard to migrate a db from Odoo vX to vY, I prefer to keep the v8. So I installed the v8 on my VPS and it loads fine if I create a test db.

Then I exported my initial db from my NAS and imported it into my new Odoo on my VPS. The migration seems to be successfull.

But when I open Odoo and if I choose my db, it gives an internal server error.

Do you have any idea ?

Best Regards

Michaël

Avatar
Discard
Author Best Answer

Thanks for the answer. If this is the real cause, this is a little bit lame.

When you say that I need to update, you mean update Odoo on server 1 ? As this is the Synology package, I don't have the possibility to update...

So I guess that the solution would be to install on server 2 the same build of Odoo as the one on server 1 ?

*edit*

Well it looks like the migration failed because server 2 hosts Odoo 10 !

Despite I carefully followed the instruction on this site to install the package on Ubuntu (and specifying the v8 repository) it keeps on installing Odoo v10 (as if there was a kind of redirection on Odoo repositories, from 8 to 10.

So I'm stuck.

Avatar
Discard

If you want to install Odoo as a non-expert, you should follow the official instructions: https://www.odoo.com/documentation/8.0/setup/install.html

Best Answer

You must update the database (all modules) unless the code on both servers is IDENTICAL (from the same build of Odoo).  

If you install server 1 code in January, and server 2 code in March, you need to update because your code is not identical - you have installed v8 on both, but one is two months newer than the other.  

Unless you pulled the repository for both servers at the same time on the same day, this could be your problem.

Either use the -u all command line argument, or find the base module and update it via the UI.

Avatar
Discard