Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

[ODOO V10] Block on database selector

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
databaseodoo10e
1 Răspunde
5440 Vizualizări
Imagine profil
Adhara

Good evening,

I am currently stuck on a rather restrictive problem.

Our CRM server is a debian 8 VM hosted on Azure, so managed by us. It is an ODOO v 10.

Recently we had a certificate problem, we were still able to work on ODOO but with the connection unsecured until I resolved the problem.

Today I managed to solve the problem but I am stuck on the database selection page and as soon as I press it it makes me stay on the selection page with no way to connect to it.

The error messages in the postgresql logs are as follows:


ERROR: constraint "subscription_subscription_cron_id_fkey" of relation "subscription_subscription" does not exist
ALTER TABLE subscription_subscription DROP CONSTRAINT subscription_subscription_cron_id_fkey
and
ERROR: could not obtain lock on row in relation "ir_cron"
STATEMENT: SELECT id FROM "ir_cron" WHERE id IN (6) FOR UPDATE NOWAIT

On the forums they talk about modifying a line in the odoo configuration file max_cron_threads = 1 but we probably have 2 databases as the old developer providers installed the production site and the development site on the same machine... I know it's not advisable but it was done a while ago when I wasn't there. That's why I don't dare touch anything.

I'm a neophyte and I don't have any help from my company as we are very small, so I'm asking for your help. 


If you want more details, do not hesitate .


Regards,

0
Imagine profil
Abandonează
Adhara
Autor

I've found this error code on my production odoo :

2021-08-16 10:44:55,039 1122 ERROR XXXX odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/PATH/XXXX/odoo/odoo/odoo/modules/registry.py", line 83, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/PATH/XXXX/odoo/odoo/odoo/odoo/modules/loading.py", line 335, in load_modules
force, status, report, loaded_modules, update_module)
File "/PATH/XXXX/odoo/odoo/odoo/modules/loading.py", line 237, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/PATH/XXXX/odoo/odoo/odoo/modules/loading.py", line 136, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name})
File "/PATH/XXXX/odoo/odoo/odoo/modules/registry.py", line 322, in init_models
model._auto_end()
File "/PATH/XXXX/odoo/odoo/addons/subscription/models/subscription.py", line 64, in _auto_end
self.env.cr.execute("ALTER TABLE %s DROP CONSTRAINT %s" % (self._table, '%s_cron_id_fkey' % self._table))
File "/PATH/XXXX/odoo/odoo/odoo/sql_db.py", line 154, in wrapper
return f(self, *args, **kwargs)
File "/PATH/XXXX/odoo/odoo/odoo/sql_db.py", line 231, in execute
res = self._obj.execute(query, params)
ProgrammingError: constraint "subscription_subscription_cron_id_fkey" of relation "subscription_subscription" does not exist

Adhara
Autor

I've found something :

My odoo works with
python /PATH/XXXX/odoo/odoo/odoo-bin -c /PATH/XXXX/config/odoo.cfg

But not as a service.

Imagine profil
Adhara
Autor Cel mai bun răspuns

I tried  max_cron_threads = 1 (it is  max_cron_threads = 0 before) but no change...

UPDATE : i can reach my odoo prod on http://publicip:deticatedport

UPDATE : postgresql.conf have ssl=on with snakeoil cert, i attempt to renew the cert with this command:  make-ssl-cert generate-default-snakeoil --force-overwrite but there is no change after restart DB and ODOO


UPDATE : My issue was resolv, i tried to start Odoo with odoo-bin and that work perfectly.

Then, i take a look on my /etc/init.d/odoo config and i found on the line :

DAEMON_OPTS = " -c odoo - u user" 

a user who doesn't exist on /etc/shadow.

I switch it to odoo user and that work !


I don't know how it's work before with gost user :(

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Can't find some fields on database
fields database odoo10e
Imagine profil
Imagine profil
Imagine profil
3
ian. 18
9819
Database disappeared from list after activating Google Oauth for administrator
database
Imagine profil
0
iul. 25
2290
Sale order Total amount to three decimal places ? Rezolvat
odoo10e
Imagine profil
Imagine profil
Imagine profil
2
ian. 25
16448
Setup Odoo with specific database
database
Imagine profil
Imagine profil
2
nov. 24
8500
database locked
database
Imagine profil
Imagine profil
Imagine profil
2
oct. 24
4852
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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