Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

No CSS on login page and blank screen post-login

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
developmentconfigurationsetupsystemfunctionlanguagedebug
1 Beantwoorden
1916 Weergaven
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

```


==> 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
Annuleer
Avatar
Nikhil Nakrani
Beste antwoord

Hi Boujjou Achraf,

insatll this required packges 
sudo apt-get install python-dev python3-dev libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev build-essential libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev
sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

if still not then istall libass packge as well
pip3 install libsass==0.12.3


0
Avatar
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Error while importing module.
development configuration setup system debug
Avatar
Avatar
Avatar
2
okt. 25
2852
V16-Managing data in property field
development configuration setup system function
Avatar
1
apr. 25
1581
Cron job completes Instantly on production without throwing errors – works correctly on dev Opgelost
development configuration function debug
Avatar
Avatar
2
sep. 25
1374
Customizing odoo enterprise
development configuration setup system
Avatar
0
feb. 25
1972
costumize barcode app
development configuration setup function
Avatar
Avatar
1
feb. 25
2313
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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