Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Database dissappeared after restart

Subscriure's

Get notified when there's activity on this post

This question has been flagged
databasepostgresqlurgentodoo
1 Respondre
6215 Vistes
Avatar
Julius Pet

Hello everybody,

We have Odoo 10.0 community edition installed on Ubuntu 16.04 VPS. We really like the system and its flexibility.
But today somethig very bad happened:
Our VPS provider restarted all servers and after restart Odoo database is gone. Logs doesn't say too much only that it could not connect to database. Postgresql logs doesn't say anything as well. Everything looks like it was working well and instantly everything dissapeared... Auth logs doesn't say that anything might went wrong as there is no suspicious actions there. Now when I check postgresql databases list there is no Odoo database in there and Odoo is asking for me to create new database. Why could that have happened? And is there any way to restore the database?


Here are the database logs:

2017-06-21 14:15:43.958 EDT [1686] odoo@odoo STATEMENT:  SELECT id FROM "ir_cron" WHERE id IN (4) FOR UPDATE NOWAIT
2017-06-21 14:16:30.876 EDT [29442] odoo@odoo FATAL:  database "odoo" does not exist
2017-06-22 12:02:37.394 EDT [335] LOG:  database system was interrupted; last known up at 2017-06-21 14:21:33 EDT
2017-06-22 12:02:37.426 EDT [335] LOG:  database system was not properly shut down; automatic recovery in progress
2017-06-22 12:02:37.428 EDT [335] LOG:  invalid record length at 0/B28ADC0: wanted 24, got 0
2017-06-22 12:02:37.428 EDT [335] LOG:  redo is not required
2017-06-22 12:02:37.434 EDT [335] LOG:  MultiXact member wraparound protections are now enabled
2017-06-22 12:02:37.439 EDT [316] LOG:  database system is ready to accept connections
2017-06-22 12:02:37.440 EDT [353] LOG:  autovacuum launcher started
2017-06-22 12:02:37.818 EDT [400] [unknown]@[unknown] LOG:  incomplete startup packet
2017-06-22 13:14:43.376 EDT [316] LOG:  received fast shutdown request
2017-06-22 13:14:43.376 EDT [316] LOG:  aborting any active transactions
2017-06-22 13:14:43.376 EDT [353] LOG:  autovacuum launcher shutting down
2017-06-22 13:14:43.379 EDT [350] LOG:  shutting down
2017-06-22 13:14:43.390 EDT [316] LOG:  database system is shut down
2017-06-22 13:48:39.270 EDT [2878] LOG:  database system was shut down at 2017-06-22 13:14:43 EDT
2017-06-22 13:48:39.274 EDT [2878] LOG:  MultiXact member wraparound protections are now enabled
2017-06-22 13:48:39.283 EDT [2877] LOG:  database system is ready to accept connections
2017-06-22 13:48:39.283 EDT [2882] LOG:  autovacuum launcher started
2017-06-22 13:48:39.702 EDT [2884] [unknown]@[unknown] LOG:  incomplete startup packet


0
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

You can restore your database from your backup. If you did not make backups, you should revert to your VPS provider for a server backup/image to restore.

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How odoo does this thing?
database postgresql odoo
Avatar
0
d’abr. 22
2770
Get specific Account_Voucher and Account_Journal for sale_order and sale_order_line
database postgresql odoo
Avatar
0
de juny 20
2738
How to connect to Odoo Database via ODBC
database postgresql odoo ODBC
Avatar
Avatar
Avatar
2
de maig 24
4696
Restored database module upgrade not working
database postgresql odoo odooV8
Avatar
Avatar
1
de set. 15
4868
I can't list the database which i restored thorough postgressql,but i can type the db name and login
database postgresql odoo psql
Avatar
Avatar
2
de març 15
4602
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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