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
  • 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. Support
  3. Cloudron Backup Issue with LAMP Application

Cloudron Backup Issue with LAMP Application

Scheduled Pinned Locked Moved Solved Support
backuplamp
7 Posts 3 Posters 1.0k 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.
  • T Offline
    T Offline
    thibault
    wrote on last edited by
    #1

    Hello everyone,

    I'm facing an issue with the Cloudron backup process for one of my LAMP applications and I'm seeking advice or suggestions to resolve it.

    Problem Details:
    During the backup attempt of my LAMP application, the backup seems to stall. The logs show a repetitive backup operation with no progress: "Uploading backup 218M@0MBps (mywebsite.com)" with a constant percentage of 36.714285714285715%. This behavior repeats for several minutes without any change.

    LAMP Application Specifications:

    Version: lamp.cloudronapp.php74@3.4.1
    Memory: 8GB
    CPU Usage: about 50%
    Additional Information:

    I have a .htaccess file set up to block certain IP addresses. I'm not sure if this could impact the backup process.
    Network connection appears stable and server resources are not fully utilized during the backup attempt.
    I'm looking for advice to determine the cause of this issue and find a solution. Has anyone encountered a similar problem? Are there specific troubleshooting steps I could try?

    Any help or suggestion would be greatly appreciated.

    Thank you in advance for your time and assistance.

    Best regards,
    Thibault Haese

    girishG 1 Reply Last reply
    1
    • T thibault

      Hello everyone,

      I'm facing an issue with the Cloudron backup process for one of my LAMP applications and I'm seeking advice or suggestions to resolve it.

      Problem Details:
      During the backup attempt of my LAMP application, the backup seems to stall. The logs show a repetitive backup operation with no progress: "Uploading backup 218M@0MBps (mywebsite.com)" with a constant percentage of 36.714285714285715%. This behavior repeats for several minutes without any change.

      LAMP Application Specifications:

      Version: lamp.cloudronapp.php74@3.4.1
      Memory: 8GB
      CPU Usage: about 50%
      Additional Information:

      I have a .htaccess file set up to block certain IP addresses. I'm not sure if this could impact the backup process.
      Network connection appears stable and server resources are not fully utilized during the backup attempt.
      I'm looking for advice to determine the cause of this issue and find a solution. Has anyone encountered a similar problem? Are there specific troubleshooting steps I could try?

      Any help or suggestion would be greatly appreciated.

      Thank you in advance for your time and assistance.

      Best regards,
      Thibault Haese

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @thibault Some ideas:

      • Does backup work for other apps? If so, this is not some firewall related issue. An app's htaccess does not prevent backups. The backup code runs from outside the container.
      • Can you tell us a bit on how much data you are backing up and to which destination ? If you go to Backups -> Configure -> Advanced, you can change some settings based on your backup destination. But first thing I would try is to give the backup process more memory and see if that helps.
      • Depending on your VPS and network, it's possible that there is some outbound/upload throttle. This happens all the time for home networks where upload of large data is immediately throttled (unlike download).
      T 1 Reply Last reply
      0
      • girishG girish marked this topic as a question on
      • girishG girish

        @thibault Some ideas:

        • Does backup work for other apps? If so, this is not some firewall related issue. An app's htaccess does not prevent backups. The backup code runs from outside the container.
        • Can you tell us a bit on how much data you are backing up and to which destination ? If you go to Backups -> Configure -> Advanced, you can change some settings based on your backup destination. But first thing I would try is to give the backup process more memory and see if that helps.
        • Depending on your VPS and network, it's possible that there is some outbound/upload throttle. This happens all the time for home networks where upload of large data is immediately throttled (unlike download).
        T Offline
        T Offline
        thibault
        wrote on last edited by
        #3

        @girish All other applications on my Cloudron setup are backing up successfully, except for the LAMP-based site. Here are the details of my backup settings :

        Backup Provider: Filesystem
        Backup Location: /var/backups
        Storage Format: tgz
        Allocated Memory Limit: 10.91 GiB
        The problematic application is about 2.85 GB in size. However, I don't think storage space is the issue, as my server is set up in RAID 5 with 4.96 TB of free space.

        I'm perplexed as to why this particular LAMP application is not backing up while everything else is. Any insights or suggestions would be greatly appreciated.

        girishG 1 Reply Last reply
        0
        • T thibault

          @girish All other applications on my Cloudron setup are backing up successfully, except for the LAMP-based site. Here are the details of my backup settings :

          Backup Provider: Filesystem
          Backup Location: /var/backups
          Storage Format: tgz
          Allocated Memory Limit: 10.91 GiB
          The problematic application is about 2.85 GB in size. However, I don't think storage space is the issue, as my server is set up in RAID 5 with 4.96 TB of free space.

          I'm perplexed as to why this particular LAMP application is not backing up while everything else is. Any insights or suggestions would be greatly appreciated.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @thibault Does the app generate temporary/transient files or create log files inside the data directory itself. There is a bug that happens sometimes that when files appear/disappear , the node module we use to create a tar archive gets stuck. If this is the case, is it possible to move the temp directory location to either /tmp or /run ?

          1 Reply Last reply
          1
          • T Offline
            T Offline
            thibault
            wrote on last edited by
            #5

            @girish Indeed, with the Dolibarr installation, there was a log file being continuously updated within the data directory. Based on your suggestion, I disabled this logging module, and it appears to have resolved the backup issue. The backup process is now working correctly. Thank you very much for pointing me in the right direction – this was an incredibly helpful insight!

            Best regards,
            Thibault Haese.

            girishG 1 Reply Last reply
            1
            • T thibault has marked this topic as solved on
            • T thibault

              @girish Indeed, with the Dolibarr installation, there was a log file being continuously updated within the data directory. Based on your suggestion, I disabled this logging module, and it appears to have resolved the backup issue. The backup process is now working correctly. Thank you very much for pointing me in the right direction – this was an incredibly helpful insight!

              Best regards,
              Thibault Haese.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @thibault ah good 🙂 If logging is important, you can always move to /tmp or /run as mentioned. The main difference is that /tmp files are periodically cleaned up by a cron job (based on creation time) but /run is not.

              1 Reply Last reply
              2
              • J Offline
                J Offline
                jagan
                wrote on last edited by
                #7

                The things we learn going through the support requests!

                1 Reply Last reply
                2
                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