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

[ODOO V10] Block on database selector

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
databaseodoo10e
1 Beantwoorden
5437 Weergaven
Avatar
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
Avatar
Annuleer
Adhara
Auteur

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
Auteur

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.

Avatar
Adhara
Auteur Beste antwoord

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
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
Can't find some fields on database
fields database odoo10e
Avatar
Avatar
Avatar
3
jan. 18
9819
Database disappeared from list after activating Google Oauth for administrator
database
Avatar
0
jul. 25
2288
Sale order Total amount to three decimal places ? Opgelost
odoo10e
Avatar
Avatar
Avatar
2
jan. 25
16438
Setup Odoo with specific database
database
Avatar
Avatar
2
nov. 24
8495
database locked
database
Avatar
Avatar
Avatar
2
okt. 24
4850
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