Some weird with jsreport in Azure (Error when syncing fs journal, no worry, we will run again Timeout during waiting for file system, try it again later. stack=Error: Timeout during waiting for file system, try it again later.)



  • Hi everyone, i have this problem.

    FROM jsreport/jsreport:4.5.0
    
    WORKDIR /app
    
    RUN mkdir -p /app/logs && chmod -R 777 /app/logs
    
    COPY templates /app/templates
    
    RUN jsreport import /app/templates/templates.jsrexport
    
    USER root
    
    RUN chown -R root:root /app/templates && chmod -R 755 /app/templates
    
    RUN rm -rf /app/templates
    
    USER jsreport
    
    EXPOSE 5488
    

    I have this dockerfile that runs jsreport with templates . i tested it locally and all works good. 0_1726499898625_Знімок екрана 2024-09-16 о 18.17.06.png . But when i push my container into Azure i had error.0_1726500000361_Знімок екрана 2024-09-16 о 18.19.20.png . This is Error (Error when cleaning fs journal, no worry, we will run again Timeout during waiting for file system, try it again later. stack=Error: Timeout during waiting for file system, try it again later,Error when syncing fs journal, no worry, we will run again Timeout during waiting for file system, try it again later. stack=Error: Timeout during waiting for file system, try it again later.)After error it use my backup. Where is only 141 temp someone can explain how i can fix it? This inf was wroten by my Git Hub Action

    #6 [2/7] WORKDIR /app
    #6 DONE 0.0s
    #7 [3/7] RUN mkdir -p /app/logs && chmod -R 777 /app/logs
    #7 DONE 0.2s
    #8 [4/7] COPY templates /app/templates
    #8 DONE 0.0s
    #9 [5/7] RUN jsreport import /app/templates/templates.jsrexport
    #9 3.497 starting import in local instance..
    #9 5.384 imported by entitySet: templates 143, data 70, assets 87, scripts 20, folders 84
    #9 5.385 total entities imported: 404
    #9 5.385 import finished
    #9 DONE 5.5s
    #10 [6/7] RUN chown -R root:root /app/templates && chmod -R 755 /app/templates
    #10 DONE 0.2s
    #11 [7/7] RUN rm -rf /app/templates
    

    Who know how to fix it??? Best regrads, Nazar



  • It is just a warning as it says.... An unimportant internal background process timed out. This is typically caused by a slow file system.

    How do you store the templates? Using fs store driver? Do you store templates only inside the container? Or in a mapped disk?



  • i store the templates in/app/data. Also i see this inf

    024-09-16T17:24:27.7515870Z 2024-09-16T17:24:27.750Z - info: Initializing jsreport (version: 4.5.0, configuration file: jsreport.config.json, nodejs: 18.20.3)
    2024-09-16T17:24:27.7619959Z 2024-09-16T17:24:27.752Z - info: Searching for available extensions in /app/
    2024-09-16T17:24:27.7924762Z 2024-09-16T17:24:27.792Z - info: Extensions location cache contains up to date information, skipping crawling in /app/
    2024-09-16T17:24:33.8721302Z 2024-09-16T17:24:33.871Z - info: Found 35 extension(s)
    2024-09-16T17:24:33.9262831Z 2024-09-16T17:24:33.926Z - debug: Writing extension locations cache to /tmp/jsreport/core/locations.json
    2024-09-16T17:24:33.9277988Z 2024-09-16T17:24:33.927Z - debug: Discovered 35 extensions
    ``` I have backup very 1 hour in azure


  • locally

    Nazar-Horshchenko-admin:jsreport-templates nazarhorshchenko$ docker ps
    CONTAINER ID   IMAGE            COMMAND                  CREATED          STATUS          PORTS                    NAMES
    c3d00e9717de   jsreport-local   "docker-entrypoint.s…"   16 seconds ago   Up 16 seconds   0.0.0.0:5488->5488/tcp   jsreport-container
    Nazar-Horshchenko-adminjsreport-templates nazarhorshchenko$ docker exec -it c3d00e9717de  /bin/bash
    c3d00e9717de:/app$ ls
    data                  editConfig.js         jsreport.config.json  logs                  node_modules          package-lock.json     package.json          run.sh                server.js
    c3d00e9717de:/app$ cd data/
    c3d00e9717de:/app/data$ ls
    EmailTemplates         KYC                    OLD_EMAIL_TEMPLATES    PDF                    RISK                   UBOPdf                 fs.version             search-certificate     storage
    HealthCheck            KYX                    OS                     POA                    UBOIdent               fs.journal             network-graph_example  settings               summary-assets
    

    in Azure

    2024-09-16T17:40:53.9564640Z 2024-09-16T17:40:53.956Z - info: Searching for available extensions in /app/
    2024-09-16T17:40:53.9753837Z 2024-09-16T17:40:53.975Z - info: Extensions location cache contains up to date information, skipping crawling in /app/
    2024-09-16T17:31:13.5778632Z 2024-09-16T17:31:13.577Z - info: Using general timeout for rendering (reportTimeout: 25000)
    2024-09-16T17:31:13.5778741Z 2024-09-16T17:31:13.577Z - info: Using fs provider for template store.
    2024-09-16T17:31:13.5900566Z 2024-09-16T17:31:13.589Z - info: fs store is persisting using fs for /app/data
    2024-09-16T17:31:13.6213039Z 2024-09-16T17:31:13.621Z - info: fs store is loading data
    2024-09-16T17:31:19.3641943Z 2024-09-16T17:31:19.363Z - info: fs store is initialized successfully
    2024-09-16T17:31:19.3846638Z 2024-09-16T17:31:19.384Z - debug: studio default theme is: light
    2024-09-16T17:31:19.4059242Z 2024-09-16T17:31:19.405Z - info: Creating default express app.
    2024-09-16T17:24:27.7619959Z 2024-09-16T17:24:27.752Z - info: Searching for available extensions in /app/
    2024-09-16T17:24:27.7924762Z 2024-09-16T17:24:27.792Z - info: Extensions location cache contains up to date information, skipping crawling in /app/
    2024-09-16T17:24:33.8721302Z 2024-09-16T17:24:33.871Z - info: Found 35 extension(s)
    2024-09-16T17:24:33.9262831Z 2024-09-16T17:24:33.926Z - debug: Writing extension locations cache to /tmp/jsreport/core/locations.json
    2024-09-16T17:24:33.9277988Z 2024-09-16T17:24:33.927Z - debug: Discovered 35 extensions
    

    Dockerfile

    FROM jsreport/jsreport:4.5.0
    
    WORKDIR /app
    
    RUN mkdir -p /app/logs && chmod -R 777 /app/logs
    
    COPY templates /app/templates
    
    RUN jsreport import /app/templates/templates.jsrexport
    
    USER root
    
    RUN chown -R root:root /app/templates && chmod -R 755 /app/templates
    
    RUN rm -rf /app/templates
    
    USER jsreport
    
    EXPOSE 5488
    


  • Does this affect the functionality? It is just a warning. Maybe Azure does some shaking with the disk causing temporarily higher latency.



  • Ok but i did not any error all look good. but my jsreport have not updated considering that action show this result

    #8 [4/7] COPY templates /app/templates
    #8 DONE 0.0s
    #9 [5/7] RUN jsreport import /app/templates/templates.jsrexport
    #9 3.406 starting import in local instance..
    #9 5.279 imported by entitySet: templates 143, data 70, assets 87, scripts 20, folders 84
    #9 5.280 total entities imported: 404
    #9 5.280 import finished
    #9 DONE 5.4s
    

    where I did mistake?


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.