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. Discuss
  3. Cloudron forum and GIT offline for long time?

Cloudron forum and GIT offline for long time?

Scheduled Pinned Locked Moved Discuss
5 Posts 4 Posters 780 Views 4 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.
  • imc67I Online
    imc67I Online
    imc67
    translator
    wrote on last edited by
    #1

    Hi @girish & @nebulon I just experienced a relatively long being offline of at least Cloudron Forum and GIT?

    Any experiences to share?

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      Nothing much really, just upgraded to Ubuntu 22 on all our servers 🙂

      Experiences:

      • DigitalOcean takes 2 hours to snapshot our droplet. It then failed to snapshot saying "adapter error". They say it takes 1 min for every 1 GB of hard disk. This means 160GB is over 2 hours to snapshot a server.
      • All upgrades from ubuntu 18 to 20 on DO fail. The whole VM gets hosed. Recovery console does not work. Various parts of the UI just error and show that DO shark. I guess all their new stuff is not well tested on Ubuntu 18.
      • We restored from Cloudron backups which was fairly smooth.
        • The reality is if it takes say 1 hour to backup, 1 hour to restore. Then, 2 hours things are down.

      Possible bugs:

      • The restore stalls at times at 0mbps. Have to investigate why.
      • Our mail server backups are huge and cloudron restore is essentially "blocked" by mail restore. Only after that can this forum/git etc restore. It's a bit annoying, I would love to fix this but also low priority to fix since this is done so rarely.
      BrutalBirdieB 1 Reply Last reply
      2
      • girishG girish

        Nothing much really, just upgraded to Ubuntu 22 on all our servers 🙂

        Experiences:

        • DigitalOcean takes 2 hours to snapshot our droplet. It then failed to snapshot saying "adapter error". They say it takes 1 min for every 1 GB of hard disk. This means 160GB is over 2 hours to snapshot a server.
        • All upgrades from ubuntu 18 to 20 on DO fail. The whole VM gets hosed. Recovery console does not work. Various parts of the UI just error and show that DO shark. I guess all their new stuff is not well tested on Ubuntu 18.
        • We restored from Cloudron backups which was fairly smooth.
          • The reality is if it takes say 1 hour to backup, 1 hour to restore. Then, 2 hours things are down.

        Possible bugs:

        • The restore stalls at times at 0mbps. Have to investigate why.
        • Our mail server backups are huge and cloudron restore is essentially "blocked" by mail restore. Only after that can this forum/git etc restore. It's a bit annoying, I would love to fix this but also low priority to fix since this is done so rarely.
        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #3

        @girish said in Cloudron forum and GIT offline for long time?:

        The restore stalls at times at 0mbps. Have to investigate why.

        Same with backups some times.

        Like my work? Consider donating a drink. Cheers!

        BrutalBirdieB 1 Reply Last reply
        3
        • BrutalBirdieB BrutalBirdie

          @girish said in Cloudron forum and GIT offline for long time?:

          The restore stalls at times at 0mbps. Have to investigate why.

          Same with backups some times.

          BrutalBirdieB Offline
          BrutalBirdieB Offline
          BrutalBirdie
          Partner
          wrote on last edited by BrutalBirdie
          #4

          @BrutalBirdie Adding to my generic answer with some more details which could help debugging.

          I noticed this happening a lot more often with backup with a lot of small files when using rsync.

          Example would be the Nextcloud preview folder with its excessive files.

          Sometimes I have to check via root shell if the backup process is doing anything at all since there are no logs of what files or folder he is currently backing up.

          I already read some users (in my mind), HOW TO DO THAT?!

          TL;DR file descriptor


          When a backup is running you will have a box-TASKID.service on the system which has the PIDs of the sub-processes.

          You can see the file descriptor of the /bin/cp with:

          ls -lah /proc/$PID/fd/
          

          Since the file descriptor change fast a normal ls might not catch an open file descriptor, so you can use watch.

          watch -d -n 0.1 ls -lah /proc/$PID/fd/
          

          Like my work? Consider donating a drink. Cheers!

          1 Reply Last reply
          1
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #5

            Some tar - streaming would help with all the small files.

            Conscious tech

            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