Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

How to install OpenERP modules on Synology NAS that use PostgreSQL procedural languages like plpgsql.so?

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
postgresqlsynologyopenerpplmplpgsql.so
1 Svar
29234 Visninger
Avatar
Jean-Michel Thiers

Ok so we have setup OpenERP on our DS213 and everything works fine until we start installing certain Modules. Two that we are having particular problem with are: OpenErpPlm & project_timesheet

We could almost live without OpenErpPlm for now (which allow our 3D data to be managed using OpenERP) but the "project_timesheet" is more critical as it is needed for our engineers to clock their time per tasks and have that time be available in the HR & accounting modules to issue invoices.

The problem seem to reside in the fact that the PostgreSQL database installed on the Synology is missing a number of procedural languages that normally come standard with a PostgreSQL install.

This is the error we get in OpenERP when trying to install those modules: "OperationalError: could not load library "/usr/syno/pgsql/lib/plpgsql.so": /usr/syno/pgsql/lib/plpgsql.so: cannot open shared object file: No such file or directory"

I'd love to know of a workaround to fix this.

Thanks in advance!

Cheers,

JM

2
Avatar
Kassér
Avatar
ton123
Bedste svar

I do not have the answer and I am not an expert but maybe I can help you in finding the answer. Testconfiguration:

  1. Testsystem Synology DS112J with DSM4.1 build 2626
  2. OpenERP 6.1.1-012 (I don't know the builnummer of OpenERP, I hope I find out once how to retrieve this)
  3. Python 2.7.3.1-011

  4. PostgreSQL Database Server 8.3.11.

    First step I usualy take is close all other services on the Synology. Log in as administrator. Go to packages
    and stop all excluding Python and OpenERP. This is because there are a lot of services on Synology that use Postgres and Pgsql which can conflict OpenERP / Postgres / pgsql. Stop and start openERP and try to do what
    failed again. If it is ok, you know a lot .... If it is not ok you can restart all other packages.

Second step is I started Itari's admin tool - this is a must have tool for in depth managing a Synology and it is free - and I looked for libraries.

Findings: In user/syno/pgsql there are no libraries. In usr/ lib ->/lib there are symlinks with libraries. However I didn't see plpgsql.so.

Next Steps:

  • You could check on a Ubuntu 12.04 reference system (you can use a virtual machine for this) the locations of the libraries and if more libraries are missing.
  • Copy in the missing libraries from the Ubuntu configuration or from internet to the synology.
  • You can also check the configuration files on Synology where libraries are expected to be.
  • If the copy doesn't work you need to install plpgsql.so the formal way as described here: http://www.postgresql.org/docs/8.2/static/xplang-install.html For synology a variant on this can be needed.

I am very interested if this is of help for you. And if you find a solution please report your steps in detail as an answer on your own question.

I have posted a lot of the configuration parameters of OpenERP 6.1.1-011 on a synology DS412+: http://forum.synology.com/enu/viewtopic.php?f=184&t=56373

Added 10 April 2013:

There is also an other method you can use to add the missing libraries with apt-get. Therefor you need to install Debian Chroot on your Synology.

This software is available from the Synology Community:

Add in your Package Center packetsources:

"http://packages.synocommunity.com" (you can't click on this, it is only for adding in the field on the synology.). You can click on: http://www.synocommunity.com/

1
Avatar
Kassér
Jean-Michel Thiers
Forfatter

Thanks for all the effort to help and also for the nice OpenERP config post you have on the Synology forum! So I did try to copy the library files (plpgsql.so and others) from a working Ubuntu build but the problem remains. As you already guessed those libraries can not be installed withing the Synology environment. So someone would have to crank out an ipkg for it to run. I couldn't find one online and it is a little over my head to do since I have never attempted such a thing.

ton123

Please vote my answer up. I think it is an ommission in the OpenERP package Synology present us. I think it is best to inform them about this issue so can make an update of the system. My findings with Synology support are very good. The only thing it is very important to describe everything is detail and let contact management pass it to their development team.

Jean-Michel Thiers
Forfatter

OK, so I did reach out to Synology and they were indeed responsive and gave me a link to a page where I could submit a feature request to their development team. I am keeping my fingers crossed that this will indeed make it to a future update. I would still love to know if there is a workaround in the mean time since it will probably be months before a new DSM release is out. If there are ipkg expects reading this, please, please, please help us out :-)

ton123

I did the same and asked also other things for improvement. I don't think the solution is dependent on a new DMS. If they are willing to solve this it could be in an update of python, openerp or a minor update of DMS. For me it do not have priority, but if you have a solution or workaround of your own please make a detailed post of it.

Jean-Michel Thiers
Forfatter

Thanks! I'll definitely post a step-by-step solution if/when I find one.

ton123

Maybe this alternative can be of help: http://www.mertymade.com/syno/

Jean-Michel Thiers
Forfatter

Looks like I have some reading to do ;-) Thanks for the link! I had not heard of this page before.

ton123

I have installed 7.0 on Synology. Any updates form you?

Jean-Michel Thiers

I noticed Synology added OpenERP 7.0 to their list of available applications a few days back, which is great! Unfortunately my Windows installed 7.0 database doesn't want to import into the Synology :( I also tried to install the "project_timesheet" module in our freshly installed OpenERP 7.0 on Synology and still get an error. This time it's: ProgrammingError: syntax error at or near "with mu"

ton123

It is important you use the same python routines and additional scripts. I do not know if this is the problem in your situation. In the 6.1.1 version on synology there were a lot of things missing which gives errors and / or missing functionality. See also my last post in http://forum.synology.com/enu/viewtopic.php?f=184&t=62754&start=15

Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
How to find PostgreSQL db of OPENERP on 'Synology DSM 5.0' ?
postgresql synology DSM
Avatar
Avatar
1
jan. 16
7949
ODOO 14 Community: How can I backup odoo files + postgres data
postgresql synology backup odoo Docker
Avatar
0
okt. 20
10267
When Odoo 14 connects to PostgreSQL 15.7, the connection is idle but cannot be released
postgresql
Avatar
0
feb. 25
2942
psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: fe_sendauth: no password supplied
postgresql
Avatar
Avatar
Avatar
2
jan. 25
10205
Odoo backend to Google Data Studio Løst
postgresql
Avatar
Avatar
2
jan. 24
10139
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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