When I publish a new deployment, the following error is displayed. Can someone help me solve it

0
MxBuild returned errors: {"errors": [{"message": "Could not build your widgets. This may be due to outdated widgets in your project.\nYou can check which widgets failed to build by clicking Project > Tools > Check Widgets.", "details": ""}], "problems": []} #18 211.5 ERROR: Command '['/tmp/opt/mono-5.20.1.27/bin/mono', '--config', '/tmp/opt/mono-5.20.1.27/etc/mono/config', '/opt/mendix/build/.local/mxbuild/modeler/mxbuild.exe', '--target=package', '--output=/tmp/model.mda', '--java-home=/opt/mendix/build/.local/usr/lib/jvm/Adoptium-jdk-11.0.15-Adoptium-x64', '--java-exe-path=/opt/mendix/build/.local/usr/lib/jvm/Adoptium-jdk-11.0.15-Adoptium-x64/bin/java', '--write-errors=/tmp/builderrors.json', '/opt/mendix/build/Geelam_Operation_Service.mpr']' returned non-zero exit status 3. #18 212.0 Traceback (most recent call last): #18 212.0   File "./compilation", line 67, in <module> #18 212.0     exit_code = call_buildpack_compilation() #18 212.0   File "./compilation", line 40, in call_buildpack_compilation #18 212.0     return subprocess.check_call(["/opt/mendix/buildpack/buildpack/stage.py", BUILD_PATH, CACHE_PATH, DEPS_DIR, DEPS_IDX]) #18 212.0   File "/usr/lib/python3.6/subprocess.py", line 311, in check_call #18 212.0     raise CalledProcessError(retcode, cmd) #18 212.0 subprocess.CalledProcessError: Command '['/opt/mendix/buildpack/buildpack/stage.py', '/opt/mendix/build', '/tmp/buildcache', '/tmp/cf-deps', '0']' returned non-zero exit status 1. ------ executor failed running [/bin/sh -c mkdir -p /tmp/buildcache /tmp/cf-deps /var/mendix/build /var/mendix/build/.local &&    chmod +rx /opt/mendix/buildpack/compilation /opt/mendix/buildpack/git /opt/mendix/buildpack/buildpack/stage.py &&    cd /opt/mendix/buildpack &&    ./compilation /opt/mendix/build /tmp/buildcache /tmp/cf-deps 0 &&    rm -fr /tmp/buildcache /tmp/javasdk /tmp/opt /tmp/downloads /opt/mendix/buildpack/compilation /opt/mendix/buildpack/git &&    ln -s /opt/mendix/.java /opt/mendix/build &&    chown -R ${USER_UID}:0 /opt/mendix /var/mendix &&    chmod -R g=u /opt/mendix /var/mendix]: exit code: 1
asked
1 answers
0

First do a full deployment folder cleanup then run the project once locally.
then try the deployment archive making procedure. Let me know if you got any progress.

answered