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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Dolibarr
  3. [critical] install.lock removed after cloudron reboot

[critical] install.lock removed after cloudron reboot

Scheduled Pinned Locked Moved Dolibarr
9 Posts 3 Posters 229 Views 3 Watching
  • 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.
  • C Offline
    C Offline
    Crush33
    wrote last edited by
    #1

    hi
    just noticed this, after a reboot of cloudron (v8.3.2 (Ubuntu 24.04.1 LTS) all my install.lock files disappear of all my dolibarr instances 😨
    Even if permission on file is www-data or root...

    Have to manually recreate them each time.

    Someone could reproduce ?

    Thanks

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joseph
      Staff
      wrote last edited by
      #2

      Do you see anything in the logs? From what I can see in the packaging code, the install.lock is temporarily moved and then migrations are run and then it is moved back. Maybe the migration run is failing ?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Crush33
        wrote last edited by
        #3

        where should I check exactly to see what happend ?

        1 Reply Last reply
        0
        • jamesJ Online
          jamesJ Online
          james
          Staff
          wrote last edited by
          #4

          The app log itself.
          You can also download the logs and provide this file here.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Crush33
            wrote last edited by
            #5

            forum says i can't upload file here 😞

            Error
            You do not have enough privileges for this action.

            1 Reply Last reply
            0
            • jamesJ Online
              jamesJ Online
              james
              Staff
              wrote last edited by
              #6

              You can use https://paste.cloudron.io/ to paste the whole file in there and provide the URL here.

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Crush33
                wrote last edited by
                #7

                before reboot : https://paste.cloudron.io/cigojugite.yaml
                after reboot : https://paste.cloudron.io/ilulajihon.yaml

                1 Reply Last reply
                1
                • jamesJ Online
                  jamesJ Online
                  james
                  Staff
                  wrote last edited by
                  #8

                  Hello @Crush33
                  Please apologize the delayed response.

                  In your provided logs I could not find anything related to the startup of the app and the install.lock file.
                  Do you have the full app log from the dashboard of the day this happened?
                  Especially the startup part is important.

                  The Dolibarr app runs a setup() function on startup that check if the file /app/data/dolibarr/install.lock exists, moves it to /tmp/install.lock and after running the upgrade hooks it should move back the /tmp/install.lock to /app/data/dolibarr/install.lock.

                  There might have been a failure when running the upgrade hooks or the app crashed or OOM resulting in /tmp/install.lock not being moved back to /app/data/dolibarr/install.lock?
                  I will try to force such a scenario and see if I can reproduce this behavior.

                  1 Reply Last reply
                  0
                  • jamesJ Online
                    jamesJ Online
                    james
                    Staff
                    wrote last edited by
                    #9

                    Hello @Crush33

                    Sadly I was not able to reproduce this behavior.

                    @Crush33 are you using any volumes for the Dolibarr app?

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search