[Dolibarr] ERP & CRM

Bonjour à tous.

J’ai effectué une réécriture complète du package.
Je suis parti de example_ynh et de ce qui a déjà été fait.

Pour info, j’avais un plantage au moment de l’install qui survenait dans le paquet de base car à l’étape 2 (la création de la BDD) je partais en timeout. J’ai donc augmenté le temps d’exécution (max_input_time) dans la config PHP et NGINX

Un grand merci au créateur du paquet de base, ça m’a bien servi. J’ai repris les grandes lignes pour l’appel PHP au moment de l’install et de l’upgrade.

Ce qui fonctionne : Tout (install, backup, restore, remove, upgrade, change url)

Version incluse : 9.0.3

En attendant l’acceptation du Pull Request :
URL : https://github.com/mastereur/dolibarr_ynh


Hello everyone.

I performed a complete rewrite of the package.
I started from example_ynh and what has already been done.

For your information, I had a crash at the time of the installation which occurred in the basic package because in step 2 (creating the database) I had a timeout. So I increased the execution time (max_input_time) in the PHP and NGINX config.

A big thank you to the creator of the base package, it served me well. I took over the main lines for the PHP call at the time of installation and upgrade.

What works: Everything (install, backup, restore, remove, remove, upgrade, change url)

Included version: 9.0.3

Until the acceptance of the Pull Request :
URL: https://github.com/mastereur/dolibarr_ynh

Translated with DeepL com/Translator

5 Likes

excellent merci @mastereur… il faut que je teste maintenant :wink:

Oui j’attends tous les retours, négatif comme positif pour améliorer le package. :laughing:

Bonjour Mastereur,
Merci d’avoir fait ça !!
Mon serveur et un vieux laptop HP, j’utilise yunohost 3.5.2.2 et je n’ai rien fait de spécial.
Seulement des applications officielles installées à partir de l’interface graphique. Roundcube Phpmyadmin Piwigo Jirafeau et customwebapp
Je suis très excité à l’idée d’installer Dollibarr. Je suis allé sur github, j’ai téléchargé le paquet Dollibarr_ynh-master, dans le fichier script j’ai trouvé “install”.
Peux-tu m’expliquer les étape suivantes pour installer Dollibarr sur mon serveur ?
MERCI MERCI !!

Salut @pigeon_1 ,

en réalité tu n’avais pas spécialement besoin de télécharger un truc manuellement, tu peux soit :

  • depuis la webadmin, dans Apps > Install, tout en bas, mettre l’url du dépôt github dans le formulaire d’installation d’une app tierce, et faire l’installation comme n’importe quelle app
  • ou depuis la CLI, yunohost app install https://github.com/mastereur/dolibarr_ynh

Et voilà c’est installé.
C’est passé comme une lettre envoyée par coursier : L’installation a été très rapide.
Maintenant c’est parti pour de longues heure de geekage et apprendre à me servir du truc.
MERCI !!!

Parfait,
Moi aussi, faut arriver à comprendre le fonctionnement de dolibarr. Le plus long va être le paramétrage pour qu’après ça soit facile.

A big thank you to kay0u, his and my modifications have been merged into the official repo.


Un grand merci à kay0u, ses et mes modifications ont été mergées dans le repo officiel.

2 Likes

Rebonjour à tous et bonne rentrée,
Mon serveur et un vieux laptop HP, j’utilise yunohost 3.5.2.2 et je n’ai rien fait de spécial.
Seulement des applications officielles installées à partir de l’interface graphique. Roundcube Phpmyadmin Piwigo Jirafeau et customwebapp.
Voila mon dollibar parametré, les premières factures sont éditées et je me suis dit que j’allais utiliser la fonction “envoi d’e-mail de dollibarr” et ça n’a pas fonctionné. Un coup d’oeil à la doc de Dollibar
https://wiki.dolibarr.org/index.php/Paramétrage_EMails
et me voilà incapable de savoir s’il faut que choisisse le parametrage par PHP ou la 2de méthode ?
Idealement je voudrais que les mails envoyés par Dollibar se voient lorsque je vais dans roundcube.
A ++
Philippe

Hello,

Désolé du temps de réponse.
Le paramétrage doit passer par “SMTP/SMTPS socket library”
Il n’y a pas besoin de définir l’adresse et le port car normalement yunohost fais le relai avec ton FAI.

reste à définir “l’Adresse email de l’émetteur”.

Selon ton opérateur, il faut aussi définir les infos SMTP en suivant le tuto https://yunohost.org/#/isp_orange_fr

LDAP backward sync from Dolibarr to Yunohost

Hi, I am trying setup a bare essential guide for startup companies to use Yunohost as their backbone for operations. An employee can be added/removed in Dolibarr and is automatically updated in Yunohost.

Dolibarr LDAP module supports two way sync option (i.e. Dolibarr to Yunohost in this case). However, when I tried it failed with error 65. I noticed not all Dolibarr LDAP schema are supported by Yunohost.

Could someone guide how this can be done?

Hi, did anyone got a chance to look into this?

It could be a good way to expand the usability of Yunohost beyound a home-based DIY solution to something even SMEs can use.

Uh sorry for the lack of feedback, I just don’t have much expertise on LDAP … @Josue : does that mean anything to you ? Do you know if your recent PR could address this issue ?

Aleks, thanks for looking into it.

Hi @Josue , I could access the default yunohost LDAP directory using LDAPphpadmin app (yunohost app). I will be very happy to test or try out things as per your instructions (I’m not a programmer so might not of much help in actual modifications). Nonetheless, following are the two main points which I think may require a closer look:

  1. Whether writing is allowed for yunohost LDAP directory from apps? If not then that might have to be enabled first.

  2. Moulinette is a core yunohost service. What will happen if LDAP directory is modified externally (include LDAPphpadmin)?

Thanks,
AJ

1 Like

Hi,
Sorry if it’s not the right place to post these questions. I have only two questions.

  1. It’s better to use YunoHost system to update this app or there is a manual way to do it ?

  2. Informatic it’s not my job, but i can read a manual if there is some explanation like how to do (don’t now have capacity but i’ve time to learn it).
    How can i help to made the YunoHost version of Dolibarr 13.0.4 walk to 14.0.2 ?
    Sorry if it silly question

Good afternoon
Guillermo

Hi,

there is no silly question :wink:

The recommended update for an installation that was done by Yunohost is to wait until the new version is available from the admin console.

Indeed, I usually don’t release a new major version directly but rather wait until it is reliable. (minimum version at X.X.2)

Moreover, the migration is in progress on the depo, it should be available very soon if all goes well.

Good afternoon
mastereur

1 Like

Thanks a lot for your work
and for the answser i will wait for that
There is a way to help from beginner ?

Fork the github repo and if there is a new dolibarr version, create a pull request with the 4 files changed (README.md, README_fr.md, conf/app.src and manifest.json)

Bonjour,
J’avais un problème avec l’export FEC, voici un lien pour corriger manuellement la chose :slight_smile:

G

C’est la marche à suivre lorsque Dolibarr fait une évolution ?

Le principe est le même, une correction d’erreur ou une évolution a été faite, il y a donc la création d’un pull request (ici dans le repo dolibarr : FIX Accountancy - Error on ValidDate for FEC/FEC2 export by aspangaro · Pull Request #18813 · Dolibarr/dolibarr · GitHub).

Maintenant, il faut attendre que cette correction soit incluse dans la prochaine version en Release (Releases · Dolibarr/dolibarr · GitHub) avant de créer le pull request de mise à jour sur yunohost


The idea is the same, an bug fix or an evolution has been done so there is the creation of a pull request (here in the dolibarr repo : FIX Accountancy - Error on ValidDate for FEC/FEC2 export by aspangaro · Pull Request #18813 · Dolibarr/dolibarr · GitHub).

Now, you have to wait for this patch to be included in the next release (Releases · Dolibarr/dolibarr · GitHub) before creating the pull request for an update on yunohost