Locally running app cannot be published

0
Hi community,   I have an app that runs locally without problems, but can't be published. The error log shows the following:   [compile] 2024-07-17T14:31:35.815276647Z Using Java 11 [compile] 2024-07-17T14:31:35.896602473Z [compile] 2024-07-17T14:31:35.896624908Z __ __ ____ _ _ _ [compile] 2024-07-17T14:31:35.896627941Z | \/ | | _ \ (_) | | | [compile] 2024-07-17T14:31:35.896630413Z | \ / |_ _| |_) |_ _ _| | __| | [compile] 2024-07-17T14:31:35.896633692Z | |\/| \ \/ / _ <| | | | | |/ _` | [compile] 2024-07-17T14:31:35.896637941Z | | | |> <| |_) | |_| | | | (_| | [compile] 2024-07-17T14:31:35.896641897Z |_| |_/_/\_\____/ \__,_|_|_|\__,_| [compile] 2024-07-17T14:31:35.896645645Z [compile] 2024-07-17T14:31:35.998028471Z v10.12.1.39914 [compile] 2024-07-17T14:31:35.998049499Z [compile] 2024-07-17T14:31:40.083957063Z Starting build for Mendix Project file: /workspace/build/source/targenio8.mpr [compile] 2024-07-17T14:31:40.084852136Z Using the following options: [compile] 2024-07-17T14:31:40.084888474Z * Build target: Package [compile] 2024-07-17T14:31:40.084892730Z * Deployment package file: /workspace/build/dist/472e47c6-3072-4c03-99fc-f8e085f9088d.mda [compile] 2024-07-17T14:31:40.084895362Z * Model version: 1.0.0.d1bf860c [compile] 2024-07-17T14:31:40.084897682Z * Model description: Automatically generated deployment package for Free App deployment. [compile] 2024-07-17T14:31:40.084900198Z Reading project file... [compile] 2024-07-17T14:31:43.509076404Z Building project... [compile] 2024-07-17T14:31:43.519179845Z 2024-07-17 14:31:43.5144 ERROR Mendix.Modeler.Internationalization.LocalizationProvider Translation catalog was not initialized [compile] 2024-07-17T14:31:43.521129433Z Executing step 'Synchronize with file system' [compile] 2024-07-17T14:31:43.521294027Z 2024-07-17 14:31:43.5212 ERROR Mendix.Modeler.Internationalization.LocalizationProvider Translation catalog was not initialized [compile] 2024-07-17T14:31:43.521358456Z * Synchronizing with file system... [compile] 2024-07-17T14:31:45.295716609Z Executing step 'Initialize' [compile] 2024-07-17T14:31:45.316661424Z * Preparing deployment... [compile] 2024-07-17T14:31:45.381193867Z Executing step 'Check prerequisites' [compile] 2024-07-17T14:31:45.381601618Z * Checking for errors... [compile] 2024-07-17T14:31:45.460176989Z 2024-07-17 14:31:45.4557 ERROR Mendix.Modeler.Main.ModelerSettingsManager Failed to load settings. Using default settings. [compile] 2024-07-17T14:31:45.460233135Z System.UnauthorizedAccessException: Access to the file or directory '/root/.local/share/Mendix' is denied. [compile] 2024-07-17T14:31:45.460237910Z at Mendix.Modeler.Utility.WhitelistAware.EnsurePathSafety(String path) in Mendix.Modeler.Utility\WhitelistAware.cs:line 65 [compile] 2024-07-17T14:31:45.460241804Z at Mendix.Modeler.Utility.FileSystem.CreateDirectory(String path) in Mendix.Modeler.Utility\FileSystem.cs:line 165 [compile] 2024-07-17T14:31:45.460246074Z at Mendix.Modeler.Main.ModelerSettingsManager.CreateSettingsFile() in Mendix.Modeler.Core\Main\ModelerSettingsManager.cs:line 375 [compile] 2024-07-17T14:31:45.460249543Z at Mendix.Modeler.Main.ModelerSettingsManager.DoLoad(ModelerSettings settings) in Mendix.Modeler.Core\Main\ModelerSettingsManager.cs:line 177 [compile] 2024-07-17T14:31:45.460253054Z at Mendix.Modeler.Main.ModelerSettingsManager.LoadSettings() in Mendix.Modeler.Core\Main\ModelerSettingsManager.cs:line 162 [compile] 2024-07-17T14:31:49.116953880Z Executing step 'Clean up' [compile] 2024-07-17T14:31:49.117048919Z * Cleaning up... [compile] 2024-07-17T14:31:49.277518641Z ERROR: The project cannot be deployed, because it contains errors. [compile] 2024-07-17T14:31:49.279985900Z ERROR at (unknown location): The theme could not be compiled: [compile] 2024-07-17T14:31:49.280000796Z [compile] 2024-07-17T14:31:49.280005348Z BUILD FAILED   Does anybody know what this could mean?   Thanks, Holger  
asked
2 answers
1

Hi, 

Please check the access there is error with 

System.UnauthorizedAccessException: Access to the file or directory '/root/.local/share/Mendix' is denied.

 

Please do check the access

1. Verifying the user permissions for the directory.

2. Grant read, write, and execute permissions to the necessary directories and files.

3. Check the permissions of /root/.local/share/Mendix Run  ls -ld /root/.local/share/Mendix

answered
0

 

Looks like a service/infra issue to me. If you dont own this service or infra, then whoever is should look into it. 

 

If this is free apps or on mendix public cloud, submit a support ticket to Mendix.

answered