how to implement fix on core files ?
-
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 ! -
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. -
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"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.