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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Dolibarr
  3. how to implement fix on core files ?

how to implement fix on core files ?

Scheduled Pinned Locked Moved Dolibarr
4 Posts 2 Posters 187 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Crush33
    wrote last edited by
    #1

    hi
    need to put this fix in place before 22.0.2 is released : https://github.com/Dolibarr/dolibarr/pull/35228
    but as I understand, core files of Dolibarr are readonly.
    Is it possible to do so (from cloudron server directly maybe ?)
    thanks !

    1 Reply Last reply
    0
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @Crush33

      Option 1 - temporary fix

      The fastest temporary option is to put the app in Recovery Mode.
      In this state you can edit everything, but these changes are temporary.
      Every app restart or server restart will undo these changes.

      After you have changed the core code you can start the app with /app/pkg/start.sh.

      Option 2 - Custom Image

      Only do this if you know 120% what you are doing.
      You can download the source code of the app itself https://git.cloudron.io/packages/dolibarr-app
      Make the changes you need and build your own docker image and update the app with your custom image.

      Option 3 - Wait for the official release

      I know you stated need to put this fix in place before 22.0.2 is released but this is still the most stable option.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Crush33
        wrote last edited by Crush33
        #3

        thanks for your reply James !
        does option 1 still backup normally ?
        EDIT : in recovery mode, app is not accessible anymore saying "app is curretly inaccessible"

        jamesJ 1 Reply Last reply
        0
        • C Crush33

          thanks for your reply James !
          does option 1 still backup normally ?
          EDIT : in recovery mode, app is not accessible anymore saying "app is curretly inaccessible"

          jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by james
          #4

          Hello @Crush33

          @Crush33 said in how to implement fix on core files ?:

          EDIT : in recovery mode, app is not accessible anymore saying "app is curretly inaccessible"

          Because the app is not starting on its own in recovery mode.
          Because of that I wrote:

          said in how to implement fix on core files ?:

          After you have changed the core code you can start the app with /app/pkg/start.sh

          @Crush33 said in how to implement fix on core files ?:

          does option 1 still backup normally ?

          I am not 100% sure. I will test this and report back.
          After testing, yes apps in recovery mode are still included in the backup.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search