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. Mastodon
  3. Mastodon instance ran out of storage, wont start back up.

Mastodon instance ran out of storage, wont start back up.

Scheduled Pinned Locked Moved Mastodon
9 Posts 2 Posters 1.1k 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.
  • tymscarT Offline
    tymscarT Offline
    tymscar
    wrote on last edited by
    #1

    Hello. Ive been running a mastodon instance for a week and this morning it ran out of storage.

    I increased the disk space and fought a bit with the DNS resolver but managed to get most of those errors out of the way but now its stuck on Not responding.

    Logs seem fine, Im not sure what the issue might be.

    girishG tymscarT 2 Replies Last reply
    1
    • girishG girish moved this topic from Support on
    • tymscarT tymscar

      Hello. Ive been running a mastodon instance for a week and this morning it ran out of storage.

      I increased the disk space and fought a bit with the DNS resolver but managed to get most of those errors out of the way but now its stuck on Not responding.

      Logs seem fine, Im not sure what the issue might be.

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

      @tymscar are you able to visit mastodon directly i.e by not clicking on the dashboard icon? If so, usually systemctl restart box should fix it.

      1 Reply Last reply
      0
      • tymscarT tymscar

        Hello. Ive been running a mastodon instance for a week and this morning it ran out of storage.

        I increased the disk space and fought a bit with the DNS resolver but managed to get most of those errors out of the way but now its stuck on Not responding.

        Logs seem fine, Im not sure what the issue might be.

        tymscarT Offline
        tymscarT Offline
        tymscar
        wrote on last edited by
        #3

        In the meantime I have restored a backup from 2 days ago and that works fine. The one from yesterday however does not and I can confirm for sure that at the time of backup, it was working.

        girishG 1 Reply Last reply
        0
        • tymscarT tymscar

          In the meantime I have restored a backup from 2 days ago and that works fine. The one from yesterday however does not and I can confirm for sure that at the time of backup, it was working.

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

          @tymscar are you able to clone that backup into another location and see if that also results in not responding ?

          tymscarT 1 Reply Last reply
          0
          • girishG girish

            @tymscar are you able to clone that backup into another location and see if that also results in not responding ?

            tymscarT Offline
            tymscarT Offline
            tymscar
            wrote on last edited by
            #5

            @girish I am only allowed to respond once every 6 minutes sadly so I will respond to both of your messages at once with more info!

            So I cannot visit it locally or going straight to the ip. However my old old backup from 2 days ago seems to be fine. I would like to go to the more recent backup though.

            I have in fact cloned it to see if that fixes the issue and sadly I can report back that it does not. Here is something weird though. I have 2 backups 5-10 minutes apart this morning, Those are the most recent backups. I suspect that might be when I ran out of storage, but why would that trigger two backups? are they both perhaps corrupted?

            What would be a good avenue for me to try things?

            girishG 1 Reply Last reply
            0
            • tymscarT tymscar

              @girish I am only allowed to respond once every 6 minutes sadly so I will respond to both of your messages at once with more info!

              So I cannot visit it locally or going straight to the ip. However my old old backup from 2 days ago seems to be fine. I would like to go to the more recent backup though.

              I have in fact cloned it to see if that fixes the issue and sadly I can report back that it does not. Here is something weird though. I have 2 backups 5-10 minutes apart this morning, Those are the most recent backups. I suspect that might be when I ran out of storage, but why would that trigger two backups? are they both perhaps corrupted?

              What would be a good avenue for me to try things?

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

              @tymscar Each update triggers a backup. Is the package different for those backups which are apart by 5-10 mins? Also, you cannot visit by IP, you can only visit by domain name because it's a virtual host setup - IP is not enough to figure out which app you are visiting.

              tymscarT 1 Reply Last reply
              0
              • girishG girish

                @tymscar Each update triggers a backup. Is the package different for those backups which are apart by 5-10 mins? Also, you cannot visit by IP, you can only visit by domain name because it's a virtual host setup - IP is not enough to figure out which app you are visiting.

                tymscarT Offline
                tymscarT Offline
                tymscar
                wrote on last edited by
                #7

                @girish so the backups that are a couple minutes apart are both on 1.8.4, but the backup that I can successfully run is 1.8.3.

                I have also noticed an error on the 1.8.4 ones that I cant run, in the logs:
                "Unknown primary key for table accounts in model Account."

                I get this and what looks like a stacktrace in the logs of the app each time I visit the instance in my browser.

                girishG 1 Reply Last reply
                0
                • tymscarT tymscar

                  @girish so the backups that are a couple minutes apart are both on 1.8.4, but the backup that I can successfully run is 1.8.3.

                  I have also noticed an error on the 1.8.4 ones that I cant run, in the logs:
                  "Unknown primary key for table accounts in model Account."

                  I get this and what looks like a stacktrace in the logs of the app each time I visit the instance in my browser.

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

                  @tymscar Seems like there is couple of reports upstream like this - https://github.com/mastodon/mastodon/issues/9953 and https://github.com/mastodon/mastodon/issues/16950 but they both mention maybe the database got corrupt. I wonder if the shortage of disk space made things corrupt since we started noticing it.

                  I would also check if Services -> PostgreSQL has enough memory moving forward.

                  tymscarT 1 Reply Last reply
                  0
                  • girishG girish

                    @tymscar Seems like there is couple of reports upstream like this - https://github.com/mastodon/mastodon/issues/9953 and https://github.com/mastodon/mastodon/issues/16950 but they both mention maybe the database got corrupt. I wonder if the shortage of disk space made things corrupt since we started noticing it.

                    I would also check if Services -> PostgreSQL has enough memory moving forward.

                    tymscarT Offline
                    tymscarT Offline
                    tymscar
                    wrote on last edited by
                    #9

                    @girish One thing I noticed actually is that theres another 2 backups I cant go back to. All same error. The only one that I can is from 2 days ago. All have the same problem. And I am 100% sure I used it AFTER those

                    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