Skip to Content
Menu
This question has been flagged
1 Reply
3651 Views

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

Avatar
Discard
Best Answer

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?

Avatar
Discard
Author

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

Author

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

Author

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?

Author

Yes

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

Related Posts Replies Views Activity
3
Jan 19
9734
1
Dec 18
5582
1
Jan 17
3707
2
Oct 15
8386
0
Mar 15
2961