Odoo Help

Welcome!

This community 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.

0

Restore Database V9 community Proxy error 502

By
Emil
on 10/14/16, 1:14 PM 216 views

Hello Community. 

I am evaluating Odoo to see if we will use it at our company however i feel that i need to know some more about restore database.

1. Do a database backup also contain email and logos on CRM contacts, will a database backup backup absolutely everything thats inside Odoo? 

2. I did a test, i created several contacts and some products, i made a backup of the database by loging out of odoo and in the login screen choosing manage database and backup. I then choose to restore the database and enter a other name "test" After a while i get error 502 Proxy error 

The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /web/database/restore. Reason: Error reading from remote server

If i refresh the window i can see that the database has been created and but i get invalid response if i try to login. 

Before i start to enter a lot of data i want to make sure the backup function works so can anyone help me figure out why i cant restore the backup?


BR

Emil

0
Emil
On 10/17/16, 3:18 AM

Hello Axel and thank you for the response. 

There should be no proxy " as im aware of" I am using the virtual build for Azure gathered from Bitnami. Its a virtual machine with ubuntu 14.04 LTS and Odoo Version 9.0c-20160620 (Community Edition). 

I noticed one thing. If i wait like 15 minutes and try to login to the new database it works. As i can see everything has been restored so im a little confused about the error. Could it be that something is missing or is everything actually correct even thou the error. I am not sure how to troubleshoot this, any help in that matter would be great full, when looking at the server log of Odoo there is no error. 

BR

Emil

0

Axel Mendoza

--Axel Mendoza--
10203
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

Axel Mendoza
On 10/16/16, 8:38 PM

All depends of what kind of reverse proxy are you using and how it's configured, I'm specifically talking about read timeouts that could cause the interruption of the long request for restoring the database. Nginx?, CaddyServer? Apache?, HAproxy?

Could be something also related to the health check of the proxy for the upstreams servers in some cases. But it's a matter of properly configure the reverse proxy server

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/14/16, 1:14 PM
Seen: 216 times
Last updated: 10/17/16, 3:18 AM