Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Help

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Database dissappeared after restart

Odoberať

Get notified when there's activity on this post

This question has been flagged
databasepostgresqlurgentodoo
1 Odpoveď
6148 Zobrazenia
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
Zrušiť
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
How odoo does this thing?
database postgresql odoo
Avatar
0
apr 22
2711
Get specific Account_Voucher and Account_Journal for sale_order and sale_order_line
database postgresql odoo
Avatar
0
jún 20
2705
How to connect to Odoo Database via ODBC
database postgresql odoo ODBC
Avatar
Avatar
Avatar
2
máj 24
4589
Restored database module upgrade not working
database postgresql odoo odooV8
Avatar
Avatar
1
sep 15
4770
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
mar 15
4578
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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