Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

Dolibarr

42 Topics 365 Posts
  • Dolibarr - Package Updates

    Pinned Locked
    74
    0 Votes
    74 Posts
    38k Views
    Package UpdatesP
    [1.16.3] Update dolibarr to 24.0.4 Full Changelog FIX: #31043 Project ODT generation failed when a block is missing FIX: #42888 public ticket list: open filter leaves out Assigned and Waiting tickets FIX: #42947 Edited line quantity of 1000 or more divided by 1000 when thousands separator is '.' FIX: #43146 The amount in words of the CERFA donation receipt drops the units of the cents FIX: #43250 Bank journal: loan payments split wrongly, division by zero FIX: Add missing authorization checks on REST APIs for mos and eventattendees (cross-customer access) FIX: Contact list not refreshed when selecting a third party: getContacts ajax call refused by CSRF protection (token not provided) FIX: Draft supplier orders always counted in virtual stock FIX: Mass action close and reopen on ticket list bypass the TICKET_LIMIT_VIEW_ASSIGNED_ONLY restriction FIX: Wrong month in INVOICE_PREVIOUS_MONTH / INVOICE_NEXT_MONTH at end of month
  • Error - Task 4943 crashed with unknown code 1 on restore

    2
    2 Votes
    2 Posts
    169 Views
    nebulonN
    That seems a bit rough to disable those checks just to import the dump. Doesn't this hint at a data inconsistency? But I am not familiar with what non standard keys are in mysql
  • 1 Votes
    4 Posts
    380 Views
    jamesJ
    Hello @oskarardolo We just published an app update for @dolibarr that fixes the automatic configuration of SMTP. See: https://forum.cloudron.io/post/127982
  • 2 Votes
    17 Posts
    2k Views
    jamesJ
    Hello @oskarardolo It is possible what with extra effort. Similar to https://forum.cloudron.io/post/126448
  • 2 Votes
    5 Posts
    564 Views
    girishG
    @BenjaminJ you have to use something like https://docs.cloudron.io/packages/dolibarr/#manual-utf8mb4-migration to migrate an existing installation .
  • install.lock removed after cloudron reboot

    Solved
    24
    0 Votes
    24 Posts
    8k Views
    C
    OP here it's good for me too !!! thanks a lot
  • WHich user for Cron task ?

    Moved Solved cron crontab
    8
    0 Votes
    8 Posts
    2k Views
    jamesJ
    Hello @sebastienserre The custom cron runner was reworked and should work by default now without adding a specific cron job in the Cloudron Dashboard. See: https://forum.cloudron.io/topic/15337/php-fatal-error-call-to-undefined-method-fetch_all-. Can you please try it and report back if that works?
  • PHP Fatal error - Call to undefined method 'fetch_all'.

    Moved Solved
    14
    0 Votes
    14 Posts
    2k Views
    M
    Hello @james yes i found it. auto update was turned off so i updated now. Thank you.
  • Security error message

    2
    0 Votes
    2 Posts
    649 Views
    nebulonN
    I assume the app as such uses the database just fine? Database access is quite fundamental I would assume for dolibar, so maybe some security setting in dolibarr itself?
  • Email questions

    mail matomo dolibarr
    3
    0 Votes
    3 Posts
    949 Views
    J
    @sebastienserre said in Email questions: When I received the email, the "from" header is "Matomo" which is another apps I'm running on the Cloudron. This is coming from somewhere in Dolibarr. The from name is not part of the SMTP protocol , it's inside the email body. Can you go over the SMTP settings inside Dolibarr again?
  • Unabable to login

    24
    0 Votes
    24 Posts
    4k Views
    scookeS
    Seriously, that is some amazing support. You will not find this elsewhere, anywhere. Cloudron rules!
  • Migrate from a self hosted Dolibarr to a Dolibarr in cloudron

    mysql
    3
    1 Votes
    3 Posts
    810 Views
    sebastienserreS
    Hello Yes it seems to work thank you Thanks
  • implement fix propal

    2
    0 Votes
    2 Posts
    602 Views
    nebulonN
    We generally only package released versions of apps, as otherwise it becomes impossible to test all combinations. Hopefully they make a new release soon, which would then likely include the fix.
  • Dolibarr OIDC

    Solved
    18
    3 Votes
    18 Posts
    7k Views
    O
    Hi, I had same problem today. I was unable to connect to admin account using password. A workaround I did was to edit Dolibarr "admin" account username to an already existing Cloudron username (using a Dolibarr account that had administrator rights). I could then connect with OIDC on the edited admin account. But I'm pretty sure I was able to connect to that admin account with username/password months ago. I'm not a big fan of the workaround I used today.
  • override email automatic configuration

    Solved feature-request
    7
    0 Votes
    7 Posts
    2k Views
    C
    thanks a lot for the update, it works and was able to put this option on my apps.
  • how to implement fix on core files ?

    7
    0 Votes
    7 Posts
    3k Views
    jamesJ
    Hello @Crush33 @Crush33 said in how to implement fix on core files ?: does the database of dolibarr will be lost after quitting the recovery mode ? No. The database stays as it is. If you make changes while in recovery mode, those changes will persist. @Crush33 said in how to implement fix on core files ?: does the files in /app/data/dolibarr will be lost too ? No. Only changes made to the normally read-only sections will be lost.
  • custom folder for modules not working properly

    2
    3
    0 Votes
    2 Posts
    1k Views
    jamesJ
    Hello @Crush33 With apps that allow plugins or extensions, it is almost impossible to test and verify everything that is out there. It is the developer's responsibility to provide extensions that work. For the future, please don't use screenshots for code. I can't copy-paste some of the PHP code for testing since it is a picture. I was able to get the code via OCR and put it into /app/data/custom/this.php <?php //phpinfo(); //var_dump($_SERVER["CONTEXT_DOCUMENT_ROOT"]); // Load Dolibarr environment $res = 0; // Try main.inc.php into web root known defined into CONTEXT_DOCUMENT_ROOT (not always defined) if (!$res && !empty($_SERVER["CONTEXT_DOCUMENT_ROOT"])) { $res = @include $_SERVER["CONTEXT_DOCUMENT_ROOT"]."/main.inc.php"; } // Try main.inc.php into web root detected using web root calculated from SCRIPT_FILENAME $tmp = empty($_SERVER['SCRIPT_FILENAME']) ? : $_SERVER['SCRIPT_FILENAME']; $tmp2 = realpath(__FILE__); $i = strlen($tmp) - 1; $j= strlen($tmp2) - 1; while ($i > 0 && $j > 0 && isset($tmp[$i]) && isset($tmp2[$j]) && $tmp[$i] == $tmp2[$j]) { $i --; $j --; } if (!$res && $i > 0 && file_exists(substr($tmp, 0, ($i+1)) ."/main.inc.php")) { $res = @include substr($tmp, 0, ($i +1)) ."/main.inc.php"; } if (!$res && $i > 0 && file_exists(dirname(substr($tmp, 0, ($i+1))) ."/main.inc.php")) { $res = @include dirname(substr($tmp, 0, ($i+1)))."/main.inc.php"; } // Try main.inc.php using relative path if (!$res && file_exists(" .. /main.inc.php")) { $res = @include " .. /main.inc.php"; } if (!$res && file_exists(" .. / .. /main.inc.php")) { $res = @include " .. / .. /main.inc.php"; } if (!$res && file_exists(" .. / .. / .. /main.inc.php")) { $res = @include " .. / .. / .. /main.inc.php"; } if (!$res) { die("Include of main fails"); } When I access this file with the browser path $DOMAIN/custom/this.php I get: [image: cf420bdc-1153-417c-a6a4-0099ac6086f4-image.png] Simply testing: <?php //phpinfo(); var_dump($_SERVER["CONTEXT_DOCUMENT_ROOT"]); This shows: string(16) "/app/code/htdocs" And with this as path to main.inc.php is working.
  • Broken Link

    Solved
    2
    2 Votes
    2 Posts
    784 Views
    girishG
    Fixed, thanks for reporting
  • Adding a custom theme

    7
    1 Votes
    7 Posts
    3k Views
    nebulonN
    Do you have any update on this @ruihildt ? We have pending MR which may or may not fix the issue, but we require your input here.
  • Dolibarr Permission

    2
    2
    0 Votes
    2 Posts
    1k Views
    nebulonN
    Hi, this seems to be more of a question how to use Dolibarr, not so much about the Cloudron package for Dolibarr. Maybe someone here can help out, but I think it is better to ask the upstream project itself https://www.dolibarr.org/