installation fail on ubuntu server

Hi

I try to install dolibarr in may server using this how-to: http://wiki.dolibarr.org/index.php/Dolibarr_pour_Ubuntu_ou_Debian
I have errors in return:

# dpkg -i dolibarr_3.6.0-3_all.deb (Lecture de la base de données... 106903 fichiers et répertoires déjà installés.)
Préparation du décompactage de dolibarr_3.6.0-3_all.deb ...
Décompactage de dolibarr (3.6.0-3) sur (3.6.0-3) ...
Run the dolibarr postrm script
postrm upgrade
Paramétrage de dolibarr (3.6.0-3) ...
Run the dolibarr config script
Ask for web server to setup
Run the dolibarr postinst script
/var/lib/dpkg/info/dolibarr.postinst: 147: /var/lib/dpkg/info/dolibarr.postinst: Syntax error: "fi" unexpected
dpkg: error processing package dolibarr (--install):
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2
Traitement déclenché pour  mime-support (3.54ubuntu1) ...
Des erreurs on été rencontrées pendant l'exécution :
 dolibarr

how can I solved it ?

See here [url=www.dolibarr.org/t/postinst-error-on-debian-wheezy-with-3-6-0-deb/10921/1 Error on Debian Wheezy with 3.6.0 deb[/url]

1 Like

so I have to wait for the next release right ?

I saw Dolibarr on Linux Tag 2014 in Berlin, so i was now very interestet to test it.
I set up a new system with debian wheezy, is not working!
I think, ok, then it will try it on a actual Ubuntu LTS version (14.04), also not working.
Can someone tell me what to do, to let Dolibarr run on a Linux System?
What is to change in the “dolibarr postinst script” that it will work, PLEASE?
Thanks a lot.

Greetings

Ubuntu 12.04 server 64bit is also not working, same error in dolibarr.postinst.

Is it working in CentOS 6?

Hi,

Download ver 3.5.4 and when release 3.6.1 update

ok this was working! :sunglasses:
I installed v3.5.4 on Debian Wheezy, and erverthing went fine.
After this, i tried v3.6.0 upgrade like the installation, but i became the same error like a new installation (dolibarr.postinst).
I only need to remove the file “install.lock” in - /var/lib/dolibarr/documents - , after this, it upgrades the database and it semes to work with v3.6. Or does someone know that there are any other errors?

Greetings

I have the same issue with dolibarr_3.5.5-3_all.deb on 14.10 x64

Can that be fixed as well?

Thank you!

Download and install / upgrade dolibarr_3.6.1-3_all.deb