Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo not working - no CSS on login page and blank screen post-login

Odoberať

Get notified when there's activity on this post

This question has been flagged
developmentconfigurationsetupdebug
2332 Zobrazenia
Avatar
Boujjou Achraf

I cloned a project from GitLab that uses Docker to set up multiple services, including Odoo 16, PostgreSQL, a FastAPI backend, and a Next.js frontend.


The project works perfectly on my colleague's machine, but on my setup (macOS), and on another colleague's machine, we are facing the same issue:


The containers start successfully, and I can configure the database connection without any issues. However, when I try to access Odoo at http://localhost:8069/, I encounter the following problem:


- The login page loads without CSS.

- After entering valid credentials, I'am redirected to http://localhost:8069/web, but the page is completely blank.


What I Tried:


I attempted several fixes, but none resolved the issue:


1- Regenerating Odoo assets:


```

docker exec -it odoo bash

odoo --update=all --stop-after-init

docker-compose restart odoo

```


2- Checking permissions for mounted volumes:


```

sudo chmod -R 777 odoo_data

sudo chmod -R 777 odoo_source

sudo chmod -R 777 odoo_custom_addons

```

3- Clearing browser cache and trying in incognito mode.

4- Verifying Docker logs for errors (nothing unusual found).


docker-compose.yml (Relevant parts):


```

services:

postgres_db:

image: postgres:15

container_name: postgres_db

environment:

POSTGRES_USER: postgres

POSTGRES_PASSWORD: password

POSTGRES_DB: xiptelecom

volumes:

- postgres_data:/var/lib/postgresql/data

- ./init_postgres_odoo.sql:/docker-entrypoint-initdb.d/init_postgres_odoo.sql

ports:

- "5432:5432"


pgadmin:

image: dpage/pgadmin4

container_name: pgadmin4_container

restart: always

ports:

- "5050:80"

environment:

PGADMIN_DEFAULT_EMAIL: admin@admin.com

PGADMIN_DEFAULT_PASSWORD: admin

volumes:

- pgadmin_data:/var/lib/pgadmin


backend:

build:

context: ./Backend

container_name: backend

command: uvicorn main:app --host 0.0.0.0 --port 8080 --reload

volumes:

- ./Backend:/app

ports:

- "8080:8080"

depends_on:

- postgres_db


frontend:

build:

context: ./Frontend

container_name: frontend

command: "npm run dev"

volumes:

- ./Frontend:/app

ports:

- "3000:3000"

depends_on:

- backend


odoo:

image: odoo:16

container_name: odoo

depends_on:

- postgres_db

ports:

- "8069:8069"

environment:

HOST: postgres_db

USER: odoo_user # utilisateur postgres sql

PASSWORD: odoo_password # mot de passe postgres sql

DATABASE: odoo # nom de la bdd pour Odoo

MASTER_PASSWORD: admin

volumes:

- odoo_data:/var/lib/odoo

- ./odoo_source:/mnt/odoo_source # monte le dossier local

- ./odoo.conf:/etc/odoo/odoo.conf # Ajout de la configuration locale

- ./odoo_custom_addons:/mnt/extra-addons # répertoire local pour les modules Odoo personnalisés



volumes:

postgres_data:

pgadmin_data:

odoo_data:


```


odoo.conf:


```

[options]

; Infos de connexion à la bdd

db_host = postgres_db

db_port = 5432

db_user = odoo_user

db_password = odoo_password

db_name = odoo


; Configuration des modules

addons_path = /mnt/odoo_source/addons,/mnt/extra-addons


; Autres paramètres

data_dir = /var/lib/odoo

admin_passwd = $pbkdf2-sha512$600000$DAEAQKjV2jsHYKwVIoQwpg$ScuSHwYyRuGfJqbi65UUajG/kN7E5DxptFq1S.hwATMA7o/Mfx7M2dftb4VLDYmR5T1SVgCRaAcd8iHZCJ2QKQ

xmlrpc_port = 8069

longpolling_port = 8072

logfile = /var/log/odoo/odoo.log


```



Here is a well-structured post you can use for Stack Overflow:


Title:

Odoo 16 in Docker: Blank Page After Login on http://localhost:8069/web


Description:

I am running an Odoo 16 instance using Docker on macOS. My docker-compose.yml file sets up several services, including PostgreSQL, pgAdmin, a FastAPI backend, a Next.js frontend, and Odoo.


The containers start successfully, and I can configure the database connection without any issues. However, when I try to access Odoo at http://localhost:8069/, I encounter the following problem:


The login page loads without CSS.

After entering valid credentials, I am redirected to http://localhost:8069/web, but the page is completely blank.

What I Tried:

I attempted several fixes, but none resolved the issue:


Regenerating Odoo assets:


bash

Copy

Edit

docker exec -it odoo bash

odoo --update=all --stop-after-init

docker-compose restart odoo

Checking permissions for mounted volumes:


bash

Copy

Edit

sudo chmod -R 777 odoo_data

sudo chmod -R 777 odoo_source

sudo chmod -R 777 odoo_custom_addons

Clearing browser cache and trying in incognito mode.


Verifying Docker logs for errors (nothing unusual found).


docker-compose.yml (Relevant parts):

yaml

Copy

Edit

services:

odoo:

image: odoo:16

container_name: odoo

depends_on:

- postgres_db

ports:

- "8069:8069"

environment:

HOST: postgres_db

USER: odoo_user

PASSWORD: odoo_password

DATABASE: odoo

MASTER_PASSWORD: admin

volumes:

- odoo_data:/var/lib/odoo

- ./odoo_source:/mnt/odoo_source

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

- ./odoo_custom_addons:/mnt/extra-addons

odoo.conf:

ini

Copy

Edit

[options]

db_host = postgres_db

db_port = 5432

db_user = odoo_user

db_password = odoo_password

db_name = odoo


addons_path = /mnt/odoo_source/addons,/mnt/extra-addons


data_dir = /var/lib/odoo

admin_passwd = $pbkdf2-sha512$600000$DAEAQKjV2jsHYKwVIoQwpg$ScuSHwYyRuGfJqbi65UUajG/kN7E5DxptFq1S.hwATMA7o/Mfx7M2dftb4VLDYmR5T1SVgCRaAcd8iHZCJ2QKQ

xmlrpc_port = 8069

longpolling_port = 8072

logfile = /var/log/odoo/odoo.log

Logs & Errors:

No critical errors appear in the logs. The Odoo service starts without issues, and I can even configure the database.


Questions:


1. Why is the login page missing CSS?

2. Why do I get a blank page after login (http://localhost:8069/web)?

3. How can I debug and resolve this issue?


Any insights or troubleshooting steps would be greatly appreciated!


0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Error while importing module.
development configuration setup system debug
Avatar
Avatar
Avatar
2
okt 25
2970
Nix0s Self-hosted: Permission denied to create database
webclient development configuration setup debug
Avatar
0
máj 25
1843
[Aide] Modules custom non détectés ou non exécutés sur Odoo 18 (Windows)
development configuration debug
Avatar
Avatar
1
okt 25
965
My Custom Module don't show in apps list after update.
development configuration debug
Avatar
Avatar
Avatar
2
aug 25
1725
Creating a field in res.user is throwing internal server error
development configuration debug
Avatar
Avatar
Avatar
2
jún 25
1678
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now