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. Nextcloud
  3. Problem restarting Nextcloud after Disk Full Event

Problem restarting Nextcloud after Disk Full Event

Scheduled Pinned Locked Moved Nextcloud
13 Posts 6 Posters 1.2k Views 6 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.
  • ShaiS Shai

    This seems to happen to me every couple of years... I fill the hard drive and it crashes Nextcloud and I have a hard time restarting Nextcloud. I have read through the previous threads I've started on this topic.
    I removed lots of file allowing for plenty of hard drive space. I dealt with the unbound issue and restarted that service.
    In terms of replacing config/config.php with a version from a backup, the most recent version I had was from 2023, oops. I got an error from that file about it being an old version. So then I just tried inserting

      'installed' => true,
    

    into the current version. The error messages I'm getting now after clicking on "Start app" are

    OCP\HintException: [0]: Configuration was not read or initialized correctly, not overwriting /app/code/config/config.php ()
    

    and

    Jan 09 17:30:43=> Healtheck error: Error: connect EHOSTUNREACH 172.18.17.145:80
    

    I'd really appreciate help in getting my Nextcloud running again. Thank you.

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #2

    @Shai said in Problem restarting Nextcloud after Disk Full Event:

    In terms of replacing config/config.php with a version from a backup, the most recent version I had was from 2023

    I don't understand, you're using Cloudron but don't have regular automatic backups?!?

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
    • ShaiS Offline
      ShaiS Offline
      Shai
      wrote on last edited by
      #3

      Yes, really stupid, there were reasons which I don't want to go into here.

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

        search for "disk full nextcloud" in the forum for ready made solutions

        Conscious tech

        1 Reply Last reply
        0
        • girishG girish moved this topic from Support on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          @Shai take a config.php from a fresh config.php and patch in values like passwordsalt, secret . If you restart nextcloud, values like db/redis/smtp/ldap will get updated to latest values automatically, so you don't need to fixup those. 🤞

          1 Reply Last reply
          1
          • ShaiS Offline
            ShaiS Offline
            Shai
            wrote on last edited by
            #6

            @girish followed your instruction but I'm getting the following in the logs after a restart of the Nextcloud App says "Not responding":

            An unhandled exception has been thrown:
            Jan 11 22:12:08OCP\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from 30.0.4.1 to 29.0.3.4) ()code_text
            

            Ideas?

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

              @Shai there is a version field in the same config.php . Adjust that to your nextcloud version.

              1 Reply Last reply
              0
              • ShaiS Offline
                ShaiS Offline
                Shai
                wrote on last edited by
                #8

                Thanks @girish. Won't restart after the recommended edit of config.php. Here is the error:

                => Healtheck error: Error: connect ECONNREFUSED 172.18.17.145:80
                OCP\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from 30.0.4 to 29.0.3.4) ()
                
                girishG 1 Reply Last reply
                0
                • ShaiS Shai

                  Thanks @girish. Won't restart after the recommended edit of config.php. Here is the error:

                  => Healtheck error: Error: connect ECONNREFUSED 172.18.17.145:80
                  OCP\HintException: [0]: Downgrading is not supported and is likely to cause unpredictable issues (from 30.0.4 to 29.0.3.4) ()
                  
                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  @Shai said in Problem restarting Nextcloud after Disk Full Event:

                  30.0.4

                  Is this the version field you filled in?

                  1 Reply Last reply
                  0
                  • ShaiS Offline
                    ShaiS Offline
                    Shai
                    wrote on last edited by
                    #10

                    @girish
                    Yes.

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

                      @Shai I think you have to contact us at support@ at this point, if you want us to fix it.

                      1 Reply Last reply
                      0
                      • timconsidineT Offline
                        timconsidineT Offline
                        timconsidine
                        App Dev
                        wrote on last edited by
                        #12

                        Off-topic perhaps but after you have recovered your Nextcloud deployment …

                        This seems to happen to me every couple of years

                        Worth considering some kind of free space monitoring?
                        Various server monitor apps/agents, but simplest is a bash script run as a cron using ntfy to send alerts.
                        I get a daily notification of disk free space, and an “intra-day” alert if anything spikes over a set level.

                        I’m not judging, been there too, but poking yourself in the eye repeatedly doesn’t seem a good idea. Incidents happen, I know, the trick is to learn from them. ‘Root cause’ ‘corrective action’ blah blah blah

                        S 1 Reply Last reply
                        3
                        • timconsidineT timconsidine

                          Off-topic perhaps but after you have recovered your Nextcloud deployment …

                          This seems to happen to me every couple of years

                          Worth considering some kind of free space monitoring?
                          Various server monitor apps/agents, but simplest is a bash script run as a cron using ntfy to send alerts.
                          I get a daily notification of disk free space, and an “intra-day” alert if anything spikes over a set level.

                          I’m not judging, been there too, but poking yourself in the eye repeatedly doesn’t seem a good idea. Incidents happen, I know, the trick is to learn from them. ‘Root cause’ ‘corrective action’ blah blah blah

                          S Offline
                          S Offline
                          SolarSimon
                          wrote on last edited by
                          #13

                          @timconsidine said in Problem restarting Nextcloud after Disk Full Event:

                          Worth considering some kind of free space monitoring?
                          Various server monitor apps/agents

                          is there a good tutorial somewhere? I also ran once into that case and would love automated monitoring.
                          The new notification support of cloudron 8.2 does not cover that case?

                          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