Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Odoo v8 fails to create new databases [SOLVED]

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
serverdatabasecreatebaseodooV8
2 Odpowiedzi
9784 Widoki
Awatar
E.M.

I have two Odoo v8 servers. I have noticed that I can't no longer create new databases.

Everything was working fine and no recent update was performed. When I try to create a new database from database management everything seems to work fine but then after odoo redirects to admin login for that new database there is a version error.

This is the log:

57:44] "POST /web/database/get_list HTTP/1.1" 200 -
2015-09-23 08:58:18,273 25443 ERROR None openerp.http: Exception during JSON req uest handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_ exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 311, in _call_fu nction
return self.endpoint(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response _wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py" , line 704, in create
params['create_admin_pwd'])
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 879, in proxy_me thod
result = dispatch_rpc(self.service_name, method, args)
File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 115, in dispatch _rpc
result = dispatch(method, params)
File "/usr/lib/python2.7/dist-packages/openerp/service/db.py", line 65, in dis patch
security.check_super(passwd)
File "/usr/lib/python2.7/dist-packages/openerp/service/security.py", line 32, in check_super
raise openerp.exceptions.AccessDenied()
AccessDenied: Access denied.
2015-09-23 08:58:18,280 25443 INFO None werkzeug: 127.0.0.1 - - [23/Sep/2015 08: 58:18] "POST /web/database/create HTTP/1.1" 200 -


Does anyone experience the same issue?

0
Awatar
Odrzuć
Awatar
E.M.
Autor Najlepsza odpowiedź

I have tried:

1.) For admin_passwd I am using the odoo admin password.

2.) I do not know what do you mean with to set the database user's password. Which database? which user? should not admin user for the new generated database be defined by the manage database GUI?

3.) I added the line for odoo (which is the user for odoo without succes). I ensured a fresh start by rebooting the server.


I think it might be relevant to notice this:

2015-09-23 10:22:44,383 829 WARNING newdatabase1 openerp.addons.base.ir.ir_cron: Skipping database newdatabase1 as its base version is not 8.0.1.3.

As I suspect it might be the reason for not being able to further access the database. Any help is really welcomed, it is very frustrating as this is happening in two servers.


Finally I noticed that the issue was in one of my custom module. Despite aparently Odoo was creating the database and it was an access issue, Odoo was not actually creating the database. I noticed that using the Odoo log while creating the new database

0
Awatar
Odrzuć
Emipro Technologies Pvt. Ltd.

Database user which you have specified in "db_user" attribute of your openerp_server.conf file. I am asking to provide it's password.

E.M.
Autor

Finally I noticed that the issue was in one of my custom module. Despite aparently Odoo was creating the database and it was an access issue, Odoo was not actually creating the database. I noticed that using the Odoo log while creating the new database. Thanks for your help.

Emipro Technologies Pvt. Ltd.

I don't believe "AccessDenied: Access denied." error comes from problem of any custom module. You haven't caught your problem in right way. However afterall your problem is solved that matters !

Awatar
Emipro Technologies Pvt. Ltd.
Najlepsza odpowiedź

There should be 2 reasons.

1. Super admin password is not matching with your given password.

Please verify "admin_passwd" value of openerp_server.conf file with the super admin password you given at the time of create database from frontend.

2. Database user's password is not set yet. ( Go to psql command line and from template1 user you can set db user's pwd )

3. Database user with which you have started Odoo has no enough right to create database. To solve that please follow below steps. ( I guess you are using Ubuntu 12.04+ versions )

1. Go to terminal and open pg_hba.conf file by this command sudo vi /etc/postgresql/9.1/main/pg_hba.conf

2. Add one line for your database user, ( Here I guess you are running with database user odoo )

local     all    odoo     trust

3. Restart Postgresql Database.

Now please try to create database.

Hope this helps,

0
Awatar
Odrzuć
E.M.
Autor

see my edit above.

Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
Creating database in new installation results in "server error"
server error database create v7
Awatar
Awatar
1
mar 15
7243
Is there a way to clear a database of all posted transactions, stock movement and activity without changing configurations and settings in the modules? (Odoo V8) Rozwiązane
database odooV8
Awatar
Awatar
Awatar
3
sty 24
8219
Why does the server need to restart after creation of new DB?
server database
Awatar
0
mar 15
4576
When should Database be separated on Separate Server. Rozwiązane
server database postgresql
Awatar
Awatar
1
lip 25
4576
Database does not connect to server
server database Odoo14
Awatar
Awatar
1
sie 24
3057
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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