Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Dolibarr : app is currently not responding

    Dolibarr
    6
    14
    350
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Enabl.ist
      Enabl.ist last edited by

      Hi,

      When I install Dolibarr I get the following error when I go to the site page.

      ⌛
      This app is currently not responding. Please try refreshing the page in a few minutes.

      These are the corresponding logfiles:

      Jul 11 21:42:59 ERROR, /app/data/conf/conf.php or /app/data/conf/conf.php.ldap does not exists !
      
      Jul 11 21:42:59 /app/pkg/start.sh: line 54: /app/data/conf/autoconfig-langs.sql: No such file or directory
      

      Does anyone know what goes wrong here?

      Thanks!

      BrutalBirdie 1 Reply Last reply Reply Quote 0
      • BrutalBirdie
        BrutalBirdie Staff @Enabl.ist last edited by BrutalBirdie

        @Enabl-ist

        Testing on private dev node.

        Could not reproduce:

        App Title and Version
        Dolibarr 15.0.2
        App ID
        bedef6d7-1841-4a12-93c0-caef3d101681
        Package Version
        org.dolibarr.cloudronapp@1.2.2
        Last Updated
        just now
        

        Fist Start Log:
        https://paste.cloudron.dev/sunopucige.swift

        Can also be tested: https://dolibar.cloudron.dev
        Default login.


        BUT! I could reproduce this on the official demo instance:

        
        App Title and Version
        Dolibarr 15.0.2
        App ID
        03c1820d-c085-4549-baf2-3057c9feb554
        Package Version
        org.dolibarr.cloudronapp@1.2.2
        Last Updated
        just now
        

        https://paste.cloudron.dev/iluweloyiy.rust

        https://my.demo.cloudron.io


        Now this is odd.

        There is also a big delta between my private dev node of dolibars /app/data and the demo ones.

        Private:
        b1806d95-5247-4cdb-9164-a889d6e144a3-grafik.png

        Demo:
        f24f5e8c-7cb2-440e-8fb6-18efaabc5b74-grafik.png


        The one big difference I see is that I am running Cloudron 7.2.0 and the Demo Node is running 7.2.5.

        I could reproduce this error on another 7.2.5 node.
        Also the mysql service RAM limit was also not the problem. (Thought maybe but no)

        Like my work? Consider donating a beer 🍻 Cheers!

        BrutalBirdie 1 Reply Last reply Reply Quote 0
        • BrutalBirdie
          BrutalBirdie Staff @BrutalBirdie last edited by

          Leaving a ping for @staff.

          Like my work? Consider donating a beer 🍻 Cheers!

          BrutalBirdie 1 Reply Last reply Reply Quote 0
          • BrutalBirdie
            BrutalBirdie Staff @BrutalBirdie last edited by

            wtf how did this ever work?

            https://git.cloudron.io/cloudron/dolibarr-app/-/blob/master/Dockerfile#L43

            COPY dolibarr/conf.php.ldap /app/data/conf/conf.php.ldap
            

            😕
            When the docker image is build there is no /app/data/. . . at least it should not be there.

            @nebulon was there a change between 7.2.0 when build docker images included /app/data stuff that would have been synced docker image /app/data to appdata/{APPID}/data/?

            Digging more... tomorrow.
            need sleep.

            Like my work? Consider donating a beer 🍻 Cheers!

            nebulon robi 2 Replies Last reply Reply Quote 1
            • nebulon
              nebulon Staff @BrutalBirdie last edited by

              @BrutalBirdie I agree this looks very strange and should not do what the line implies as /app/data/ will be mounted and thus the files COPYed here will not be visible. Maybe just some copy and paste error from another Dockerfile then.

              1 Reply Last reply Reply Quote 0
              • robi
                robi @BrutalBirdie last edited by

                @BrutalBirdie seems that should be moved to the start.sh if it's desired as such and not already available as per the packaging.

                Life of Advanced Technology

                nebulon 1 Reply Last reply Reply Quote 0
                • nebulon
                  nebulon Staff @robi last edited by

                  @robi I've taken a further look at the app package and I am also a bit puzzled as how this ever worked in the first place to be honest. We have rework this quite a bit it seems.

                  robi girish 2 Replies Last reply Reply Quote 1
                  • robi
                    robi @nebulon last edited by

                    @nebulon I'm not sure it worked at all, but was a superfluous step that didn't affect the outcome.

                    I could be wrong as I don't know what happens when the docker image layer gets added and the directory already exists and has files. Do they simply merge? Or is it overwritten?

                    Life of Advanced Technology

                    nebulon 1 Reply Last reply Reply Quote 0
                    • nebulon
                      nebulon Staff @robi last edited by

                      @robi no mergin happens, after the mount, the original files in that place are not accessible anymore. Either way I am now reworking that package to have a fresh start.

                      robi 1 Reply Last reply Reply Quote 2
                      • robi
                        robi @nebulon last edited by

                        @nebulon yes, thought so, the destination folder gets suppressed with the overlay.

                        Life of Advanced Technology

                        1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @nebulon last edited by

                          @nebulon said in Dolibarr : app is currently not responding:

                          @robi I've taken a further look at the app package and I am also a bit puzzled as how this ever worked in the first place to be honest. We have rework this quite a bit it seems.

                          This is because in previous versions, we used Docker volumes for local storage. Docker volume has a feature that things get copied over from a volume on first run. In Cloudron 7.2, we made localstorage a bind mount which does not have this feature.

                          I mentioned this in passing here - https://forum.cloudron.io/topic/6409/dashy/16

                          1 Reply Last reply Reply Quote 5
                          • Animus83
                            Animus83 last edited by

                            8cac2a1d-e628-4907-930d-229782897f84-image.png

                            domain: dolibarr.wentzelweb.com

                            a98ed270-54c5-4140-a4f4-b6a8460c7a3a-image.png

                            nebulon 1 Reply Last reply Reply Quote 0
                            • nebulon
                              nebulon Staff @Animus83 last edited by

                              @Animus83 can you give more information, like which Dolibar app package version is this? Did this happen after an update or a fresh installation?

                              1 Reply Last reply Reply Quote 0
                              • Topic has been marked as a question  nebulon nebulon 
                              • nebulon
                                nebulon Staff last edited by

                                This should be resolved with the latest version.

                                1 Reply Last reply Reply Quote 0
                                • Topic has been marked as solved  girish girish 
                                • First post
                                  Last post
                                Powered by NodeBB