Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4629 Lượt xem

When Odoo 9.0 first start, it create a new demo database. How can I avoid that?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Until and unless you click on Create Database in Database Manager (http://127.0.0.1:8069/web/database/manager) page, it won't create any database.

Can you tell me more about when the database is being created?

Ảnh đại diện
Huỷ bỏ
Tác giả

When I start odoo

I don't think odoo creates any database while it starts, how do you know that odoo creates a database while starting? Did you see any db in pgAdmin??

Tác giả

I see it on the log. Also, Odoo is not usable for its 2 firsts minutes after starting and when it's ok I can see web already got a database on the selector.

can i know how you are starting odoo?

are you talking about demo database or demo data?

check this link, might be of any help: https://stackoverflow.com/questions/33424888/how-to-skip-demo-data-in-odoo-instance

Tác giả

With Docker:

version: '2'

services:

odoo:

image: odoo:10.0

links:

- postgresdb:db

ports:

- 8070:8069

environment:

- HOST=db

- USER=odoo

- PASSWORD=odoo

volumes:

- odoo-data:/var/lib/odoo:z

- ./conf/odoo.conf:/etc/odoo/odoo.conf:z

- ./extra-addons:/mnt/extra-addons:z

stdin_open: true

tty: true

postgresdb:

image: postgres:10

environment:

- POSTGRES_PASSWORD=odoo

- POSTGRES_USER=odoo

- POSTGRES_DB=postgres

volumes:

- ./data/postgres:/var/lib/postgresql/data:z

volumes:

odoo-data:

That's the odoo config file, i was asking how were you starting odoo instance. Anyway are you talking about demo database or demo data?

Tác giả

Yes

That an docker-compose file, because I run Odoo in Docker.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 19
10898
1
thg 12 18
6729
1
thg 1 17
4613
2
thg 10 15
9390
0
thg 3 15
3782