콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4748 화면

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

아바타
취소
베스트 답변

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?

아바타
취소
작성자

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??

작성자

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

작성자

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?

작성자

Yes

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

관련 게시물 답글 화면 활동
3
1월 19
11012
1
12월 18
6811
1
1월 17
4698
2
10월 15
9499
0
3월 15
3873