Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
182 Widoki

I am using docker to deploy odoo19 but when I login I can only see apps and settings. Although I activate the dev mode, I can not see any more functions. Is there something wrong with my deployment? Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

If it is a new database then you see only these options. You need to install the app to explore more.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Yes, totally new deployment with new database.
I tried many times and each time I can only see APPs and Setting. 
Below are my deployment files.

---
(base) ubuntu@oracle-ampere:~/odoo19$ ls -al

total 24

drwxrwxr-x  4 ubuntu ubuntu 4096 Oct  5 11:28 .

drwxr-xr-x 19 ubuntu ubuntu 4096 Oct  5 10:14 ..

drwxrwxr-x  2 ubuntu ubuntu 4096 Oct  5 10:14 addons

drwxrwxr-x  2 ubuntu ubuntu 4096 Oct  5 11:29 config

-rw-rw-r--  1 ubuntu ubuntu 1369 Oct  5 10:20 docker-compose.yml

-rw-rw-r--  1 ubuntu ubuntu  125 Oct  5 11:28 .env

(base) ubuntu@oracle-ampere:~/odoo19$ cat .env

POSTGRES_PASSWORD=xxxxxxxxx

POSTGRES_DB=postgres

POSTGRES_USER=odoo

LANG=en_US.UTF-8

TZ=Pacific/Auckland

ODOO_DBNAME=odoo19

(base) ubuntu@oracle-ampere:~/odoo19$ cat config/odoo.conf

[options]

addons_path = /usr/lib/python3/dist-packages/odoo/addons,/mnt/extra-addons

proxy_mode = True

db_host = db

db_port = 5432

db_filter = ^%d$

workers = 2

limit_time_cpu = 120

limit_time_real = 240

log_level = info

logfile = False

(base) ubuntu@oracle-ampere:~/odoo19$ cat docker-compose.yml

version: "3.9"

services:

  db:

    image: postgres:15

    container_name: odoo19-db

    environment:

      POSTGRES_DB: ${POSTGRES_DB}

      POSTGRES_USER: ${POSTGRES_USER}

      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}

      TZ: ${TZ}

    healthcheck:

      test: ["CMD", "pg_isready", "-U", "odoo"]

      interval: 10s

      timeout: 5s

      retries: 5

    volumes:

      - pg-data:/var/lib/postgresql/data


  web:

    image: odoo:19.0@sha256:135083d15e23dcebb2b4449fd7f81f46966b407e3baef48bb278cde5b1956575

    container_name: odoo19-web

    depends_on:

      db:

        condition: service_healthy

    environment:

      HOST: db

      USER: ${POSTGRES_USER}

      PASSWORD: ${POSTGRES_PASSWORD}

      TZ: ${TZ}

      LANG: ${LANG}

      ODOO_RC: /etc/odoo/odoo.conf

    ports:

      - "8069:8069"       

    volumes:

      - odoo-data:/var/lib/odoo

      - ./config/odoo.conf:/etc/odoo/odoo.conf:ro

      - ./addons:/mnt/extra-addons:ro

    healthcheck:

      test: ["CMD", "curl", "-f", "http://localhost:8069/web/login"]

      interval: 15s

      timeout: 5s

      retries: 10


volumes:

  pg-data:

  odoo-data:

Awatar
Odrzuć

Hello,
It looks like the issue is related to Docker. Sometimes, when you make changes inside the Docker environment and re-run the container, everything reverts to its previous state. You should check the PostgreSQL configuration within the Docker setup.
Also for test purpose, remove the extra-addons if you have not required.
If you don't get the solution ,feel free to connect with us.
Thanks.

Najlepsza odpowiedź

Is it a new database? if so did you installed the app? if not did you changes any access rights?

Awatar
Odrzuć