odoo / odoo/docker

Database Manager does not work

Open
#504 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I am using ODOO in a minimal docker-compose setup ( See below )

Unfortunately the database manager does not work. When I open it /web/database/manager, I get the error below and the Backup, Duplicate and Delete buttons do not work.

Any ideas?

ERROR:
Uncaught ReferenceError: $ is not defined
http://localhost:8069/web/static/src/public/database_manager.js:1
database_manager.js:1:1
http://localhost:8069/web/static/src/public/database_manager.js:1

version: '3.1'
services:
db:
image: postgres:16
volumes:
- ./postgres:/var/lib/postgresql/data/
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo

web:
image: odoo:17.0
depends_on:
- db
volumes:
- ./odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
ports:
- "8069:8069"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the provided docker-compose configuration and open /web/database/manager. Start with web/static/src/public/database_manager.js and the browser console error, then trace how its dependencies are loaded. Done means the database manager opens without the ReferenceError and its Backup, Duplicate, and Delete buttons work.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, javascript, postgresql
Domain
database, devops, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.