Hi Jacopo,
Of course it worked. I forgot that since we use Docker we also use Postgres. So
loadAll is not called as for Derby.
I came there because yesterday I locally crossed this issue with
example/control/ReactExample :
java.lang.IllegalArgumentException:
Error running script at location
[component://example/src/main/groovy/org/apache/ofbiz/example/LoadReactApp.groovy]:
groovy.json.JsonException: Unable to process file:
/ofbiz/plugins/example/webapp/example/vite-react-app/manifest.json
Stable is also affected, 24.09.25 is not.
Maybe it's related with
https://github.com/apache/ofbiz-plugins/commit/fd53f4d52d8da87b04be6f4668d800d67800ee51
?
As we tend to use more GH, I did not create a Jira.
HTH
Jacques
Le 19/03/2026 à 20:39, Jacques Le Roux via dev a écrit :
Thanks Jacopo,
Yes that's it. As I can't sudo today, I let the cron pull-and-restart.sh
applies by itself this night.
Jacques
Le 19/03/2026 à 17:20, Jacopo Cappellato a écrit :
The following change to Dockerfile should do the trick:
diff --git a/Dockerfile b/Dockerfile
index 7b36d42507..fb1d6e1c1f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -52,7 +52,7 @@ COPY APACHE2_HEADER build.gradle common.gradle
gradle.properties NOTICE settings
# Build OFBiz while mounting a gradle cache
RUN --mount=type=cache,id=gradle-cache,sharing=locked,target=/root/.gradle
\
--mount=type=tmpfs,target=runtime/tmp \
- ["./gradlew", "--console", "plain", "distTar"]
+ ["./gradlew", "--console", "plain", "generateSecretKeys", "distTar"]
###################################################################################
On Thu, Mar 19, 2026 at 5:01 PM Jacopo Cappellato <
[email protected]> wrote:
If you don't manually set the secrets, you must generate them either
running loadAll (that triggers generateSecretKeys) or by running
generateSecretKeys directly.
Jacopo
On Thu, Mar 19, 2026 at 4:57 PM Jacques Le Roux via dev <
[email protected]> wrote:
Hi,
It appears at
https://demo-trunk.ofbiz.apache.org/example/control/ReactExample
Stable is also affected.
Maybe there are other cases. I don't know.
Maybe the docker part could be implied, I don't think so.
I tried to restart the demos instance in case a loadAll was necessary.
But, I don't know why, I was suddenly unable to sudo.
TIA
Jacques