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. Backup Failing (Cloudron crashed/stopped)

Backup Failing (Cloudron crashed/stopped)

Scheduled Pinned Locked Moved Solved Support
backupsmemory
4 Posts 2 Posters 787 Views 2 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.
    • arshsahzadA Offline
      arshsahzadA Offline
      arshsahzad
      wrote on last edited by girish
      #1

      I'm using Scaleway object storage for backups of my cloudron server from the last 8 months, Now from the last 4 days, I'm getting an error - (Cloudron crashed/stopped). I tried to manual backup and increase the backup memory limit up to 1GB/256MB, but the same problem is occurring again and again.

      Aug 29 02:00:02 box:settings initCache: pre-load settings
      Aug 29 02:00:02 box:taskworker Starting task 4294. Logs are at /home/yellowtent/platformdata/logs/tasks/4294.log
      Aug 29 02:00:02 box:tasks 4294: {"percent":2,"error":null}
      Aug 29 02:00:02 box:tasks 4294: {"percent":1,"message":"Backing up gitt.example.com"}
      Aug 29 02:00:02 box:backups gitt.example.com Backed up. Took 0.025 seconds
      Aug 29 02:00:02 box:tasks 4294: {"percent":8.692307692307693,"message":"Backing up example.com"}
      Aug 29 02:00:02 box:tasks 4294: {"percent":16.384615384615387,"message":"Snapshotting app example.com"}
      Aug 29 02:00:02 box:services example.com backupAddons
      Aug 29 02:00:02 box:services example.com backupAddons: Backing up ["mysql","localstorage","sendmail","ldap","scheduler"]
      Aug 29 02:00:02 box:services example.com Backing up mysql
      Aug 29 02:00:13 box:backups example.com snapshotApp: took 10.773 seconds
      Aug 29 02:00:13 box:tasks 4294: {"percent":16.384615384615387,"message":"Uploading app snapshot example.com"}
      Aug 29 02:00:13 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 spawn: /usr/bin/sudo -S -E --close-from=4 /home/yellowtent/box/src/scripts/backupupload.js snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 tgz {"localRoot":"/home/yellowtent/appsdata/3267f633-54a1-47e9-8a96-40b4de678549","layout":[]}
      Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.723Z box:backupupload Backing up {"localRoot":"/home/yellowtent/appsdata/3267f633-54a1-47e9-8a96-40b4de678549","layout":[]} to snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549
      Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.780Z box:settings initCache: pre-load settings
      Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.878Z box:backupupload process: rss: 59314176 heapTotal: 56098816 heapUsed: 24669456 external: 2720545
      Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.878Z box:backupupload v8 heap : used 24673784 total: 56098816 max: 2114191360
      Aug 29 02:00:14 box:backups upload: id snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 format tgz dataLayout {"localRoot":"/home/yellowtent/appsdata/3267f633-54a1-47e9-8a96-40b4de678549","layout":[]}
      Aug 29 02:00:25 box:tasks 4294: {"percent":16.384615384615387,"message":"Uploading backup 18M@2MBps (example.com)"}
      Aug 29 02:00:51 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:51.812Z box:backupupload process: rss: 119881728 heapTotal: 31801344 heapUsed: 26084128 external: 68944741
      Aug 29 02:00:51 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:51.836Z box:backupupload v8 heap : used 26088456 total: 31801344 max: 2114191360
      Aug 29 02:00:51 box:tasks 4294: {"percent":16.384615384615387,"message":"Uploading backup 32M@2MBps (example.com)"}
      
      nebulonN 1 Reply Last reply
      0
      • arshsahzadA arshsahzad

        I'm using Scaleway object storage for backups of my cloudron server from the last 8 months, Now from the last 4 days, I'm getting an error - (Cloudron crashed/stopped). I tried to manual backup and increase the backup memory limit up to 1GB/256MB, but the same problem is occurring again and again.

        Aug 29 02:00:02 box:settings initCache: pre-load settings
        Aug 29 02:00:02 box:taskworker Starting task 4294. Logs are at /home/yellowtent/platformdata/logs/tasks/4294.log
        Aug 29 02:00:02 box:tasks 4294: {"percent":2,"error":null}
        Aug 29 02:00:02 box:tasks 4294: {"percent":1,"message":"Backing up gitt.example.com"}
        Aug 29 02:00:02 box:backups gitt.example.com Backed up. Took 0.025 seconds
        Aug 29 02:00:02 box:tasks 4294: {"percent":8.692307692307693,"message":"Backing up example.com"}
        Aug 29 02:00:02 box:tasks 4294: {"percent":16.384615384615387,"message":"Snapshotting app example.com"}
        Aug 29 02:00:02 box:services example.com backupAddons
        Aug 29 02:00:02 box:services example.com backupAddons: Backing up ["mysql","localstorage","sendmail","ldap","scheduler"]
        Aug 29 02:00:02 box:services example.com Backing up mysql
        Aug 29 02:00:13 box:backups example.com snapshotApp: took 10.773 seconds
        Aug 29 02:00:13 box:tasks 4294: {"percent":16.384615384615387,"message":"Uploading app snapshot example.com"}
        Aug 29 02:00:13 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 spawn: /usr/bin/sudo -S -E --close-from=4 /home/yellowtent/box/src/scripts/backupupload.js snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 tgz {"localRoot":"/home/yellowtent/appsdata/3267f633-54a1-47e9-8a96-40b4de678549","layout":[]}
        Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.723Z box:backupupload Backing up {"localRoot":"/home/yellowtent/appsdata/3267f633-54a1-47e9-8a96-40b4de678549","layout":[]} to snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549
        Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.780Z box:settings initCache: pre-load settings
        Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.878Z box:backupupload process: rss: 59314176 heapTotal: 56098816 heapUsed: 24669456 external: 2720545
        Aug 29 02:00:14 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:14.878Z box:backupupload v8 heap : used 24673784 total: 56098816 max: 2114191360
        Aug 29 02:00:14 box:backups upload: id snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 format tgz dataLayout {"localRoot":"/home/yellowtent/appsdata/3267f633-54a1-47e9-8a96-40b4de678549","layout":[]}
        Aug 29 02:00:25 box:tasks 4294: {"percent":16.384615384615387,"message":"Uploading backup 18M@2MBps (example.com)"}
        Aug 29 02:00:51 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:51.812Z box:backupupload process: rss: 119881728 heapTotal: 31801344 heapUsed: 26084128 external: 68944741
        Aug 29 02:00:51 box:shell backup-snapshot/app_3267f633-54a1-47e9-8a96-40b4de678549 (stdout): 2021-08-28T20:30:51.836Z box:backupupload v8 heap : used 26088456 total: 31801344 max: 2114191360
        Aug 29 02:00:51 box:tasks 4294: {"percent":16.384615384615387,"message":"Uploading backup 32M@2MBps (example.com)"}
        
        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        @arshsahzad looks like you also sent a support ticket. Will be handled there then and we will update this topic, once we understand the issue.

        arshsahzadA nebulonN 2 Replies Last reply
        0
        • nebulonN nebulon

          @arshsahzad looks like you also sent a support ticket. Will be handled there then and we will update this topic, once we understand the issue.

          arshsahzadA Offline
          arshsahzadA Offline
          arshsahzad
          wrote on last edited by
          #3

          @nebulon I got the response, It was happening due to the system was running out of memory. Now It's working fine after increasing the memory of the cloudron server.

          I have one more question, what will be memory limit and upload part size for idle setup of the backup, what will be criteria for that...

          1 Reply Last reply
          0
          • nebulonN nebulon

            @arshsahzad looks like you also sent a support ticket. Will be handled there then and we will update this topic, once we understand the issue.

            nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by nebulon
            #4

            To conclude this, it was a memory issue. The instance as a whole was a bit overcommited.

            If the backup task is idle, it won't consume any memory. Also Cloudron does not reserve memory based on the limits set, neither for backup nor for apps. The limit is just to avoid rouge apps or the backup task to bring kill other apps.

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