Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Web .../web/database/backup Backup of database fails

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
7 Risposte
3336 Visualizzazioni
Avatar
Mark Byham

Hi All,

I have Odoo 12 CE on a CentOS 7.5 VM on Azure. I followed steps by linuxise to install and it all works perfectly except for backing up the database.

 I go to .../web/database/backup and click backup, enter password (password must be correct as it tells me access denied if different) and then I get this

Database backup error: Postgres subprocess ('/usr/bin/pg_dump', '--no-owner', '--file=/tmp/tmpxidwmnvw/dump.sql', 'MyDb') error 1

I have seen some old forum entries suggesting to run pg_dump. I fail at the first hurdle, can't get log into psql :(

Can anyone tell me how to resolve this problem? Also how do I log into psql?


0
Avatar
Abbandona
Cybrosys Techno Solutions Pvt.Ltd

for logging into Postgres, try,

sudo su postgres

click enter, then

psql

Cybrosys Techno Solutions Pvt.Ltd

Just a found a video which might help you on taking back up from terminal: https://www.youtube.com/watch?v=KUHD4YGXseI

Cybrosys Techno Solutions Pvt.Ltd

Hi, Thanks! I'm in Postgres, now just looking at a few things.

Avatar
Mark Byham
Autore Risposta migliore

Hi Yenthe,
I see that Version 10 server is installed but there’s an older version of psql, is that a problem?

 
psql (9.2.24, server 10.6)

WARNING: psql version 9.2, server version 10.0.
Some psql features might not work.
Also I tried to run pg_dump but I don't see any error and it just doesn't work.

Thanks,

Mark


Hi All,
I have fixed this issue, it was due to the psql client and pg_dump set to v9 and postgres server is v10

Changing sym links to v10 folder worked but I had to do the same for pg_dump and it probably needs doing for all commands.

This from http://tuxtrix.blogspot.com/2014/12/how-to-fix-psql-version-84-server.html

Now, lets make sure, the newer version links to the default path set. 

# mv /usr/bin/psql /usr/bin/psql-bk
# ln -s  /usr/pgsql-10/bin/psql /usr/bin/psql

and..
# mv /usr/bin/psql /usr/bin/pg_dump-bk
# ln -s  /usr/pgsql-10/bin/pg_dump /usr/bin/pg_dump




Thanks,

Mark


0
Avatar
Abbandona
Avatar
Caret IT Solutions Pvt. Ltd.
Risposta migliore

Hello Mark Byham,

First, Odoo 12 need Postgres 10 minimal, the pg client should be at least v10.

Second, Delete (Drop) db if you create it manually from pgadmin.

To access log in Azure refer below:

https://docs.microsoft.com/en-us/azure/postgresql/concepts-server-logs#access-server-logs-through-portal-or-cli


Thank You


0
Avatar
Abbandona
Yenthe Van Ginneken (Mainframe Monkey)

That is nonsense, there is nowhere a fixed requirement for postgres 10 for Odoo 12.

OdooBot

Hi Yenthe,

I see that Version 10 server is installed but there’s an older version of psql, is that a problem?

 

psql (9.2.24, server 10.6)

WARNING: psql version 9.2, server version 10.0.

         Some psql features might not work.

 

Thanks,

Mark

 

From: Yenthe Van Ginneken <yenthespam@gmail.com>
Sent: Thursday, 17 January 2019 5:36 AM
To: Mark Byham <mark@techboss.com.au>
Subject: Re: Web .../web/database/backup Backup of database fails

 

View Forum Post

Odoo S.A.


That is nonsense, there is nowhere a fixed requirement for postgres 10 for Odoo 12.

 

Sent by Odoo S.A. using Odoo.

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now